Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 448 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 448 Bytes

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.