benchy
benchy copied to clipboard
Benchmarking.
This removes the warnings when compiling which can be very verbose if running multiple benchmarks (produces 3 warnings per `timeIt` block)
If I try to use benchy to speed test a function via node, I'm getting: ```js benchmark.js:4102 keepInt_687866206[0]+= (void*)&r_553648196 ``` If I remove `keep(r)` ```js node benchmark.js min time avg...
- fixed some formatting, a minor bug and removed the unused dots proc - added new feature to capture data instead of printing, with tests and readme update
I decided to add this package on playground (https://github.com/PMunch/nim-playground/pull/7), but because maximum execution time is capped at 20s it might be possible for the benchmark to be terminated externally without...
It would be a nice feature to have a way (another template?) to get the timings in the code so you for example can print them with your own format...