1
0
mirror of https://github.com/DataDog/go-profiler-notes.git synced 2025-07-12 23:50:13 +02:00

small change

This commit is contained in:
Felix Geisendörfer
2021-03-26 14:29:15 +01:00
parent 6f37078751
commit 6dd649f6b8

View File

@ -20,7 +20,7 @@ func BenchmarkProfilerGoroutines(b *testing.B) {
readyCh := make(chan struct{})
stopCh := make(chan struct{})
for i := 0; i < g; i++ {
go atStackDepth(8, func() {
go atStackDepth(16, func() {
defer func() { stopCh <- struct{}{} }()
readyCh <- struct{}{}
})