Could you add support for stdev as well, or better yet a helper macro
to return a vector of run times?

I don't want Zed to find out...

Read at your own risk:
http://www.zedshaw.com/essays/programmer_stats.html

Sean

On Dec 13, 11:48 pm, Shawn Hoover <shawn.hoo...@gmail.com> wrote:
> I see usages of the time macro that wrap the expression of interest in a
> call to dotimes. Is there any interest in an overload of time that takes an
> additional parameter for a number of iterations, evaluates the expression
> that many times, and prints the average time in the report?
>
> Usage:
> user> (time 10 (* 21 2))
> "Elapsed time: 0.201 msecs, Average: 0.0201 msecs"
> 42
> user>
>
> Shawn

-- 
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

Reply via email to