a delay is required after heap.start and heap.profile()
Open
- Dominant language
- JavaScript
- Stars
- 291
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
A delay about 5 second is required after heap.start and heap.profile(), otherwise a blank snapshot is produced.
This code reproduces.
```
pprof.heap.start(intervalBytes, stackDepth)
const profile = pprof.heap.profile()
const buf = await pprof.encode(profile)
```
Contributor guide
Assessment
This issue has not been assessed yet.