Home

stopwatch
Dennis Lang
lang.dennis @ comcast.net

Measure Performance of C Operators
Updated: 25-Jan-2015

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.

chart

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

Top
Home