Hacker
Hacker

Reputation: 7896

jquery/ js speed test

I'm using lots of jquery/js in my website. I need to test my jquery performance and improve its performance. Is there any tools to monitor the jquery performance?

Upvotes: 6

Views: 6593

Answers (3)

Jakub Konecki
Jakub Konecki

Reputation: 46008

I can recommend free DynaTrace AJAX Edition.

It is a brilliant performance profiler for IE. It will allow you to see the execution time and number of calls of each javascript method so you can find your bottlenecks easily and quickly.

I've used it to optimize javascript heavy, AJAX-enabled portal (opensocial implementation) and found out ie. nonoptimal jQuery selectors, unnecessary and heavy loops, IE problems with offsetHeight and class attributes.

Here's the full list of features.

Upvotes: 0

Wasim Karani
Wasim Karani

Reputation: 8886

You can use

Well explained here

YSlow

Firebug

To calculate your jQuery time in IE you can use

var startTime = new Date(); 
jQuery.ready(); 
var endTime = new Date(); 
var difference = endTime - startTime; 
alert("document.ready time: " + difference + " milliseconds");

with this code you could get time for jQuery to load

with regards

Wazzy

Upvotes: 2

jAndy
jAndy

Reputation: 235962

Firefox's Firebug has some pretty neat plugins for that:

Even if these plugins are very handy, you could measure the Javascript performance just with Firebug (Firefox) and the Developer Tools (Chrome).

Upvotes: 7

Related Questions