I've recently came across a slow responding script bug on an application and I felt the need to profile the application to identify that what I need to improve on. I want a long-term fix, not a hackish fix. I tried the Firebug Profiler but since the application uses a lot of jQuery I get a lot of reports about anonymous calls which I actually expected.
I've also found some reports on the web about an profiler created by John Resig but the links I found were all dead.
So my questions are:
- What are the best ways to profile a jQuery application?
- Are there any opensource dedicated tools/scripts to achieve this?