You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Test on node 22
* Test improvements
* Update nan to 2.19.0 for Node 22
* Fix wall profiler test for node 22 on MacOS
With node 22, many deopt events are generated by `setContext` call in
`fn0`.
On MacOS, `v8::TimeTicks::Now` has a resolution of ~42us because
`mach_absolute_time` ticks (a tick is ~42ns) conversion to microseconds
is done in such a way that drops the 3 least significant digits.
This two facts lead to samples having identical timestamps, and
incorrectly matched contexts.
Workaround here just ensures that after deopt event caused by `setContext`,
no sample in `fn1` is immediately taken.
* Fix eslint warning
---------
Co-authored-by: Attila Szegedi <attila.szegedi@datadoghq.com>
0 commit comments