Ejemplo n.º 1
0
func init() {
	sync := make(chan int, 1)
	benchmark.Register("report", &Report{
		sync:    sync,
		metrics: make(map[string]*MetricList),
	})
}
Ejemplo n.º 2
0
func init() {
	sync := make(chan int, 1)
	benchmark.Register("plots", &Plots{
		sync: sync,
		data: make(map[benchmark.Operation][]float64),
	})
}
Ejemplo n.º 3
0
func init() {
	benchmark.Register("live", &Live{})
}