@aaron51 shameless plug: Kaocha does this https://github.com/lambdaisland/kaocha
clj -A:test --plugin :kaocha.plugin/profiling --profiling-count 10