package
module
Version:
v0.0.0-...-8927b88
Opens a new window with list of versions in this module.
Published: Mar 15, 2017
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
go-microbenchmark
micro benchmark library
feature
- measure running time some functions
bench := NewBenchmark()
elapsed := bench.Benchmark(
func() { ... },
func() { ... },
func() { ... },
)
Documentation
¶
type Benchmark struct {
}
Benchmark object
Create default benhcmark object
measure args functions. return all functions sum elapsed time
end benchmark, return since Begin() to End() elapsed time
Source Files
¶
Click to show internal directories.
Click to hide internal directories.