4 ms·
> much of the most expensive stuff in the process isn’t parallelised Are you sure? Markdown and template rendering of all pages/sections and image processing i
by Keats 5y ago
> much of the most expensive stuff in the process isn’t parallelised
Are you sure? Markdown and template rendering of all pages/sections and image processing is done in parallel. I expect those to be the most expensive stuff. The things that are currently done sequentially are taxonomies (an oversight, the pages in them are rendered in parallel) and the search index generation (oversight as well).
- chrismorgan 5y agoNo, I’m not sure; I apologise for being wrong (since you know what you’re doing). I just went searching for signs of threading and rayon and thought I was only finding it on the earlier parts of the process and image stuff. But I wonder why repeated runs of `zola build --drafts` on my site with no images for it to process average less than 25% of total CPU usage? I would have thought >170ms was long enough for it to hit its stride inside each process.