nonius icon indicating copy to clipboard operation
nonius copied to clipboard

HTML reporter fails when no benchmark has run

Open sehe opened this issue 9 years ago • 0 comments

This is not a very big deal but may become more interesting when filtering/skipping has been implemented.

First SEGV potential is here:

 auto min = *std::min_element(mins.begin(), mins.end());

easily remedied:

 auto min = mins.empty()? fp_seconds{} : *std::min_element(mins.begin(), mins.end());

But then it fails in report generation, and I found it pretty hard to debug the cpptempl logic to see how to fix that.

sehe avatar Nov 07 '16 01:11 sehe