mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01:11 +00:00
Perf & analyze profiles
This commit is contained in:
parent
a2b04f0677
commit
03e27a2889
1 changed files with 9 additions and 3 deletions
12
project.clj
12
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"]]
|
||||
|
|
|
|||
Loading…
Reference in a new issue