@odyssomay, @Luc thanks very much. That explains the problems I was having
@Peter, timbre looks very interesting. Thanks for posting it
On Monday, 6 August 2012 10:08:19 UTC+1, Peter Taoussanis wrote:
>
> I cannibalized most of the old contrib profiling stuff for Timbre, btw:
> https://github
I cannibalized most of the old contrib profiling stuff for Timbre,
btw: https://github.com/ptaoussanis/timbre#profiling
- Peter Taoussanis (@ptaoussanis)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@g
You are running clojure 1.3 or greater with the pre-1.3 contrib.
Since 1.3, contrib has been split in separate libs, you can find where the
different parts have moved here;
http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
The profiling stuff did not make it it seems. A java pro
clojure.contrib is not supported in clojure versions 1.3+
The reason in this case is that in 1.3+, it is necessary to add ^:dynamic
or ^{:dynamic true} in the def form (i.e. to the metadata)
for the var to be dynamically changed with bindings.
Fixed clojure.contrib.profile:
https://gist.github.com
Hi All
I'm trying to run the clojure contrib profiler and I'm getting an error.
Has anyone faced the same problem?
user=> (use 'clojure.contrib.profile)
nil
user=> (defn my-function [x y]
(let [sum (prof :addition (+ x y))
product (prof :multiplication (* x