logoalt Hacker News

How to make Firefox builds 17% faster

192 pointsby mbitsnbitesyesterday at 6:50 PM35 commentsview on HN

Comments

mmastracyesterday at 10:55 PM

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.

show 1 reply
evmartoday at 1:01 AM

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.

show 2 replies
allenrbyesterday at 11:08 PM

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

show 1 reply
K0INyesterday at 9:29 PM

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.

show 1 reply
Devorlonyesterday at 8:40 PM

Why compile code when ccache faster

show 1 reply
shevy-javayesterday at 9:56 PM

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.

show 6 replies