Profiling your AJAX Applications using AjaxView

Published Tuesday, June 03, 2008 4:35 PM

Don't know if this has already been discussed at length before, but I found an interesting little tool from Microsoft Research for profiling the Javascript functionality in your AJAX applications.

Its called AjaxView and can remotely monitor any AJAX web app that is currently on the web, locally or whatever.

You basically, install a small proxy application, then change your Internet Explorer LAN connection to go through a proxy of localhost:8888.

Go and browse your web application or your own AJAX app, and execute your normal series of functionality.

Once your done, you then browse to a page generated by the tool itself

http://fakeurl.com/?&AJAXVIEWREQUEST=GET=main.html

This gets you something like this:

clip_image002

 

You can then click on whatever item you want, typically the site that represents the worst performance. You'll then get something like this:

clip_image002[10]

Here I have clicked on the 'Mean Time (ms)' view to get column sorted by the slowest functions. If I want to drill down a bit more, I can click on the 'Details' link which gives me:

clip_image002[12]

This shows me a breakdown of which functions took how long.

Its actually a pretty quick way to get a good idea of what is consuming a lot of client side cycles from a Javascript perspective. The tool is a little raw and is still somewhat rough, but its easy enough to use and get going and worth a quick look.

Comments

# Sonu Kapoor said on Tuesday, June 03, 2008 9:30 AM

Thanks for sharing this link. Looks very interesting.

# links for 2008-06-03 « dstelow notes… said on Tuesday, June 03, 2008 7:59 PM

Pingback from  links for 2008-06-03 « dstelow notes…

# gOODiDEA said on Tuesday, June 03, 2008 8:29 PM

WebFacebookOpenPlatform25ExcellentAjaxTechniquesandExamplesProfilingyourAJAXApplicatio...

# gOODiDEA.NET said on Tuesday, June 03, 2008 8:31 PM

Web Facebook Open Platform 25 Excellent Ajax Techniques and Examples Profiling your AJAX Applications

# Adam Eversole said on Thursday, April 30, 2009 10:19 AM

This same technology has been further refined, and is now available as "Microsoft Visual Studio AJAX Profiling Extensions Power Tool". It now installs on your server, and you can download the performance information and view it in Visual Studio Team System Developer Edition (or Team Suite). It works great, check it out.  Soma wrote about it recently on blogs.msdn.com/somasegar

# Glavs Blog said on Saturday, May 09, 2009 8:25 PM

A little while ago, I posted about a tool called AjaxView to allow you to profile javascript code within

Leave a Comment

(required) 
(required) 
(optional)
(required) 

This Blog

Syndication