$ go test ./... -bench=. -benchmem$ cd buffer/main
$ go build
$ ./mainFlags:
durationTest duration in seconds (default 60)methodFunction to run; allowed: "generic" "stack" "alloc" "sync" "bpool" "bbpool" (default "generic")outFilename to write report; Prints into stdout by defaultqueueNumber of goroutines; default is NumCPU (default 8)