Skip to content

Commit

Permalink
added criterium example to user ns
Browse files Browse the repository at this point in the history
  • Loading branch information
lsolbach committed May 30, 2024
1 parent 2981c2c commit 6f154c7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dev/user.clj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
(portal/close)
(portal/docs))

;;;
;;; Criterium
;;;
(comment
(require '[criterium.core :as criterium])
(criterium/bench (Thread/sleep 1000))
(criterium/quick-bench (Thread/sleep 1000))
)

;;;
;;; Expound spec tool
;;;
Expand All @@ -40,4 +49,3 @@
(decompile (fn [] (println "Hello, World!")))
(disassemble (fn [] (println "Hello, World!")))
)

0 comments on commit 6f154c7

Please sign in to comment.