Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome developer tools: Failed to parse CPU profile

I tried to debug the performance of my typescript application, but in the chrome developer tools there are no "real" function names (just generals like Animation time fired, compile code, optimize code, task), but I can't even see one of my own function names. When I run the performance test I can see an error in the console: "Failed to parse CPU profile." I can't even get any search results in google. What is this? If I open a random site that's working, only my app can't show function names in the performance view. I am using the latest version of Google Chrome in Windows 10.

I am using webpack for compiling my typescript, I tried both debug and release builds but it is the same problem. I am not using source maps, but that shouldn't be a requirement for performance view.

Any suggestion?

like image 224
Jung Ervin Avatar asked Aug 08 '26 07:08

Jung Ervin


1 Answers

Sounds like this known issue: crbug.com/1330726

A fix has been landed yesterday and will (likely) make it to Chrome 102 and 103 soon. Today's Canary (104.0.5100.0) should already have it.

like image 56
jmrk Avatar answered Aug 09 '26 21:08

jmrk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!