问题
I'm attempting to fix some performance issues in our HTML5 game under iOS 8. I've got the Yosemite beta, and Safari 8.0 on a Mac. I seem to have lost the JS Profiling tool. According to the iOS developer center:
To start profiling manually, click the record button in the top right of the Profiles pane, and select Start JavaScript Profile in the resulting menu.
(from here)
On Safari 8, I don't get a menu with that option, it just starts recording a timeline. Where has this moved to?
回答1:
It would seem as if the profiling has been replaced with the "Records"-section which provide some of the same info, although not all of it.
As mentioned in the comments, in order to find the Records section click Timelines, then JavaScript & Events in the timelines which will show "Records" in the lower left corner.
来源:https://stackoverflow.com/questions/25970466/javascript-profiling-ios-8-safari