This is a migrated thread and some comments may be shown as answers.

Performance Questions

2 Answers 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew N
Top achievements
Rank 1
Andrew N asked on 17 Jul 2010, 07:48 AM
I'm struggling with a performance issue I can't seem to resolve. I cannot reconcile the difference in performance on my local application compared to the telerik demos online.

I have gone through most of the articles here on performance. I'm using CDN and just installed the latest version of ASP.NET AJAX components. I'm still using them in trial because I'm not quite getting the experience I need.

I have a page with 1 rad tab (with three tabs) one tab has a scheduler the other two tabs have radgrids.

On my local network running in VS or on my local server the performance seems good. When I access the server from a PC off my network it's quite slow. The only difference I can really think of is the speed of my network to the web. The problem is I've conducted all sorts of tests and even on a very slow connection the telerik demos run faster.

Is it because it's a trial version? Am I missing something in the config? Have I combined too many Rad components on one page? I've verified all the scripts and styles are coming from the CDN settings and the page itself is only about 100k when complete. Are the scripts just taking that long to run on the client computer? The database certainly isn't a bottleneck. I've watched with profiler and the queries are all wrapped up long before the page re-renders completely. Could it be the code running on the client taking a while to get going? Basically if you right click an item on the scheduler and "edit" it takes nearly 18 seconds to bring up the edit dialogue. It takes nearly the same amount to save or cancel it after that.

Thanks for any tips or insights!

2 Answers, 1 is accepted

Sort by
0
Accepted
Sebastian
Telerik team
answered on 19 Jul 2010, 11:46 AM
Hello Andrew,

Useful tips about how to optimize the overall performance of our controls can be found in the resources linked below:

http://www.telerik.com/products/aspnet-ajax/getting-started/top-performance.aspx
http://www.telerik.com/support/aspnet-ajax.aspx (section "Performance")
http://www.telerik.com/help/aspnet-ajax/radscriptmanager-cdn-support.html

as well as the individual chapters/topics under each component's documentation:
http://www.telerik.com/help/aspnet-ajax/introduction.html

Additionally, you can use profiler like Fiddler (for example) to inspect the traffic between the client and the server and identify potential bottlenecks which may slow down the performance.

Let us know what your findings are and whether we can provide additional directions/assistance.

Best regards,
Sebastian
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Andrew N
Top achievements
Rank 1
answered on 19 Jul 2010, 03:37 PM
Wow, amazing! I change two things and went from 18 seconds to get from the scheduler to editing an item on the scheduler to 3 seconds. The first link was the most valuable:

http://www.telerik.com/products/aspnet-ajax/getting-started/top-performance.aspx

How stupid I feel for forgetting to change my web.config file from debug true to false, but that's just the sort of thing I don't think about on my dev server. This knocked it down to ~5 seconds pretty quickly, which I was very happy with.

Next I tossed in the compression module, knocked the next ~2 seconds off the time it took to go from the schedule to editing an item.

Awesome, just awesome!

Now that my project is coming together so well it's time to fill up the shopping cart and buy so I can go live with these new features.

Thanks telerik!
Tags
General Discussions
Asked by
Andrew N
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Andrew N
Top achievements
Rank 1
Share this question
or