diff --git a/src/clj/com/rpl/specter/impl.clj b/src/clj/com/rpl/specter/impl.clj index f6c4e6c..5ca3064 100644 --- a/src/clj/com/rpl/specter/impl.clj +++ b/src/clj/com/rpl/specter/impl.clj @@ -4,6 +4,11 @@ [clojure.core.reducers :as r]) ) +(defn benchmark [iters afn] + (time + (dotimes [_ iters] + (afn)))) + (defprotocol CoerceStructureValsPath (coerce-path [this]))