Back to godoc.org
go.bobheadxi.dev/gobenchdata

Command gobenchdata

v1.0.1
Latest Go to latest

The latest major version is .

Published: Jun 22, 2020 | License: MIT | Module: go.bobheadxi.dev/gobenchdata

Overview

Gobenchdata is a tool for inspecting golang benchmark outputs. To install it, you must have Go installed:

go get -u go.bobheadxi.dev/gobenchdata
gobenchdata help

Then pipe your benchmark into the tool:

go test -bench . -benchmem ./... | gobenchdata --json bench.json

You can create a sort of database of benchmarks by appending new benchmarks to an existing file:

go test -benchtime 10000x -bench . -benchmem ./... | gobenchdata --json benchmarks.json --append

You can also merge results:

gobenchdata merge file1.json file2.json file3.json

Visualize the results:

gobenchdata web serve

Compare results:

gobenchdata checks generate # generates config file to define checks
gobenchdata checks eval base-benchmarks.json current-benchmarks.json --checks.pretty

Learn more in the repository README: https://github.com/bobheadxi/gobenchdata

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier