nonius
nonius copied to clipboard
HTML reporter fails when no benchmark has run
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.