Similar to my last post, I decided to try these three compilers on my pwtracker project. This was performed on the same exact system as that last post, a single-core 1.7 GHz Pentium M laptop. Here are the results:
Run times (in seconds):
gcc (-O3): 0.86, 1.62
llvm (-O3): 0.72, 1.34 (using gcc front-end)
icc (-fast): 0.28, 0.48
As you can see, Intel wins again with its blazing fast compilers. The speedups over gcc are 3.0 and 3.3, respectively. The speedups for LLVM over gcc are 1.19 and 1.21, respectively.
For anyone reading this, I would like some feedback on these numbers or maybe links to your own personal comparisons, so please comment away.
Subscribe to:
Post Comments (Atom)
Thanks for the benchmarks. Are these compile times or program run times, or both?
ReplyDeleteRun times
ReplyDelete