Clojurians
#cljs-dev
<
2015-11-15
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

mfikes19:11:40

Trying David’s recent :parallel-build patch, I’m seeing that things only scale up linearly to around 4, and then it is difficult to get more than 7x out of it. See chart in README.md of https://github.com/mfikes/fifth-postulate

dnolen20:11:27

@mfikes: might need to use a profile to see what’s going on

dnolen20:11:35

VisualVM or YourKit

mfikes20:11:32

@dnolen: yep. About to unleash YourKit on it.

mfikes21:11:14

@dnolen: (For fifth-postulate project, at least), YourKit appears to point to compile task agents blocking each other on simple stuff that may not have mattered before. If I’m reading it correctly, Java monitor contention related to getting meta of a var during macro expansion. https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/analyzer.cljc#L2331

mfikes21:11:32

(I may try some experiments over the next few days to see if those are true points of contention.)