Hacker News new | ask | show | jobs
by bzbarsky 2350 days ago
Having compiled both: it's not. On the same hardware, Firefox takes ~4x less time to compile than Chromium for me...
1 comments

Which platform were you compiling on, and when? It's been some years now, but Chromium used to build with MSVC on Windows.
I worked on both, it's no comparison. Firefox builds in about 40min on my macbook pro, Chromium takes like 4 hours?
I can't even get Chromium to build on my MacBook Pro, so there's that. (15-inch, 2018, 16GB RAM)

What magic are you using to be able to build Chromium?

Limiting the threads as somebody elses said. For chromium no one really builds it on a laptop, everyone in my team used a build server or a 32 core monster desktop.
AFAIK you'd need to limit the compiler threads, and hopefully the linker doesn't run out of memory. 16GiB of memory is really not enough.
Sometime in the last 6 months, on Mac and Linux both.