Hacker News new | ask | show | jobs
by dkarlovi 2177 days ago
What's the rough scale of "disgusting" here?
6 comments

One observation on LLVM

Building LLVM from source, I was told in another forum, took 26 minutes across 16 cores on a top-end machine (ie. several hours on one core). I guess I don't need to build LLVM(?)

https://old.reddit.com/r/ProgrammingLanguages/comments/hhxis...

Chromium will easily take 5 or 6 hours for a clean build on a good professional workstation (i7/i9/low end xeon, 32-64GB RAM, nvme ssd).
This guy did it in 53 minutes on a 16-core 3950x with a fast ssd: https://textslashplain.com/2020/02/02/my-new-chromium-build-...

Not fast by any means but big difference between 6 hours and 1.

How?!

I can build LLVM, Rust and Firefox in less time on my R7 1700.

How is Chromium so bloated??

Is guess because Google devs have Google infrastructure to accelerate & paralellize builds in a distributed manner. Build time ends up being a pretty low priority to improve when the primary contributors to the project don't have a problem with it.
It took my 4-core i4790K ~4 hours to compile tensorflow. Part of the build process builds LLVM...
Compilation speed comparable to template heavy C++, a large difference compared to Go for similarly sized projects
Chromium 5h+
Like with Scala. Over 5 minutes for normal executable sizes.