VYSE
2014-05-07 23:19:09 +08:00
其实GCC效率很差的
GCC RANGE:
process 1.03287792206 seconds
GCC XRANGE:
process 0.60715007782 seconds
换ICC版PYTHON
ICC RANGE:
process 0.879615068436 seconds
ICC XRANGE:
process 0.418220996857 seconds
放在同一个CPU下面才有意义,另一个I5 CPU.
WIN ICC PYTHON:
RANGE: process 0.53400015831 seconds
XRANGE: process 0.319999933243 seconds
UBUNTU GCC PYTHON:
RANGE:process 0.702558994293 seconds
XRANGE:process 0.412276983261 seconds
RHEL ICC PYTHON:
RANGE:process 0.522276163101 seconds
XRANGE:process 0.270608901978 seconds
WIN和LINUX实际差距也只在malloc可能会有差距(WIN稍慢)。
那么GCC和其他编译器相比甚至微软的,就不多说了