-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flamegraphs is not working properly in v16+ #293
Comments
I was checking all the tools before going to the flamegraphs and I've found a bug inside
./bin.js bubbleprof --open=false --autocannon [ / --method GET ] -- node server.js On node v14 it works perfectly, however, at v16 the spawned process never exits for two main reasons:
So I would say that we are dealing with 2 different issues in my point of view. I'm still debugging and trying to create a reproducible example. If you have any tips, let me know! What I have tried so far:
UPDATE: The |
Keep going! I won't have time to dig deep into the problem anytime soon unfortunately :( |
Well, I was debugging the:
And I've discovered that on I also did:
|
Interesting finding @RafaelGSS, though somewhat surprising as that change (at least in my eyes) doesn't seem to carry any functional differences that would explain the change in behavior we're seeing. Do you have any clue as to why this is happening? How likely do you think it may be that the actual reason is something related to that commit, but not specifically that commit? |
@simoneb I'm not sure, but looks like was specifically this commit since if I revert only that one, it works. So, I would say that the write stream was affected, I mean, it's hard to affirm it without an easily reproducible code. |
I did a comparison between Look at the following screenshot: Node v14 and v16 at respectively left and right sides. If you check the filter context we have the following:
So, I feel that there are no issues so far, only filters adjustment. By the way, I'm assuming that Additional considerationsI've also created the profiling through |
Yes exactly! |
Current Behavior
@mcollina has an insight about the flame graphs is not working properly in the latest versions of Node.js.
I'll be looking at it and update in this issue.
The text was updated successfully, but these errors were encountered: