Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* benchmark/cljs/benchmark_runner.cljs: benchmark perf of hashing str…

…ings
  • Loading branch information...
commit e479ddf264bb43d8cd1cdfa2013fc3f582b98fc7 1 parent 078a9a5
David Nolen authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  benchmark/cljs/benchmark_runner.cljs
View
1  benchmark/cljs/benchmark_runner.cljs
@@ -85,6 +85,7 @@
[:i 8] [:j 9] [:k 10] [:l 11] [:m 12] [:n 13] [:o 14] [:p 15]
[:q 16] [:r 17] [:s 18] [:t 19] [:u 20] [:v 21] [:w 22] [:x 23]
[:y 24] [:z 25] [:a0 26] [:b0 27] [:c0 28] [:d0 29] [:e0 30] [:f0 31]]))
+(simple-benchmark [key :f0] (hash key) 100000)
(simple-benchmark [coll pmap] (:f0 coll) 100000)
(simple-benchmark [coll pmap] (get coll :f0) 100000)
(simple-benchmark [coll pmap] (-lookup coll :f0 nil) 100000)
Please sign in to comment.
Something went wrong with that request. Please try again.