Skip to content
Browse files

add multimethod benchmark

  • Loading branch information...
1 parent 7af0626 commit 7c49efcc17645e5eba546efa660b018fd754a20f @swannodette swannodette committed Jan 27, 2014
Showing with 5 additions and 1 deletion.
  1. +5 −1 benchmark/cljs/benchmark_runner.cljs
View
6 benchmark/cljs/benchmark_runner.cljs
@@ -298,4 +298,8 @@
(println "\n")
-
+(println ";; multimethods")
+(defmulti simple-multi identity)
+(defmethod simple-multi :foo [x] x)
+(simple-benchmark [] (simple-multi :foo) 100000)
+(println "\n")

0 comments on commit 7c49efc

Please sign in to comment.
Something went wrong with that request. Please try again.