jlfwong / speedscope

🔬 A fast, interactive web-based viewer for performance profiles.
https://www.speedscope.app
MIT License
5.57k stars 244 forks source link

XCode Instruments 16 breaks Deep Copy format import #481

Open akumansley opened 1 month ago

akumansley commented 1 month ago

Here's a sample Deep Copy from Instruments 16, which seems to have slightly different spacing:

Weight  Self Weight Symbol Names
2.18 s  100.0%  0 s  node (98674)
1.98 s  90.8%   0 s   start
1.98 s   0.0%   0 s    node::Start(int, char**)
1.98 s   0.0%   0 s     node::LoadSnapshotDataAndRun(node::SnapshotData const**, node::InitializationResult const*)
1.98 s   0.0%   0 s      node::NodeMainInstance::Run()
jlfwong commented 1 month ago

Hi! Thanks for the heads up. I'd accept a PR to resolve this while still maintaining functionality for past versions of Instruemnts. The relevant file to change is importFromInstrumentsDeepCopy

MAUIoxo commented 7 hours ago

Hi there, unfortunately, I also have a broken .trace from use of XCode 16. When do you think it can go productive with this fix?