Skip to content

evilsocket/gobench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages