Re: [pollen] parallel rendering fixes

2019-06-27 Thread Matthew Butterick
BTW, it's wise to do `raco pollen setup` (which is parallel by default) before `raco pollen render -p`. > On 06 27 19, at 7:32 PM, Shrutarshi Basu wrote: > > Hmm interesting, I reset the cache using `raco pollen reset` and then run > `raco pollen render -p` as well as `make -B -j 4` (the -B

Re: [pollen] parallel rendering fixes

2019-06-27 Thread Shrutarshi Basu
Hmm interesting, I reset the cache using `raco pollen reset` and then run `raco pollen render -p` as well as `make -B -j 4` (the -B option forces rebuild of all targets). Here's what I get: raco pollen render -p 10.68s user 2.16s system 223% cpu 5.751 total make -B -j 4 20.19s user 4.55s

Re: [pollen] parallel rendering fixes

2019-06-27 Thread Matthew Butterick
I just use `raco pollen render -p` rather than plain `raco pollen render` in my Makefile, for the top directory in the project. I'd guess this is more efficient than `make -j x` because all the files are inventoried and then doled out to each processor as fast as they can be rendered. But try