Javascript性能分析iOS 8 Safari [英] Javascript profiling iOS 8 Safari

查看:99
本文介绍了Javascript性能分析iOS 8 Safari的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试解决iOS 8下的HTML5游戏中的一些性能问题.我在Mac上安装了Yosemite beta和Safari 8.0.我似乎丢失了JS分析工具.根据iOS开发者中心的说法:

要手动开始分析,请单击配置文件"窗格右上方的记录"按钮,然后在出现的菜单中选择启动JavaScript配置文件".

(来自解决方案

似乎已将配置文件替换为记录"部分,该部分提供了一些相同的信息,尽管不是全部. >

如评论中所述,为了找到记录"部分,请依次单击时间轴"和"JavaScript&时间轴中的事件将在左下角显示记录".

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?

解决方案

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性能分析iOS 8 Safari的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆