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.
parent
57231d52
Please register or sign in to comment