Re: [ClojureScript] Re: Very slow Clojurescript build

2015-10-19 Thread Juan Patten
Hey David - that worked. Thanks very much!

Thanks also for all you do for the CLJS world :)

-- J.R.

On October 19, 2015 at 4:16:14 PM, David Nolen (dnolen.li...@gmail.com) wrote:

There's a known bug with topological sorting. Use :recompile-dependents false 
in your compiler config to disable the source of the issue. There's already a 
patch that fixes this issue it just needs more testing.

David

On Mon, Oct 19, 2015 at 6:13 PM, Juan Patten  wrote:
Hi Harri - did you ever get this figured out? I'm seeing a similar issue.

-- J.R.

On Tuesday, April 21, 2015 at 9:17:46 AM UTC-6, Harri Ohra-aho wrote:
> Hi,
>
> Our project's build has recently got extremely slow if started from a clean 
> state. The build time currently is close to two hours.
>
> The build always seems to hang here:
> Analyzing 
> jar:file:/Users/ohra/.m2/repository/reagent/reagent/0.5.0/reagent0.5.0.jar!/reagent/debug.cljs
> Compiling resources/public/trex/js/out/reagent/debug.cljs
>
> If I take a thread dump at this point these lines always appear:
> ...
> at cljs.util$topo_sort.invoke(util.clj:146)
> at cljs.analyzer$ns_dependents.invoke(analyzer.clj:563)
>
> If the build is killed at this point and started again it completes normally 
> in a minute or so. I tried leaving out cljsbuild but the build also hangs 
> then.
>
> It's probably worth noting that reagent/debug.cljs is a totally empty 
> namespace. Is there something strange happening with the dependency analysis 
> or what might be the problem?
>
> Harri

--
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
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 a topic in the Google 
Groups "ClojureScript" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/clojurescript/odrJlVsYJ14/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] Re: Very slow Clojurescript build

2015-10-19 Thread David Nolen
There's a known bug with topological sorting. Use :recompile-dependents
false in your compiler config to disable the source of the issue. There's
already a patch that fixes this issue it just needs more testing.

David

On Mon, Oct 19, 2015 at 6:13 PM, Juan Patten  wrote:

> Hi Harri - did you ever get this figured out? I'm seeing a similar issue.
>
> -- J.R.
>
> On Tuesday, April 21, 2015 at 9:17:46 AM UTC-6, Harri Ohra-aho wrote:
> > Hi,
> >
> > Our project's build has recently got extremely slow if started from a
> clean state. The build time currently is close to two hours.
> >
> > The build always seems to hang here:
> > Analyzing
> jar:file:/Users/ohra/.m2/repository/reagent/reagent/0.5.0/reagent0.5.0.jar!/reagent/debug.cljs
> > Compiling resources/public/trex/js/out/reagent/debug.cljs
> >
> > If I take a thread dump at this point these lines always appear:
> > ...
> > at cljs.util$topo_sort.invoke(util.clj:146)
> > at cljs.analyzer$ns_dependents.invoke(analyzer.clj:563)
> >
> > If the build is killed at this point and started again it completes
> normally in a minute or so. I tried leaving out cljsbuild but the build
> also hangs then.
> >
> > It's probably worth noting that reagent/debug.cljs is a totally empty
> namespace. Is there something strange happening with the dependency
> analysis or what might be the problem?
> >
> > Harri
>
> --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> 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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.