You've already forked go-profiler-notes
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:
@ -20,7 +20,7 @@ func BenchmarkProfilerGoroutines(b *testing.B) {
|
|||||||
readyCh := make(chan struct{})
|
readyCh := make(chan struct{})
|
||||||
stopCh := make(chan struct{})
|
stopCh := make(chan struct{})
|
||||||
for i := 0; i < g; i++ {
|
for i := 0; i < g; i++ {
|
||||||
go atStackDepth(8, func() {
|
go atStackDepth(16, func() {
|
||||||
defer func() { stopCh <- struct{}{} }()
|
defer func() { stopCh <- struct{}{} }()
|
||||||
readyCh <- struct{}{}
|
readyCh <- struct{}{}
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user