问题
I am trying to analyze web app memory usage in a Safari browser. I read in several sites that Safari's Web Inspector Timeline can be used to analyze web app memory, but I don't see a Memory option. Here's what I see:
Here are the sites that say I should also have a Memory element:
https://webkit.org/blog/6425/memory-debugging-with-web-inspector/
https://support.apple.com/guide/safari-developer/improve-memory-performance-dev935efea11/mac
I'm looking for a way to 'turn on' the Memory element. Or perhaps it is no longer available? I'd appreciate any pointers. Thanks!
回答1:
- Go to the timelines Tab
- Go to the left bar (with all the timeline options)
- Click the 'edit' button to the top right of that bar
- Click the Memory checkbox to enable it.
来源:https://stackoverflow.com/questions/48465464/cant-see-safari-developer-timelines-memory-instrument