bobheadxi / gobenchdata

📉 Run Go benchmarks, publish results to an interactive web app, and check for performance regressions in your pull requests
https://gobenchdata.bobheadxi.dev
MIT License
142 stars 14 forks source link

Graph per benchmark support #30

Closed JRascagneres closed 4 years ago

JRascagneres commented 4 years ago

Adds support for the feature requested in https://github.com/bobheadxi/gobenchdata/issues/29. A flag is added to be used during the generation of the web UI. If supplied with --per-benchmark or -p the following will be generated:

image

The default output is unchanged.

As a note the PR looks a lot larger than it is. Primary change was to adjust the loop order which git has fun trying to display.

JRascagneres commented 4 years ago

Addressed comments, thanks for quick review!