Skip to content

advincze/benchfmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

benchfmt

add ops/sec output to go bechmarks:

usage :

$ go test -bench . | benchfmt 

BenchmarkFoo-4       	   50000	     37698 ns/op	26526 ops/1s

or with additional duration param

$ go test -bench . | benchfmt -d 1h

BenchmarkFoo-4       	   50000	     37807 ns/op	95220461 ops/1h0m0s

About

add ops/sec output to go bechmarks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages