RadControls for ASP.NET AJAX - Now with more speed!

Posted by: the telerik blogs, on 15 Oct 2009 | View original | Bookmarked: 0 time(s)

The Q3 2009 release comes packed with goodies and we hope youll enjoy the new additions to your toolbox. And its fast too.

For starters, a number of micro-optimizations on the client-side has resulted in less boilerplate code. But the big breakthrough comes on the server-side where you can expect improvements of up to 30%, depending on your scenario.

So, how did we manage to do it? By deleting code, of course. Well, not just any code, but a reflection-intensive piece that was seeing a lot of use.

412158673_343bc90041_m

Just dont spend too much time Reflecting.

(Photo by http://www.flickr.com/photos/welshbaloney/)

The code in question is crucial to control operations the DescribeComponent method. Its responsible for serializing control properties and sending them to the client-side control counter-parts. Until now this was done with reflection, but weve figured out a way to get rid of it. It was replaced with a set of shiny new T4 templates that do the same job, but at compile time.

Dont just take my word for it - we have benchmarks. The test page is a typical* form:

Form

* User Experience experts can show signs of violent disagreement upon reading this statement.Agree with everything they say and youll be fine.

Ive used the excellent Eqatec Profiler (its free by the way - http://www.eqatec.com/tools/profiler) for measuring performance:

DescribeComponent

Thats almost 30% improvement! I know, I know its only 27,55344%, but its still pretty good!

The Q3 2009 Beta will be available in your Client.NET accounts tomorrow. Feedback is welcome, as usual!

You can download the sample project here:

DescribeComponent.zip

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Performance | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 607 | Hits: 15

Similar Posts

  • DevReach Follow-up, Part I more
  • Make SharePoint 2007 Act Like SharePoint 2010, Updated more
  • Gaia Ajax 3.6 Alpha released: Ajax GridView and Adaptive Rendering ++ more
  • Telerik Announced Official Version of Visual Style Builder for AJAX Controls more
  • Telerik Introduces Free Web Testing Framework for ASP.NET AJAX and Silverlight more
  • Teleriks Q2 2009 Release Expands All-in-one .NET Offering more
  • RadFormDecorator Q2 2009 - more decoration options, faster rendering! more
  • Results of AJAX Statistic for .NET Development more
  • Ajax survey 2009: jQuery and MS Ajax are almost tied more
  • The countdown to Q2 Teleriks second major release for 2009 begins today! more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD