Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (14 sloc) 573 Bytes
Gobenchdata is a tool for inspecting golang benchmark outputs. To install it,
you must have Go installed:
go get -u
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
package main
You can’t perform that action at this time.