added benchmark helper to impl
This commit is contained in:
parent
ca1940a026
commit
ea05b98280
1 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,11 @@
|
|||
[clojure.core.reducers :as r])
|
||||
)
|
||||
|
||||
(defn benchmark [iters afn]
|
||||
(time
|
||||
(dotimes [_ iters]
|
||||
(afn))))
|
||||
|
||||
(defprotocol CoerceStructureValsPath
|
||||
(coerce-path [this]))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue