We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96ac50 commit 08d8ca6Copy full SHA for 08d8ca6
benchmark/cljs/benchmark_runner.cljs
@@ -312,17 +312,9 @@
312
(println ";; reducers")
313
(simple-benchmark [xs (into [] (range 1000000))] (r/reduce + (r/map inc (r/map inc (r/map inc xs)))) 1)
314
315
-(dotimes [_ 10]
316
- (let [xs (into [] (range 1000000))]
317
- (time (r/reduce + (r/map inc (r/map inc (r/map inc xs)))))))
318
-
319
(println ";; transducers")
320
(simple-benchmark [xs (into [] (range 1000000))] (transduce (comp (map inc) (map inc) (map inc)) + 0 xs) 1)
321
322
323
324
- (time (transduce (comp (map inc) (map inc) (map inc)) + 0 xs))))
325
326
(println "\n")
327
328
(println ";; multimethods")
0 commit comments