Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML reporter fails when no benchmark has run #83

Open
sehe opened this issue Nov 7, 2016 · 0 comments
Open

HTML reporter fails when no benchmark has run #83

sehe opened this issue Nov 7, 2016 · 0 comments

Comments

@sehe
Copy link

sehe commented Nov 7, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant