admin管理员组文章数量:1289620
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.
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?
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.
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?
Share Improve this question edited Jan 25, 2012 at 19:10 c69 21.5k8 gold badges55 silver badges83 bronze badges asked Jan 25, 2012 at 15:33 VasilyVasily 4611 gold badge6 silver badges16 bronze badges3 Answers
Reset to default 6Here 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 - 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 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)
Source: http://stevesouders./mobileperf/
UPDATE:
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./devtools/docs/remote-debugging
Safari: https://blog.idrsolutions./2015/02/remote-debugging-ios-safari-on-os-x-windows-and-linux/
You connect via USB
You can profile/debug/inspect Chrome-on-Android using the desktop Chrome developer tools interface:
https://developers.google./chrome/mobile/docs/debugging
It'll require Chrome, an Android device able to run the Chrome app, and a USB cable.
Its a bit annoying to setup, because you have to install and use the ADB console mand, but once its working, you'll have the full chrome developer tools interface available for debugging mobile.
Additionally, Google appears to be supporting this feature for new dev-tool Crhome extensions like PageSpeed.
For iOS debugging on Mac, you can use desktop Safari:
- connect your device with a USB cable
- start the app on the device
- launch Safari on your puter
- go to Develop -> device_name -> file_name.html
(if the Develop
menu is not available for you, then go to Edit
menu > Preferences...
> Advanced
tab and check Show Develop menu in menu bar
checkbox)
It launches standard Safari web inspector, which is pretty similar to Chrome Developer Tools, although somewhat limited pared to it.
本文标签: Javascript profiling on mobile devicesStack Overflow
版权声明:本文标题:Javascript profiling on mobile devices - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741396206a2376393.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论