Tuesday, April 11, 2017

When profiling NodeJS using --inspect, what does “(program)” mean

Leave a Comment

When using node --inspect to profile a NodeJS application using chrome dev tools, a large part of the runtime is spent in (program). I did not find information on what exactly this means? Is it just time spend in the C++ parts of NodeJS?

1 Answers

Answers 1

The (program) entry is Chrome itself - it's the first thing that gets executed before anything else and remains there regardless of what your Node application is doing.

There is discussion in this Chromium profiler issue on what exactly it means (and whether or not it's confusing).

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment