Garbage Collection performance events have startTime values that aren't consistent with earlier versions. #41382
Labels
perf_hooks
Issues and PRs related to the implementation of the Performance Timing API.
Version
v16.13.1
Platform
Darwin halcyon 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64
Subsystem
performance
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Reproduces every time.
What is the expected behavior?
What do you see instead?
Additional information
In earlier versions (at least in 14) you could correlate GC startTime runs with other performance.now() values and detect when the GC ran during your code. It was helpful, or at least made sense.
Maybe this is getting passed straight from v8 and it's a system timestamp of some sort, but if it is, I can't figure out a way to make it sensible.
Thanks for any help with this. Let me know if you need more information.
Best,
Kendrick
The text was updated successfully, but these errors were encountered: