Skip to content

Instantly share code, notes, and snippets.

@aphyr
Created March 5, 2014 23:31
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 aphyr/9378992 to your computer and use it in GitHub Desktop.
Save aphyr/9378992 to your computer and use it in GitHub Desktop.
user=> (quick-bench (ip blob))
WARNING: Final GC required 9.686975846642287 % of runtime
Evaluation count : 12 in 6 samples of 2 calls.
Execution time mean : 92.387893 ms
Execution time std-deviation : 1.672124 ms
Execution time lower quantile : 90.990285 ms ( 2.5%)
Execution time upper quantile : 95.129590 ms (97.5%)
Overhead used : 137.074621 ns
Found 1 outliers in 6 samples (16.6667 %)
low-severe 1 (16.6667 %)
Variance from outliers : 13.8889 % Variance is moderately inflated by outliers
nil
user=> (quick-bench (tree->sexpr (parse json blob "jsonText")))
WARNING: Final GC required 16.50669043875449 % of runtime
Evaluation count : 474 in 6 samples of 79 calls.
Execution time mean : 1.307211 ms
Execution time std-deviation : 27.289620 µs
Execution time lower quantile : 1.271104 ms ( 2.5%)
Execution time upper quantile : 1.331664 ms (97.5%)
Overhead used : 137.074621 ns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment