elastic / gobench

Index Go benchmark data into Elasticsearch with ease

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Index Go benchmark data into Elasticsearch with ease

License:Apache License 2.0


Languages

Language:Go 100.0%