diff --git a/project.clj b/project.clj index 378b9e39..f72b710f 100644 --- a/project.clj +++ b/project.clj @@ -33,13 +33,19 @@ [org.clojure/test.check "0.9.0"] [org.clojure/tools.namespace "0.2.11"] [com.gfredericks/test.chuck "0.2.7"]]} - :perf {:jvm-opts ^:replace ["-server"] - :test-paths ["perf-test/clj"] + :perf {:jvm-opts ^:replace ["-server" + "-Xmx4096m" + "-Dclojure.compiler.direct-linking=true"] :test-paths ["perf-test/clj"] :dependencies [[metosin/compojure-api "2.0.0-alpha7"] [io.pedestal/pedestal.route "0.5.2"] [org.clojure/core.async "0.3.443"] [ataraxy "0.4.0"] - [bidi "2.0.9"]]}} + [bidi "2.0.9"]]} + :analyze {:jvm-opts ^:replace ["-server" + "-Dclojure.compiler.direct-linking=true" + "-XX:+PrintCompilation" + "-XX:+UnlockDiagnosticVMOptions" + "-XX:+PrintInlining"]}} :aliases {"all" ["with-profile" "dev"] "perf" ["with-profile" "default,dev,perf"] "test-clj" ["all" "do" ["test"] ["check"]]