简体   繁体   English

Javascript profiling iOS 8 Safari

[英]Javascript profiling iOS 8 Safari

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. 我试图在iOS 8下的HTML5游戏中解决一些性能问题。我已经在Mac上使用了Yosemite测试版和Safari 8.0。 I seem to have lost the JS Profiling tool. 我似乎丢失了JS Profiling工具。 According to the iOS developer center: 根据iOS开发人员中心:

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. 要手动开始分析,请单击“个人档案”窗格右上角的“记录”按钮,然后在结果菜单中选择“启动JavaScript配置文件”。

(from here ) (从这里

On Safari 8, I don't get a menu with that option, it just starts recording a timeline. 在Safari 8上,我没有获得带有该选项的菜单,它只是开始记录时间线。 Where has this moved to? 这移动到哪里了?

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. 如评论中所述,为了找到记录部分,单击时间轴,然后在时间轴中的JavaScript和事件,将在左下角显示“记录”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM