Re: How to measure pieces of Clojure code?

2012-08-11 Thread nicolas.o...@gmail.com
Visualvm is quite nice and simple to use.
On 10 Aug 2012 23:21, Hussein B. hubaghd...@gmail.com wrote:

 Hi,
 I want to measure how much space an algorithm is taking and then trying to
 change some aspects to see how things are going to differ.
 I also want to measure how much time it takes to complete an operation.

 What tools can I use?

 Thanks.

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: How to measure pieces of Clojure code?

2012-08-10 Thread ronen
Hmm if by space you mean memory then I think that only a profiler can help 
with that, regarding time using https://github.com/hugoduncan/criterium for 
benchmarking is the path I would take

Ronen

On Saturday, August 11, 2012 1:21:05 AM UTC+3, Hussein B. wrote:

 Hi,
 I want to measure how much space an algorithm is taking and then trying to 
 change some aspects to see how things are going to differ.
 I also want to measure how much time it takes to complete an operation.

 What tools can I use?

 Thanks.


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en