benchy icon indicating copy to clipboard operation
benchy copied to clipboard

Ability to use the timings in the code

Open HugoGranstrom opened this issue 2 years ago • 0 comments

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 or want to do comparisons between different codes.

let (mean1, std1) = timeItReturn "test1":
  code...

let (mean2, std2) = timeItReturn "test2":
  code...

echo "Comparison: " mean1 / mean2

HugoGranstrom avatar Aug 05 '21 08:08 HugoGranstrom