1

Chrome has its developer tools that times ajax latency, firefox has firebug, but what do you do in IE? I would have thought firebug lite, but apparently it doesn't time ajax calls (at least not in IE6). How do you do it?

Joda Maki
  • 5,649
  • 6
  • 27
  • 36

3 Answers3

2

Fiddler is a great tool to add to your toolbox

epascarello
  • 204,599
  • 20
  • 195
  • 236
1

You use dynatrace ajax edition. Not only will it give you what you are looking for, it will give you an incredible amount of performance profiling data including the browsers rendering time as well as page load times, execution time of javascript etc. :)

Martin Jespersen
  • 25,743
  • 8
  • 56
  • 68
0

You can always write your own timing code. Grab the start time before your Ajax call and get the end time from your callback function.

startTime = new Date().getTime();
//Make your Ajax call

function someCallback() {
  endTime = new Date().getTime();
}

alert((endTime - startTime) + " millis have elapsed.");

If you are using jQuery you can use the .ajaxSend and .ajaxComplete functions to register event handlers that can do the timings.

DMKing
  • 1,705
  • 1
  • 10
  • 13