package time_profile import "testing" func Benchmark_NewTimer(b *testing.B) { ch := newTimer() for n := 0; n < b.N; n++ { ch <- struct{}{} } }