modulepackage
0.0.0-20241125091404-f9fd2d295223
Repository: https://github.com/elastic/gobench.git
Documentation: pkg.go.dev
# README
gobench
Index Go benchmark data into Elasticsearch with ease.
Usage
Pipe the output of "go test -bench ..." to gobench.
By specifying an Elasticsearch URL via the "-es" flag, gobench will index the results into Elasticsearch directly. Without this flag, gobench will output actions suitable for use with the Elasticsearch bulk API.
go test -bench . -benchmem ./... | gobench -es http://localhost:9200
License
Apache 2.0.