repositorypackage
0.0.0-20250916092032-bff3bff26845
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.