在移动设备上进行Javascript分析 [英] Javascript profiling on mobile devices
问题描述
我正在寻找能够在移动设备上对网站进行分析的工具,类似于Firebug和Chrome开发工具允许的内容。
I am looking for tools that allow to perform profiling of websites on mobile devices similar to what Firebug and Chrome dev tools allow to do.
我已经使用了Weinre广泛。虽然它是一个与真实设备一起使用的绝佳工具,但它不提供运行时分析的工具。
I have used Weinre quite extensive. While it is an awesome tool to use with real devices, it does not provide facilities for run-time profiling.
有没有人听过或使用任何允许这样做的工具?
Has anyone heard or used any tools that allow to do so?
推荐答案
以下是Steve Sauders(编写本书High Performance Web一书的移动性能测试工具的绝佳列表网站):
Here is a great list of mobile performance testing tools from Steve Sauders (the guy that wrote the book "High Performance Web Sites"):
- Mobile Perf bookmarklet - 一个超级书签,包含多个其他可用于移动设备的书签(我的)
- Jdrop - 用于在移动设备上收集数据的云中的JSON(我的)
- Mobitest - 将WebPagetest.org连接到Android和iPhone设备(Blaze.io)
- pcapperf - 从您的移动设备获取HTTP瀑布图表冰连接到wifi热点,博客文章(开源)
- WebWait - 我可以想到通过3G测量真实设备上的页面加载时间的唯一方法 - 在iframe中加载URL(Michael Mahemoff)
- weinre - Web Inspector Remote,非常酷的远程调试移动设备的方式(Patrick Mueller)
- < a href =http://www.browserscope.org/reflow/about =nofollow>回流计时器 - 用于衡量回流时间的书签(Lindsey Simon,开源)
- Favelet Suite - 一个超级书签,大量功能! (slayeroffice)
- Mobile Perf bookmarklet - An uber bookmarklet with links to multiple other bookmarklets useful for mobile (mine)
- Jdrop - JSON in the cloud for gathering data on mobile devices (mine)
- Mobitest - Connects WebPagetest.org to Android and iPhone devices (Blaze.io)
- pcapperf - Get HTTP waterfall charts from your mobile device connected to a wifi hotspot, blog post (open source)
- WebWait - The only way I can think of to measure page load times on real devices over 3G - load URL in an iframe (Michael Mahemoff)
- weinre - Web Inspector Remote, very cool way to debug your mobile device remotely (Patrick Mueller)
- Reflow Timer - Bookmarklet to measure reflow time (Lindsey Simon, open source)
- Favelet Suite - An uber bookmarklet, tons of features! (slayeroffice)
来源: http://stevesouders.com/mobileperf/
更新:
您可以将Chrome Devtools与Android设备配合使用,并且可以在配备iOS设备的Mac上使用Safari Devtools。
You can use Chrome Devtools with an Android device and you can use Safari Devtools on a Mac with an iOS device.
Chrome: https://developer.chrome.com/devtools/docs/remote-debugging
Safari: https://blog.idrsolutions.com/2015/02/remote-debugging-ios-safari-on-os-x-windows-and-linux/
您通过USB连接
这篇关于在移动设备上进行Javascript分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!