- Version: 11.0.0
- Platform: macos
- Subsystem: worker_threads
Generating flame graphs with worker_thread produces isolate files that do not contain useful information.
Using my example repo https://github.com/slonka/nodejs-prof-worker-threads-not-working i generated the following flame graphs for:
Single threaded version:

And worker threads version:


What makes me think that this is a bug inside node and not 0x is that isolate files and processed files (generated by running node --prof-process) contain pretty much the same info that is on the flame graphs. I used flame graphs because they are easier to read for me.
Generating flame graphs with worker_thread produces isolate files that do not contain useful information.
Using my example repo https://github.com/slonka/nodejs-prof-worker-threads-not-working i generated the following flame graphs for:
Single threaded version:

And worker threads version:

What makes me think that this is a bug inside
nodeand not0xis that isolate files and processed files (generated by runningnode --prof-process) contain pretty much the same info that is on the flame graphs. I used flame graphs because they are easier to read for me.