Benchmarking my compiler project for forthcoming blog post. Turns out that helloworld is not a great performance test! Surprise!
miniblog.
Related Posts
Benchmarking the cost of array bounds checks in Rust code: https://blog.readyset.io/bounds-checks/
The author even patches rustc to make sure *all* bounds checks are gone, in order to compare the performance!
Cute benchmarking technique for choosing sample programs in a benchmarking suite: perform principal component analysis to avoid redundancy!
I really like instruction counts for measuring performance. It's not perfect, but it's a very stable metric, even if I'm listening to music whilst developing and benchmarking.
