Is there a way to benchmark/profile portably?

Dukc ajieskola at gmail.com
Thu May 7 12:28:31 UTC 2020


On Thursday, 7 May 2020 at 11:06:17 UTC, Dennis wrote:
>
> You can make a reference program that you use to get a measure 
> for how fast the computer is that you run the benchmark on. 
> Then you can use that to scale your actual benchmark results.
>
> When testing regressions there's a fairly obvious choice for 
> this reference program: the old version. You can compare those 
> results with the new version and report the relative difference.

I have to keep that in mind, but I'd prefer something that does 
not require keeping old sources working, or floating their 
binaries around.



More information about the Digitalmars-d-learn mailing list