Skip to content

perf_hooks: add warning when too many entries in the timeline

Rodrigo Muino Tomonari requested to merge github/fork/jasnell/perf-warning into master

Due to quirks in how the performance API is defined, there is a non-zero risk of memory leaks. Add an upper limit and emit a warning if it is reached.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

perf_hooks

Merge request reports

Loading