Hacker News new | ask | show | jobs
by KingOfCoders 744 days ago
I would love to quote a compiler comparison, but I don't know a good and accepted compiler benchmark. What would you use as a compiler benchmark? (Preferably Go, but I assume Rust would be better, as it is much slower, so the differences are bigger)

(corrected my c&p mistake with the mini, thanks)

3 comments

You can look at the Geekbench 6 component.

https://www.geekbench.com/doc/geekbench6-benchmark-internals... (page 18)

Thanks, Clang looks good, now I need to check how to sort CPUs/systems by the Clang benchmark, no success for now.

"Randomly" picking

    14900K     215.3 Klines/sec  
    7950x      230.3 Klines/sec  
    M2 Ultra   233.9 Klines/sec
    M3 Max     196.5 Klines/sec
Single thread:

M3 Max: 3898

7950x: 2951

The ST advantage of Apple Silicon is real. 7950x does do better in highly parallel tasks.

To me, Apple Silicon is clearly leading clients over AMD/Intel. Hence, my original reason for why AMD's announcement isn't "exciting". Because Apple Silicon is so far ahead in client.

Of course, AMD can crank up the core via Epyc/Threadripper and Apple has no answer. For that, you'd need to look into ARM chips from Ampere/Amazon for a competitor.

Yes, and is great if you are a gamer / have software that doesn't multi-core.
Or if you don't want to blow out the power bill.

A 7950x system at IDLE uses 50% more power than an M3 Max going all-out on a CPU workload.

https://www.guru3d.com/review/amd-ryzen-9-7950x-review/page-...

Yes, if you have very expensive power, then this is a consideration.
Building clang using itself is a reasonable approximation to a compiler benchmark, speaking as someone who spends a depressing fraction of his life doing that over and over for permutations of the source code. That's somewhere in the five to ten minutes range on a decent single socket system.
Do you know of a benchmark site that compares clang compilations for different systems (CPU/RAM/SSD)?
Think chromium compile is widely used
Can you point me to a comparison site? Didn't find a M3/M2/7950/... comparison site for chromium compile times :-(

(Even phoronix is scares and mostly focuses on laptops - I have no laptop)

There probably isn't a site that just comparess chromium compilation time, but you can find the number in many YouTube and text reviews.