Open AndreKR opened 3 weeks ago
Same behavior at https://discoveryjs.github.io/cpupro/
@AndreKR
Sorry for the delay! Severe lack of free time unfortunately...
When I tried my node tonight, I indeed had the same issue like you. I have now published version 1.1.0 which is available in the palette:
This version offers - beside the old flat
format - also the new tree
format:
For me it works now with Chrome again.
@bondarevky I have also tried to load the file with the new format in that tool you have mentioned. But it still gives me a "Bad format" error. Unfortunately I have no clue at all what could cause that...
@bartbutenaers Nothing changed for me in Chrome DevTools with a new version of node. I think it's because there is no "node[" section in .cpuprofile files. https://developer.chrome.com/blog/profiling-cpu#supporting_the_cpuprofile_file_format
Chrome: 129.0.6668.101 OS: Windows 11 64-bit Profile of your example flow
@bondarevky,
Sorry to hear that it doesn't work for you.
I am lacking free time to digg too much into detail. But I see that you already managed to pinpoint the problem.
Would be nice if you could explain your problem in the repo of the library that this node is using: see here.
If the author of that node would be able to help you and publish a new version, then that new version of his library would be automatically installed when you reinstall this node.
Thanks for the analysis!!
Bart
When I try to load the obtained .cpuprofile file into DevTools I only get an error message in the console:
This is the button I tried to use to load the profile: