Hello all,
we're pleased to announce boot-criterium
<https://github.com/tulos/boot-criterium> - a simple way to benchmark code
using Criterium.
The only prerequisites are JVM and Boot <https://github.com/boot-clj/boot/>,
the glorious build tool.
You can even call it from the command line!
boot -d tulos/boot-criterium \
> bench -l "1.6" -g "'(reduce + (range 1000))" -Q -d org.clojure/
clojure:1.6.0 -- \
> bench -l "1.7" -g "'(reduce + (range 1000))" -Q -d org.clojure/
clojure:1.7.0 -- \
> bench -l "1.8" -g "'(reduce + (range 1000))" -Q -d org.clojure/
clojure:1.8.0 -- \
> report -f table -O
| :benchmark/goal | :mean | :variance | :upper-q | :lower-q | :
evaluation-count | :outlier-effect |
|-----------------+------------+-------------+------------+------------+-------------------+-----------------|
| 1.6 | 38.2482 µs | 4.2256 µs | 42.7620 µs | 31.0620 µs |
18966 | :moderate |
| 1.7 | 10.6118 µs | 1.3260 µs | 11.9993 µs | 9.2158 µs |
67692 | :moderate |
| 1.8 | 9.0259 µs | 525.3190 ns | 9.6581 µs | 8.3780 µs |
64428 | :moderate |
Have fun!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.