Hacker News new | ask | show | jobs
by luckydude 3369 days ago
As a benchmarking guy, this is pretty basic. You might take a look at lmbench, it's open source, you could use all the timing infrastructure it provides and provide much better results. Reading that code would be educational (and it's very small).

Paper here: http://mcvoy.com/lm/bitmover/lmbench/lmbench-usenix.pdf

BTW, if someone has a better starting point, please share. lmbench is just what I happen to know.