Skip to content

omgnull/go-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Golang benchmarks

Byte buffers

Bytes Buffer results

Buffer libs used

Launch bench

$ go test ./... -bench=. -benchmem
Buffer tests
$ cd buffer/main
$ go build
$ ./main

Flags:

  • duration Test duration in seconds (default 60)
  • method Function to run; allowed: "generic" "stack" "alloc" "sync" "bpool" "bbpool" (default "generic")
  • out Filename to write report; Prints into stdout by default
  • queue Number of goroutines; default is NumCPU (default 8)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages