basically i just tried this after reading about intel's claim that their compiler's produce object code that's faster than gnu's. i've done a basic benchmark and it does seem to support this in regards to a logfile analyzer program on a 2 MB apache log file (with fake ip addresses).
here's the results i got:
Code:
[vjong@Tron c_projects]$ time ./logalizer.exe log2.txt
****************************
* Begin Logalizer Report *
****************************
-------------------------------
Requests Host IP Address
-------------------------------
12852 XXX.XX.XXX.XXX
5712 XXX.XX.XXX.XXX
2499 XXX.XX.XXX.XXX
357 XXX.XX.XXX.XXX
357 XXX.XX.XXX.XXX
-------------------------------
Average Bytes Per Transfer
-------------------------------
2988.393 Bytes
-------------------------------
Average 5xx Error Code Requests
-------------------------------
0.016 5xx Error Code
****************************
* End Logalizer Report *
****************************
real 0m0.907s
user 0m0.890s
sys 0m0.020s
[vjong@Tron c_projects]$ time ./logalizerI.exe log2.txt
****************************
* Begin Logalizer Report *
****************************
-------------------------------
Requests Host IP Address
-------------------------------
12852 XXX.XX.XXX.XXX
5712 XXX.XX.XXX.XXX
2499 XXX.XX.XXX.XXX
357 XXX.XX.XXX.XXX
357 XXX.XX.XXX.XXX
-------------------------------
Average Bytes Per Transfer
-------------------------------
2988.393 Bytes
-------------------------------
Average 5xx Error Code Requests
-------------------------------
0.016 5xx Error Code
****************************
* End Logalizer Report *
****************************
real 0m0.568s
user 0m0.570s
sys 0m0.000s
the first set of times is with an executable generated by gnu's g++ and the second set of times is from intel's compiler. intel's completed the analyzation in almost half the time.
anyway the question is, is there anything else i should be looking at when comparing the 2 compilers? i mean anyone extensively use intel's cpp compiler?
i'm using the non-support, non-commercial version. is this the same thing as the evaluation version? the evaluation version says there's some kind of time limit, but intel's site shows 3 links. one the eval version, then the NS/NC version, and then the paid version. oh well, chime in with your thoughts.