11 ms·
Towards the end, the article says it takes 7s for linking using mold.
by lsuresh 1y ago
Towards the end, the article says it takes 7s for linking using mold.
- dietr1ch 1y agoYeah, I read that part too late. In that case it seems that there's indeed a lot of overhead when building many crates from a cold-start, but it pays off in wall time and can probably save resources in incremental builds.
- lsuresh 1y agoYes. We found both cold and incremental builds sped up. The incremental builds were the main win -- small changes to the SQL can sometimes complete in seconds for what used to be a full recompilation.
- rc00 1y agoRewrite it in Zig? You might even be able to sidestep the LLVM bottleneck entirely. https://news.ycombinator.com/item?id=43016944 https://news.ycombinator.com/item?id=43016944