Hi Jussi, > I was wondering what sort of performance should I expect with Clojurescript > compile. I get 3-20 seconds per file on two different machines.
yes, I have similar results > When I just change the root cljs file, do you mean the core.cljs file? > cljsbuild recompiles three other files (advanced.js, useless.js and > simple.js). did you issue the `$ lein cljsbuild auto whitespace` tasks instead of `$ lein compile`? That said, take into account that, if I remember well, there is an open issue on cljsbuild regarding the recompilation of builds non directly interested by a test launched by the lein cljsbuild test name-of-the-test. > I have Macbook with Maverick, Lein 2.3.4 on Java 1.6.0_65 and Ubuntu 13.04 > with OpenJDK-7, same Lein version. Both should have plenty of resources. yes I know. I personally adopted the following workflow during the early development. 1. comment out all the builds but whitespace 2. comment out all the tests but phantoms-ws 3. lein cljsbuild auto whitespace 4. lein cljsbuild test phantomjs-ws Then, when I reach something stable I uncomment the other builds and tests. one trick is to use `#_` to quickly comment an entire expression. > > From all the cljs templates yours seem most featureful and easiest to start > with, so I'd very much like to see it perform better. Probably when cljsbuild will have an `auto` subtask for the `test` task the response time of a recompilation will be much shorter, because only one build and one test will be recompiled. Sorry about that, but I do not have a better answer. Mimmo
signature.asc
Description: Message signed with OpenPGP using GPGMail