Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
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-v0.x-archive
base: 6820054d2d42
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: f649626c6fae
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
    Browse the repository at this point in the history
  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
    Browse the repository at this point in the history
  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
    Browse the repository at this point in the history