Home


Dennis Lang
lang.dennis @ comcast.net

Measure Performance of C Operators
Updated: 31-Aug-2009

The following bar graph shows the performance of various C language operators. The results show that integer and floating point math execute at roughly the same speed. Division and mixed math (integer and floating point) is slow. The slowest is math functions with Malloc/Free in last place.

Correction: The top line of the graph should state the hardware as:
Measured using Windows XP/32 on HP8600 2 xeon quad core 2.86 GHz

  Download source code: (modified by Dennis Lang)   TTime.zip   (Linux and Windows)

Top
Home