Benchmarking Clojure Application
This is a snippet for benchmarking clojure application which I have used quite often in clojure applications at my job. First an introduction to the tools: clj-asyc-profiler: for flamegraphs and call graph. criterion: for statistically correct benchmarking. tufte: application level profiling. from this we can keep both #1 and #2 in separate profile just for benchmarking and #3 must be included in the :default profile, otherwise it would defeat its purpose....