Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

This is similar to CLJS-2065 and further improves the performance by avoiding {{reduce}} and using a key iterator instead.

Results for a large CLJS project with lots of namespaces are:

  • Initial compile (cold) Old: 11.4s New: 11.2s
  • First full recompile: Old: 6.8s New: 5.9s
  • After a few full recompiler (warmed up JVM): Old: ~6.1s New: 5.1s

{{lein count}}:

| Ext | Files | Lines of Code | Nodes |
| cljs | 138 | 23388 | 424745 |

4 Answers

0 votes

Comment made by: dnolen

No difference for compiling ClojureScript tests, I will give a try with something else.

0 votes

Comment made by: aralo

Kind of related: CLJS-2461
Better approach would be to re-implement this idea: https://github.com/clojure/clojurescript/commit/1c71ab3bff27dc4a099b06e122ec3fdf5a2a8ba8

Close this issue?

0 votes

Comment made by: mfikes

FWIW, patch no longer applies.

0 votes
Reference: https://clojure.atlassian.net/browse/CLJS-2424 (reported by aralo)
Welcome to Clojure Q&A, where you can ask questions and receive answers from members of the Clojure community.