Skip to content

Commit

Permalink
* script/test: add identity benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
David Nolen authored and David Nolen committed May 29, 2012
1 parent 8fb130b commit 5d0e073
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions benchmark/cljs/benchmark_runner.cljs
Expand Up @@ -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]
Expand Down

0 comments on commit 5d0e073

Please sign in to comment.