I hadn't tried lein clean, thanks Eduard.
just tried ...
lein cljsbuild clean
lein clean
lein cljsbuild once
but still no improvement.
The advanced build time seems to be going too fast....
Compiling ClojureScript.
Compiling "resources/public/js/main-dev.js" from ["src/cljs"]...
Successfully compiled "resources/public/js/main-dev.js" in 6.652 seconds.
Compiling "resources/public/js/main-prod.js" from ["src/cljs"]...
Successfully compiled "resources/public/js/main-prod.js" in 9.232 seconds.
the config looks like this....
(defproject boids "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2173"]]
:plugins [[lein-cljsbuild "1.0.2"]]
:cljsbuild {:builds [{:source-paths ["src/cljs"]
:compiler {:optimizations :none
:output-to "resources/public/js/main-dev.js"
:output-dir "resources/public/js"}}
{:source-paths ["src/cljs"]
:compiler {:optimizations :advanced
:pretty-print false
:externs
["resources/public/lib/jquery-externs.js"]
:output-to
"resources/public/js/main-prod.js"}}]})
On Tuesday, March 25, 2014 9:06:55 AM UTC-7, Eduard Bondarenko wrote:
> Did you try 'lein cljsbuild clean' and 'lein clean'?
>
> Best regards,
>
> Eduard
>
>
>
>
>
> On Tue, Mar 25, 2014 at 5:53 PM, boz jennings wrote:
>
> > Any ideas why :optimizations :advanced could end up no faster than
> > :optimizations :none ?
>
> >
>
> > This came up in the (very nice) clojurescript training. We all went through
> > building up the boids example app. Then we all configured lein to build a
> > :optimizations :advanced version. Everyone else had very noticeable speed
> > boost from this. But I did not. I've since tried it a number of times and
> > even cleaned out my chrome install but so far see no improvements. I know
> > this is a very vague question, but it'd be great to know if anyone else has
> > seen this.
>
> >
>
> > I'm on a MBP with Marvericks. Plenty of ram. ... Generally a pretty darn
> > fast laptop.
>
> >
>
> > Thanks in advance!
>
> > ,chris
>
> >
>
> > --
>
> > 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.
--
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.