-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow build #2508
Comments
From a very quick look, 90+% of the time is spent in |
I'm experimenting with a few things. Just recording a log here to see what could make a difference. My first suspect is Tabi's translation system, which involves a function call to a macro_translate function. I
but this doesn't have a significant impact on build time. |
Okay, it seems to be in Tabi's |
I'm trying to understand why
The bit that seems to trigger the slowdown is this:
I don't understand why this is slow, but I'm going to try reading |
I'm |
Try to change it to:
|
Oh wow, that sped it to up drastically, it renders in less than a second now. Thank you! I'm going to suggest this modification to Tabi. |
As discussed here, I have a build that is rather slow and @Keats said somethign is likely wrong:
https://zola.discourse.group/t/incremental-rebuilds/2144/3
The repository is here:
https://github.com/faassen/secretweblog_zola
I'm building it with zola 0.18 compiled from source (from the tag) on Fedora Linux 39.
It takes about 7 to 8 seconds to build, for 233 pages. It uses the tabi theme.
Flamegraph
I've tried building with a flamegraph. It took me a while before I figured out that I should remove
strip = true
from Cargo.toml and not adddebug = true
(as constructing the flamegraph takes a very long time; I didn't wait for it to complete).Here is the flamegraph:
Hopefully it's helpful in debugging this.
The text was updated successfully, but these errors were encountered: