Javascript profiling iOS 8 Safari

风流意气都作罢 提交于 2019-12-10 12:44:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!