How do you benchmark?
Max Haughton
maxhaton at gmail.com
Fri Jan 15 20:49:23 UTC 2021
On Friday, 15 January 2021 at 20:26:22 UTC, welkam wrote:
> Currently my benchmark game is weak. It consist of writing
> std.datetime.stopwatch in code, time in terminal and just run
> executable multiple times. Then eyeball the results. Im not
> happy with it so I want to ask the D tribe of what they use? I
> dont want to write my own tools if I dont have to.
https://code.dlang.org/packages/chimpfella
I use my own library for it. The dub version should be up to date
and working although it's a bit rough around the edges.
Basically write a benchmark, then the library takes a range to
generate a parameter to measure over.
More information about the Digitalmars-d
mailing list