News for hackers. Stuff that matters.
Re:Clang vs GCC benchmark on UnrealEngine3 by masklinn on Tuesday April 22, 2014 @08:23AM (#7627185)
> If gcc is producing a final binary that's twice the size of clang's, wouldn't that point to IO being a big factor in compile time?

250MB of output adding 5mn of compile time would mean 800KiB/s. That's about what a 5400RPM HDD gets on random writes. Possible, but means GCC has an utterly terrible I/O architecture and flushes to disk after more or less every write call.

> What is this test really trying to determine?

Nothing? It's just trying to infirm or confirm the initial off-hand remark: https://twitter.com/icculus/status/448281959538888704

> Like most benchmarks, you could fabricate scenarios that favor one or the other all day long. Some closer to reality, some completely synthetic.

I'm not sure how you can get closer to reality than "I spend my days compiling Goat Simulator with Clang and GCC, let's compile Goat Simulator with Clang and GCC".

There are no comments on this comment yet.