ClojureScript compilation time for a specific :sha
of the Coal Mine corpus (newest at top):
Version | Regular Build | Parallel Build | Java |
---|---|---|---|
1.10.516 | 1814 s | 402 s | 1.8.0_192 |
1.10.439 | 1731 s | 380 s | 1.8.0_192 |
1.10.339 | 3974 s | 812 s | 1.8.0_162 |
1.10.329 | 3852 s | 759 s | 1.8.0_162 |
1.10.312 | 4119 s | 754 s | 1.8.0_162 |
1.10.238 | 4027 s | 748 s | 1.8.0_162 |
To run a shorter test, instead compile coal-mine/test-runner-1
.
clj -J-Xmx16g -Srepro -Sdeps '{:deps {org.clojure/clojurescript {:git/url "https://github.com/clojure/clojurescript" :sha "98e2dbb89da75a4439f50d94d6a1c8f8ac62ba13"} github-mfikes/coal-mine {:git/url "https://github.com/mfikes/coal-mine" :sha "1e8b057c2fa4aa8d07c1142e7be245331fdbfd9b"}}}' -m cljs.main -co '{:parallel-build false :compiler-stats true}' -d `mktemp -d` -c coal-mine/test-runner
clj -J-Xmx64g -Srepro -Sdeps '{:deps {org.clojure/clojurescript {:git/url "https://github.com/clojure/clojurescript" :sha "98e2dbb89da75a4439f50d94d6a1c8f8ac62ba13"} github-mfikes/coal-mine {:git/url "https://github.com/mfikes/coal-mine" :sha "1e8b057c2fa4aa8d07c1142e7be245331fdbfd9b"}}}' -m cljs.main -co '{:parallel-build true :compiler-stats true}' -d `mktemp -d` -c coal-mine/test-runner
$ java -version
java version "1.8.0_192"
Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)
Dual hexa-core Mid-2012 Mac Pro, 128 GB