IntelC++8.0与VC7.1编译器使用比较【原创】
前言:intel编译器以效率著称,下面是笔者使用的一些比较数据,因为ijllib和cximage程序都很完善,所以比较数据差别不大,仅作参考,请勿对号入座。转载请保留完整文档,‘天衣有缝’原创。
无奔2优化编译时长对比:(IDE均为Visual Studio 2003)
版本 |
编译器 |
耗时 |
|
debug |
msvc71 |
4:08 |
|
debug |
intel8 |
5:52 |
|
release |
msvc71 |
4:17 |
|
release |
intel8 |
6:07 |
|
|
|
|
|
运行时刻对比:
输入文件:bmp(1024 * 768)大小:2.25MB
程序 |
版本 |
编译器 |
优化 |
图形格式 |
运行时间 |
输出文件 |
IJL |
Release |
Intel8 |
无 |
Bmp->jpg |
30.0ms |
194kb |
IJL |
Release |
Intel8 |
奔2 |
Bmp->jpg |
29.2ms |
194kb |
|
|
|
|
|
|
|
CXimage |
Release |
VC7 |
无 |
Bmp->jpg |
51.5ms |
194kb |
CXimage |
Release |
VC7 |
奔2 |
Bmp->jpg |
51.5ms |
194kb |
CXimage |
Release |
Intel8 |
无 |
Bmp->jpg |
50.2ms |
194kb |
CXimage |
Release |
Intel8 |
奔2 |
Bmp->jpg |
51.6ms |
194kb |
|
|
|
|
|
|
|
CXimage |
Release |
VC7 |
无 |
Bmp-> png |
123.5ms |
64.3kb |
CXimage |
Release |
VC7 |
奔2 |
Bmp-> png |
123.0ms |
64.3kb |
CXimage |
Release |
Intel8 |
无 |
Bmp-> png |
108.0ms |
64.3kb |
CXimage |
Release |
Intel8 |
奔2 |
Bmp-> png |
115.0ms |
64.3kb |
|
|
|
|
|
|
|
机器配置:DELL4600(p4_2.8G,512DDR)
2005.01.06 20:20:00 深圳南山科技园