Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jquery/ js speed test

Tags:

jquery

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?

like image 744
Hacker Avatar asked Jan 03 '11 12:01

Hacker


2 Answers

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

  • YUI slow
  • Google Page Speed

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

like image 126
jAndy Avatar answered Sep 23 '22 19:09

jAndy


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

like image 35
Wazy Avatar answered Sep 22 '22 19:09

Wazy