module
Version:
v0.0.0-...-449c051
Opens a new window with list of versions in this module.
Published: Aug 21, 2016
License: MIT
Opens a new window with license information.
README
¶
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)
Directories
¶
see https://github.com/mailru/easyjson/blob/master/buffer/pool.go I need Reset() method to test, bu private functions prevents to embed Buffer
|
see https://github.com/mailru/easyjson/blob/master/buffer/pool.go I need Reset() method to test, bu private functions prevents to embed Buffer |
|
|
Click to show internal directories.
Click to hide internal directories.