func BenchmarkSemaUncontended(b *testing.B) { … } func benchmarkSema(b *testing.B, block, work bool) { … } func BenchmarkSemaSyntNonblock(b *testing.B) { … } func BenchmarkSemaSyntBlock(b *testing.B) { … } func BenchmarkSemaWorkNonblock(b *testing.B) { … } func BenchmarkSemaWorkBlock(b *testing.B) { … }