diff --git a/project.clj b/project.clj index 4ffeed72..00686d16 100644 --- a/project.clj +++ b/project.clj @@ -18,7 +18,8 @@ [org.clojure/tools.cli "0.4.2"] [org.clojure/data.csv "0.1.4"] [cheshire "5.9.0"]] - :profiles {:test {:dependencies [[clj-commons/conch "0.9.2"]]} + :profiles {:test {:dependencies [[clj-commons/conch "0.9.2"] + [com.clojure-goes-fast/clj-async-profiler "0.4.0"]]} :uberjar {:global-vars {*assert* false} :jvm-opts ["-Dclojure.compiler.direct-linking=true" "-Dclojure.spec.skip-macros=true"] diff --git a/sci b/sci index 873645b1..33bc0b0a 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit 873645b1af5fb6db0aa9092ce6df49ad039d6e13 +Subproject commit 33bc0b0a14d3f9d95ad9ecf9f1b29e95527153a3 diff --git a/test/babashka/profile.clj b/test/babashka/profile.clj index 6f338e5f..2bb90052 100644 --- a/test/babashka/profile.clj +++ b/test/babashka/profile.clj @@ -5,8 +5,8 @@ ;; clojure -A:profile -e "(prn (loop [val 0 cnt 1000000] (if (pos? cnt) (recur (inc val) (dec cnt)) val)))" -#_(require '[clj-async-profiler.core :as prof]) +(require '[clj-async-profiler.core :as prof]) (defn -main [& options] - #_(prof/profile (apply main/main options)) + (prof/profile (apply main/main options)) (shutdown-agents))