Hi all,
I have just put up the latest version (0.2.0) of nimbench. It can be installed with nimble. The github repo is here: https://github.com/ivankoster/nimbench
Nimbench is a framework to create micro benchmarks.
These are used to correctly determine the speed of your code, with the ultimate goal of optimizing it. Without measuring correctly, it might be possible you are making your code slower, instead of faster. This is not a joke!
Also, measuring itself is not trivial. You need high precision timers, tricks to fool the compiler optimizer, and tools to control iteration of benchmarks to create significant measurements. Nimbench will make this easy for you.
It has currently been ported to windows, posix and macosx. Please take a look, try the examples from the documentation. The docs also have links to optimization lectures and examples of other micro benchmark frameworks, on which nimbench is based.
If you want, please leave comments if nimbench is user friendly enough, suggestions for future improvements, anything!
P.s.: do not forget to compile with -d:release. Benchmarking on debug builds is a waste of your time ;)