tiistai, 17. joulukuuta 2013 2.32.06 UTC+2 Magomimmo kirjoitti:
> 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? 

Yes. Don't know where I got the root idea... 

> 
> 
> 
> > 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`? 
>

Well, I tried different versions, with and without whitespace and "do clean". I 
don't think there was much of a speed difference.
 
> 
> 
> 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. 
>

Ok. Thank you. I'll see what I get going with these.


Jussi
 
> 
> 
> > 
> 
> > 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

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to