示例#1
0
func init() {
	sync := make(chan int, 1)
	benchmark.Register("report", &Report{
		sync:    sync,
		metrics: make(map[string]*MetricList),
	})
}
示例#2
0
文件: plots.go 项目: manell/benchmark
func init() {
	sync := make(chan int, 1)
	benchmark.Register("plots", &Plots{
		sync: sync,
		data: make(map[benchmark.Operation][]float64),
	})
}
示例#3
0
文件: live.go 项目: manell/benchmark
func init() {
	benchmark.Register("live", &Live{})
}