Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. (require '[net.cgrand.xforms :as x])
  2.  
  3. (defn using-xforms [chunks]
  4. (into {}
  5. (comp (halt-when error?)
  6. cat
  7. (x/by-key :a x/count))
  8. chunks))
  9.  
  10. (criterium/quick-bench (using-xforms chunks))
  11. "
  12. Evaluation count : 1578 in 6 samples of 263 calls.
  13. Execution time mean : 409.277676 µs
  14. Execution time std-deviation : 42.914476 µs
  15. Execution time lower quantile : 387.744354 µs ( 2.5%)
  16. Execution time upper quantile : 482.870979 µs (97.5%)
  17. Overhead used : 1.481300 ns
  18.  
  19. Found 1 outliers in 6 samples (16.6667 %)
  20. low-severe 1 (16.6667 %)
  21. Variance from outliers : 30.7015 % Variance is moderately inflated by outliers
  22. "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement