Skip to content

Instantly share code, notes, and snippets.

@jamii
Last active December 21, 2015 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamii/6341985 to your computer and use it in GitHub Desktop.
Save jamii/6341985 to your computer and use it in GitHub Desktop.
(with-progress-reporting (let [x fail] (bench (if (identical? fail x) true false))))
Execution time mean : 11.396517 ns
Execution time std-deviation : 4.962621 ns
Execution time lower quantile : 8.319825 ns ( 2.5%)
Execution time upper quantile : 28.045667 ns (97.5%)
Overhead used : 26.202637 ns
(with-progress-reporting (bench (let [x fail] (if (identical? fail x) true false))))
Execution time mean : 0.139190 ns
Execution time std-deviation : 1.139114 ns
Execution time lower quantile : -0.890412 ns ( 2.5%)
Execution time upper quantile : 2.047621 ns (97.5%)
Overhead used : 26.202637 ns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment