mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2026-06-23 09:56:47 +08:00
small change
This commit is contained in:
parent
6f37078751
commit
6dd649f6b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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{}{}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue