Menu Controls
-
I'm building a website and I'd like to use one of those dynamic menu that can be programmed as a server control from ASP.Net and render as JavaScript in the browser. I found that many of them offer unlimited trial time for developers so I began playing around with ASPnetMenu by CYBERAKT. I have to say that it's pretty advanced stuff since the menu has great graphics and it's very functional and customizable. Then I read the recent article by jconwell here on CodeProject about performance strategies for web applications. So I decided to do some stress testing. That menu is TERRIBLE. The Aspx pages I wrote are pretty complicated and I was really worried about their performance since they are really database intensive. To my surprise I found out that my code it's actually pretty good but using that ASPnetMenu has disastrous effects on performance. Here are my results from testing 3 pages using Visual Studio ACT on a Pentium 4HT 2.6 Ghz 256MB ram accessed over the 100base-t network using my Pentium 3 1.1 Ghz Laptop: 25 simulteneous browser connections for 1 minute. With ASPnetMenu: Iterations: 2,438 Average request per second: 188.78 Average time to first byte (msecs): 28.89 Average time to last byte: 44.71 Errors Counts HTTP: 7,879 Errors Counts Socket: 6,634 -Response Codes- 500: 1.39% 403: 68.16% 302: 21.76% 200: 8.68% Without the menu: Iterations: 2,646 Average request per second: 261.75 Average time to first byte (msecs): 10.94 Average time to last byte: 11.30 Errors Counts HTTP: 1,453 Errors Counts Socket: 347 -Response Codes- 500: 6.67% 403: 2.59% 302: 64.15% 200: 26.60% While I'm aware that there still is a problem with too many errors even when not using the menu (any suggestion to possible cause would be appreciated) I know that I can modify my code while I cannot modify their menu and this casts a dark shadow on the feasibility of having a sleek user interface. Does anyone have any suggestion, any experience to share, or know about a good alternative and fast menu? Edd