Skip to content

Commit 5090e8e

Browse files
author
Vadim Platonov
committed
project: async-profiler profile and dependency
To run with the profiler loaded: ``` lein with-profile async-profiler repl ``` then in the REPL: ``` (require '[clj-async-profiler.core :as prof]) (prof/profile (require 'java-time)) (prof/serve-files 8080) ```
1 parent 6988fc0 commit 5090e8e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

project.clj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:scm {:name "git"
77
:url "http://github.com/dm3/clojure.java-time"}
88
:dependencies [[clj-tuple "0.2.2"]]
9-
:profiles {:dev {:dependencies [[org.clojure/clojure "1.8.0"]
9+
:profiles {:dev {:dependencies [[org.clojure/clojure "1.10.0"]
1010
[criterium "0.4.4"]
1111
[com.taoensso/timbre "4.1.4"]
1212
[org.clojure/tools.namespace "0.2.11"]
@@ -17,6 +17,9 @@
1717
:doc-files ["README.md" "CHANGELOG.md"]}
1818
:source-paths ["dev"]
1919
:global-vars {*warn-on-reflection* true}}
20+
:async-profiler
21+
{:jvm-opts ["-Djdk.attach.allowAttachSelf" "-XX:+UnlockDiagnosticVMOptions" "-XX:+DebugNonSafepoints"]
22+
:dependencies [[com.clojure-goes-fast/clj-async-profiler "0.3.1"]]}
2023
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}
2124
:1.8-three-ten-joda {:dependencies [[org.clojure/clojure "1.8.0"]
2225
[org.threeten/threeten-extra "1.4"]

0 commit comments

Comments
 (0)