All Projects → evilsocket → gobench

evilsocket / gobench

Licence: GPL-3.0 license
A simple bash script that does its best to automate and visualize differential benchmarking for Go projects.

Programming Languages

shell
77523 projects

GoBench is a simple bash script that does its best to automate and visualize differential benchmarking for Go projects.

sshot

prepare it ...

make sure you have git, go and benchcmp (go get golang.org/x/tools/cmd/benchcmp).

install it ...

just put the gobench.sh file in /usr/local/bin or whatever it's in your $PATH and make it executable:

curl -s https://raw.githubusercontent.com/evilsocket/gobench/master/gobench.sh -O /usr/local/bin/gobench
chmod +x /usr/local/bin/gobench

run it ...

just cd into a git repository with local changes you want to benchmark against the master branch and run gobench. If you only want to run specific benchmarks instead of the entire suite, you can use the first parameter as the -bench filter, for instance gobench Something will only run benchmarks with the string Something in their declaration.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].