예제 #1
0
파일: report.go 프로젝트: manell/benchmark
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{})
}