Created
March 26, 2017 00:38
-
-
Save chpill/2b253352a067116aecb78b54ee6c262a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(original chunks) | |
=> {0 3330, 1 3330, 2 3330} ;; as expected! | |
;; Note that the standard deviation is huge here | |
(criterium/quick-bench (original chunks)) | |
" | |
Evaluation count : 294 in 6 samples of 49 calls. | |
Execution time mean : 10.778696 ms | |
Execution time std-deviation : 8.818884 ms | |
Execution time lower quantile : 1.680341 ms ( 2.5%) | |
Execution time upper quantile : 22.618172 ms (97.5%) | |
Overhead used : 61.555210 ns | |
" | |
;; Let's do a more thorough bench | |
(criterium/bench (original chunks)) | |
" | |
Evaluation count : 46800 in 60 samples of 780 calls. | |
Execution time mean : 1.314476 ms | |
Execution time std-deviation : 34.540276 µs | |
Execution time lower quantile : 1.275610 ms ( 2.5%) | |
Execution time upper quantile : 1.405845 ms (97.5%) | |
Overhead used : 1.976022 ns | |
Found 3 outliers in 60 samples (5.0000 %) | |
low-severe 1 (1.6667 %) | |
low-mild 2 (3.3333 %) | |
Variance from outliers : 14.1514 % Variance is moderately inflated by outliers | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment