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

+2 votes
in Clojure CLI by

I’m hitting a performance bottleneck when AOT-compiling my large project with clojure.tools.build.tasks.compile-clj/compile-clj. I narrowed the problem down to clojure.tools.build.util.file/copy-contents, it spends about 5 minutes copying my roughly 35k class files from working directory to target/classes.

We don't really need this indirection as we clean our target folder each time we start the process, we would be fine with compiling directly to target. Could that be introduced as an option?

1 Answer

0 votes
by
...