func BenchmarkBusy(b *testing.B) { r := singletasking.New() r.Run(blocker) for i := 0; i < b.N; i++ { r.Run(blocker) } }
func BenchmarkUnblocked(b *testing.B) { r := singletasking.New() for i := 0; i < b.N; i++ { r.Run(void) } }