How to make Firefox builds 17% faster

blog.farre.se

144 points by mbitsnbites 9 hours ago


mmastrac - 5 hours ago

Can you (err... buildcache) cache Rust proc-macros? I've been battling this with sccache and I'm now maintaining a 10-patch deep stack for the next.js build CI.

Windows builds were ridiculously poor on cache hits rates too because of non-determinism that was not able to figure out.

I'd be happy to test it out.

evmar - 3 hours ago

I’m not too familiar with Firefox builds. Why are clobber builds common? At first glance it seems weird to add a cache around your build system vs fixing your build system.

allenrb - 5 hours ago

I guess “purge 17% of the code” is not the correct answer?

K0IN - 7 hours ago

wow, 17% is impressive with such an easy fix. i wonder if we could just build this as a separate project and pull the webidl files as a dependency.

Devorlon - 7 hours ago

Why compile code when ccache faster

shevy-java - 6 hours ago

So ... perhaps Mozilla should focus on user share dropping.

I understand that speed is relevant, but focusing on that strategy does not really work when dinosaur-like extinction is around the corner.