You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
these are clearly GC threads, and marking them as such would make it much easier to see that GC was the cause of CPU usage when looking at htop (with thread names enabled in settings):
it looks like there may be some precedent already inside v8, as using the built-in profiler shows up as a thread named v8:ProfEvntProc
in addition to labeling the obvious nodejs/v8 and nsolid threads, it would be also be useful to provide better instrumentation of js-created worker_threads
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion. Now that libuv/libuv@61c966c landed in libuv. We might add this. I can't provide a specific timeline but at least it should wait until the libuv version containing that change reaches node/nsolid.
Currently all the built-in threads are just called 'node' which is not useful in debugging. For instance, with
lldb
:these are clearly GC threads, and marking them as such would make it much easier to see that GC was the cause of CPU usage when looking at
htop
(with thread names enabled in settings):it looks like there may be some precedent already inside v8, as using the built-in profiler shows up as a thread named
v8:ProfEvntProc
note that on linux there is generally a 16 character limit on thread names
i propose
major-gc
andminor-gc
labels for the threads above. there are also many others that could use unique labels:in addition to labeling the obvious nodejs/v8 and nsolid threads, it would be also be useful to provide better instrumentation of js-created worker_threads
The text was updated successfully, but these errors were encountered: