Permalink
Browse files

* script/test: add identity benchmark

  • Loading branch information...
David Nolen David Nolen
David Nolen authored and David Nolen committed May 29, 2012
1 parent 8fb130b commit 5d0e07340cbb5825685681feef95a7c0f0efb82a
Showing with 2 additions and 0 deletions.
  1. +2 −0 benchmark/cljs/benchmark_runner.cljs
@@ -6,6 +6,8 @@
(set! *print-fn* js/print)
+(simple-benchmark [x 1] (identity x) 1000000)
+
(println ";; array-reduce & ci-reduce")
(def arr (let [arr (array)]
(dotimes [i 1000000]

0 comments on commit 5d0e073

Please sign in to comment.