WebWait: Time your Ajax apps
Written by on February 13th, 2007 in Ajax News.
Our own Michael Mahemoff has created WebWait. We will let him take it from here:
I wanted a portable, consistent, way to
benchmark Ajax web apps, that would show how long the wait is (though
it’s useful for any app, especially if there were a lot of images, for
instance). Using a
command-line tool like curl is an improper simulation and doesn’t cut it
as a
proper simulation. WebWait has the following benefits:
- Runs in a browser. You get actual load times in the same client
web users
are running, not simulated times. - Runs in multiple browsers. There are plugins that do this, but as
well as
the installation overhead, they are usually specific to one browser.
With
WebWait, you can just cut-and-paste the same URL into different
browsers. (No
Safari yet as it doesn’t listen to iframe onload ???.) - Respects your cookies and authentication - If you can access a
URL in a web
page, you can benchmark it with WebWait. Trying to set up cookies for
use
with a command-line tool like Curl is hard work. Doing it with a
plugin is
usually impossible. Doing it with a third-party website is dangerously
insecure.
src=”http://img368.imageshack.us/img368/862/webwaitlq6.png”/>
Quick feature list as it stands right now:
- Basic functionality: Type a URL, see how long it takes to load.
- Option: Set the delay between calls. WebWait will call the website
multiple times and provide an average load time. - Option: Set the number of calls before ceasing activity.
- Ability to pause.
- Partially transparent lightbox eye candy.
- Unique URLs -
it’s Ajax, but that shouldn’t stop you from bookmarking and sending URLs
with details of the website being tested. Incidentally, implementing
this rare but highly useful feature took three lines of Javascript.
Have fun. Any comments/suggestions, please let me know!
See the FAQ for more info.
Source: Ajaxian
Original Article: http://ajaxian.com/archives/webwait-time-your-ajax-apps