Memory consumption and compile time - Regression from 0.14.2 to 0.15.0
Author: ToppDevCreated Jul 5, 2026Updated Sep 17, 2026
Labelsperfregression
Description
Helllo,
I am experiencing major performance regressions after updating from 0.14.2 (b33de9de) to 0.15.0 (3ae52774).
When running a typst compile command for a 300 pages document I get the following:
Memory usage
- v0.14.2 used a maximum of 32GB
- v0.15.0 uses a maximum of 41GB
Compilation time
- v0.14.2 compiles my document in 1 minute 17 seconds
- v0.15.0 compiles my document in 14 minutes
One thing to mention is, that 0.15.0 finishes without any output, while 0.14.2 gives me a warning
warning: layout did not converge within 5 attempts
= hint: check if any states or queries are updating themselves
I think the warning comes from my glossary which has items referencing other items in the glossary.
I created timings files with the --timings option. But they are 13.8GB for v0.14.2 and 15GB for v0.15.0. So if you want me to share them with you I can upload them somewhere.
Please let me know if I can provide any other inputs.
Operating system
Linux
Typst version
- I am using the latest version of Typst
Source: typst/typst