Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6820054d2d42ff9274ea0755bea59cfc4f26f353
Choose a base ref
...
head repository: nodejs/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f649626c6faef9d74c1e77608f952b06f4c5205b
Choose a head ref
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 3, 2013

  1. src: notify V8 profiler when we're idle

    Inform V8's CPU profiler when we're idle.  The profiler is
    sampling-based but not all samples are created equal; mark the wall
    clock time spent in epoll_wait() and friends so profiling tools can
    filter it out.  The samples still end up in v8.log but with state=IDLE
    rather than state=EXTERNAL.
    bnoordhuis committed Oct 3, 2013
    Copy the full SHA
    57231d5 View commit details
  2. src: only start idle notifier when profiling

    The previous commit adds a notifier that tells the V8 profiler when
    node.js is idle, i.e. when it's about to start sleeping in the
    platform's equivalent of epoll_wait().
    
    This commit adds a heuristic that only starts the notifier when the
    V8 profiler is started from the command line.
    bnoordhuis committed Oct 3, 2013
    Copy the full SHA
    9566fe8 View commit details
  3. src: add JS start/stop methods for idle notifier

    The previous commit changes the profiler idle notifier so that it only
    gets started when a --prof or --prof_lazy argument is specified on the
    command line.
    
    This commit adds two internal methods to the process object that allows
    one to start and stop the idle notifier programmatically.
    bnoordhuis committed Oct 3, 2013
    Copy the full SHA
    f649626 View commit details
Loading