Visualize benchmarks with the gobenchdata web app
mainTo view your continuous benchmark data, you can use the built-in web server or generate a static web application.
Local Preview
- Install the CLI:
go install go.bobheadxi.dev/gobenchdata@latest. - Generate the web config:
gobenchdata web generate --web.config-only .. - Start the server:
gobenchdata web serve(this opens the visualization in your browser).
Generate Static Web App
To publish a static version of the dashboard (e.g., to GitHub Pages), run:
gobenchdata web generate ./app
The web application is configured via gobenchdata-web.yml, where you define chartGroups using regular expressions to match packages and benchmark names.
go install go.bobheadxi.dev/gobenchdata@latest
gobenchdata web generate --web.config-only .
gobenchdata web serve