Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: report idle time correctly #37868

Closed
wants to merge 1 commit into from

Commits on Mar 24, 2021

  1. src: report idle time correctly

    With this change, the V8 profiler will attribute any time between
    prepare and check cycles, except any entrances to InternalCallbackScope,
    to be "idle" time. All callbacks, microtasks, and timers will be marked
    as not idle. The one exception is native modules which don't use the
    MakeCallback helper, but those are already broken anyway for async
    context tracking so we should just encourage broken modules to be fixed.
    Qard committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    3a07aff View commit details
    Browse the repository at this point in the history