LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-22-2003, 03:55 AM   #1
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
any tried out intel's c++ compiler?


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.

Last edited by megaspaz; 06-22-2003 at 01:53 PM.
 
Old 06-22-2003, 08:11 AM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
one of my friends built a linux from scratch system using that compiler, he has a 3Ghz P4, and apparently his system runs like lightning
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 01:35 PM
Which cds do I need for Intel's VTune ? spinner_0 Fedora 0 11-15-2005 04:36 AM
Intel's 900 vedio chip mickeyboa Fedora 1 11-12-2005 08:30 AM
anybody know about the 852/855 graphics drivers on intel's site? jwn7 Linux - Laptop and Netbook 3 06-12-2005 03:58 PM
Is intel's Hyper-Threading a must for Linux ??? skouket Linux - Hardware 6 03-18-2005 07:53 PM


All times are GMT -5. The time now is 12:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration