Announcement
Collapse
No announcement yet.
GCC vs. LLVM-GCC Benchmarks
Collapse
X
-
When building these tests, is there a way to also build and affect the C runtime library. While I can appreciate that many of these tests have "hard stuff" in their code, the performance of an app is always so dependent on the performance of it's underlying runtime library (for things like memcpy, strcmp, etc.) that I think it's worth a look.
-
Originally posted by deanjo View PostThe way timed compilation tests are written in PTS gcc should take full advantage of the available cores.
For example the apache compile test:
Code:\$TIMER_START make -s -j \$NUM_CPU_JOBS 2>&1 \$TIMER_STOP" > time-compile-apache
Leave a comment:
-
Originally posted by [Knuckles] View PostBut do normal users really care?
I think compile times should only be used as a test workload when comparing computers; using compile times to benchmark compilers is useless to most people (99%? more?).
Leave a comment:
-
Originally posted by kraftman View PostSomeone mentioned there could be only one core used when comes to GCC and Ubuntu vs OS X benchmarks. Btw. I heard GCC is optimized to be good at some benchmarks, but I wonder if its better results have reflection in reality.
For example the apache compile test:
Code:\$TIMER_START make -s -j \$NUM_CPU_JOBS 2>&1 \$TIMER_STOP" > time-compile-apache
Leave a comment:
-
Originally posted by deanjo View PostCouple of factors I would guess comes into play. LLVM is fairly young in development and the biggest improvements so far as performance concerning LLVM is the time to compile. Unfortunately we haven't seen any of those compile times in the tests.
I think compile times should only be used as a test workload when comparing computers; using compile times to benchmark compilers is useless to most people (99%? more?).
Leave a comment:
-
I've been playing with Clang, and it really is very cool. Compile times are a lot better than GCC, and error messages are far more clear. I'm really glad Apple are funding development for it!
Leave a comment:
-
Originally posted by deanjo View PostCouple of factors I would guess comes into play. LLVM is fairly young in development and the biggest improvements so far as performance concerning LLVM is the time to compile. Unfortunately we haven't seen any of those compile times in the tests.
Leave a comment:
-
Originally posted by Rip-Rip View PostPlus you won't see any speed advantage because phoronix is using the gcc backend.
Leave a comment:
-
next up we will be testing LLVM/Clang to see how that performs.
Leave a comment:
Leave a comment: