Forum Moderators: open
I have since had the second programmer rebuild the project.
Is their any utility or way that I can test the load or performance on the old version versus the new?
thanks very much...
rg
"heavy javascript load" can mean that there are numerous, independent calls to the server to fetch many scripts, there is a lot of document manipulation causing a CPU slowdown, or there is just a boat load of javascript to compile, also causing a cpu slowdown.
Look into the Firebug plugin for Firefox for network performance monitoring. For jQuery and other libraries, you may be able to mash the scripts together into a single http call. For size, there are tools that compress the code for you, removing extra whitespace and comments.
For compile/run performance, I imagine slipping in a start time as a global variable inline in a script and then subtracting that time from the finish time as the very last thing that happens at the bottom of document load would give you an idea of time it took to execute. Wrap both versions of your page in this timer, and compare the results. Be sure to run it several times.
What you would be looking for is, effectively, a site set up to accept a url that will hand that url to a browser running on it that could easily detect page-load start time but must have some way of detecting "the page is finished" time. Then, it should be set up to report back for multiple browsers on multiple desktop configs (varying cpu speed, operating system..).
It's clever. It sounds similar to browsershots, and maybe browsershots does that kind of performance benchmarking as well?
i'm sure that one of the other web performance monitoring sites might include this (Gomez, Watchmouse etc), but I'd use a ondemand version....
rg