The following test is done on a simple demo app that uses RadGrid, RadMenu, RadTreeview, RadAjax, and RadSplitter. We'll use FireBug (in Firefox 2) and Fiddler for our tests, and we'll run our site from IIS to ensure we get accurate performance numbers.
Requests and Bytes
The first thing you should notice when using the Managers is that the number of requests your page generates is reduced significantly. Let's take a look at the difference:
- Requests without Managers
- Unprimed cache: 32 @ 21.4 KB
- Primed cache: 3 @ 2.6 KB
- Requests with Managers
- Unprimed cache: 16 @ 11.2 KB
- Primed cache: 1 @ 1.8 KB
Clearly, the managers have a significant impact on your requests. In this demo app, they cut in half the number of requests and the number of bytes sent to the server on page load. That's a pretty significant gain and bandwidth savings for your user. Even on the download side, the Managers reduced the payload sent from the server about 11% on average, for both primed and unprimed page loads.
Page Load Times
While reducing the number of requests and bytes is good academically, it's ultimately page load time that matters to users. To see the effect the Managers have on page load time, I ran the demo through the online stopwatch in IE7, IE8 beta 1, FF2, and FF3 beta 5. I ran the stop watch 6 times for each browser, 3 unprimed cache tests, 3 primed cache tests. I then compiled the results in to the following chart.
This chart reveals a few interesting facts about the Mangers' effect on page load time:
- Usually, for both primed and unprimed caches, the Managers reduce page load time
- Unprimed improvement: 30%
- Primed Improvement: less than 1%
- Primed Improvement without FF2: 3%
- As has been observed in other performance tests, FF2 is a poor performing browser
- It renders pages slowly and renders cached pages slower than first request pages
- FF3 is a lot faster than FF2 (yay!)
- Almost all browsers tested render the test page in less than 1 sec with Managers
- True for primed and unprimed cache
- Key exception is FF2, but see note above. FF3 solves the problem.
Whether or not you'll see a 30% improvement on initial page load time in your app will require your own testing, but this analysis definitely makes it clear that the Managers can have a very real impact on improving your page's load time.
Top