Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

How to make Firefox builds 17% faster (https://blog.farre.se)

204 points by mbitsnbites 5 days ago | 37 comments | View on ycombinator

mmastrac 4 days 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 4 days 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 4 days ago |

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

K0IN 4 days 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 5 days ago |

Why compile code when ccache faster

butz 4 days ago |

Disable all AI integrations? Sorry, I'll see myself out.

shevy-java 4 days 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.