How to make Firefox builds 17% faster
11–20 of 38 posts
Re: How to make Firefox builds 17% faster
#12Re: How to make Firefox builds 17% faster
#13Can 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.
There was an experimental PR that treats proc macros as idempotent with the corresponding colpike speed up. I don't know what happened with it, and stabilization required a lot of design work to not break backcompat. But this is something in the team's radar.
Re: How to make Firefox builds 17% faster
#14Can 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.
There was an experimental PR that treats proc macros as idempotent with the corresponding colpike speed up. I don't know what happened with it, and stabilization required a lot of design work to not break backcompat. But this is something in the team's radar.
Re: How to make Firefox builds 17% faster
#15So ... 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.
Re: How to make Firefox builds 17% faster
#16Can 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.
There was an experimental PR that treats proc macros as idempotent with the corresponding colpike speed up. I don't know what happened with it, and stabilization required a lot of design work to not break backcompat. But this is something in the team's radar.
Re: How to make Firefox builds 17% faster
#17Earlier quoted context omitted.
Does ccache fetch compiled code from a central server using checksums?
sccache can, but most of us don't have access to an sccache instance: https://github.com/mozilla/sccache
Re: How to make Firefox builds 17% faster
#18Re: How to make Firefox builds 17% faster
#19wow, 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.
Re: How to make Firefox builds 17% faster
#20I’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.