On Friday, April 10, 2015 at 6:08:55 PM UTC+1, Shaun Mahood wrote:
> Wow, that's crazy. On my main machine I get 
> Successfully compiled "resources/public/js/app.js" in 5.545 seconds.
> on recompilation.
> 
> Same project, making the same change to core.cljs, recompilation using "lein 
> figwheel" I get 
> Successfully compiled "resources/public/js/app.js" in 0.14 seconds.
> 
> Running Windows 10 Preview, processor is i7-4790K @ 4.00GHz, 32.0 GB RAM and 
> an SSD. I can try the same thing on a couple older machines as well if you 
> want.
> 
> 
> On Friday, April 10, 2015 at 9:38:47 AM UTC-6, Conan Cook wrote:
> > Just do:
> > 
> > lein new chestnut speed-test
> > cd speed-test
> > lein repl
> > (run)
> > 
> > That's enough to show it up for me; a change in core.cljs should trigger a 
> > recompilation.  
> > 
> > For me on a windows filesystem I get:
> > 
> > Successfully compiled "resources/public/js/app.js" in 23.226 seconds.
> > 
> > On a linux filesystem I get:
> > 
> > Successfully compiled "resources/public/js/app.js" in 0.174 seconds.
> > 
> > That's a pretty hefty difference, whatever your machine it should be 
> > obvious.
> > 
> > On Friday, 10 April 2015 15:27:13 UTC+1, Shaun Mahood  wrote:
> > > Conan, if you have a repo I can try it on a few windows machines to 
> > > compare. 
> > > 
> > > I did find that chestnut was really slow to refresh changes and ended up 
> > > switching to use figwheel instead, it is essentially instant refresh now 
> > > when I save a file. 
> > > 
> > > On Friday, April 10, 2015 at 5:19:58 AM UTC-6, Conan Cook wrote:
> > > > I've switched from OSX to Windows and a Ubuntu VM, and am experiencing 
> > > > extremely slow cljs compilation.  I've got a few chestnut projects, and 
> > > > have tried the chestnut tutorial as well, all with the same results.  
> > > > 
> > > > I opened an issue over at Chestnut: 
> > > > https://github.com/plexus/chestnut/issues/114
> > > > 
> > > > The problem is that if I'm compiling files on a Windows filesystem, 
> > > > it's very slow, whether I'm running leiningen from inside Windows or 
> > > > inside Linux.  If the files are on the Linux VM filesystem and I'm 
> > > > running leiningen in Linux, it's nice and snappy.  
> > > > 
> > > > Has anyone else had luck compiling cljs on Windows?

I just realised you're running lein figwheel and not chestnut's (run).  i get 
good performance from that.  thanks!  i'll see whether i can get reloading 
working that way.

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