How can we script/automate firebug --> Profile JavaScript, in Java so it can be run from outside the browser?
Firebug's "Profile Javascript option, provides a Realtime开发者_开发问答 mesurement of userexperience related to the JavaScript function times. Is there a way to automate that so i can have the same functionality of Profiling my application from outside the browser.
I don't think you can use firefug outside of the browsers. However, there are some other debuggers for javascript you can go for. Check out these posts:
- Blackbird
- JavaScript Profiler 2.0
- JavaScript Function Call Profiling (by John Resig)
Not exactly what you're looking for, but this may be helpful: https://github.com/mape/node-profile
精彩评论