コード例 #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{})
}