The Q3 2009 release comes packed with goodies and we hope you'll enjoy the new additions to your toolbox. And it's 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 don't 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. It's responsible for serializing control properties and sending them to the client-side control counter-parts. Until now this was done with reflection, but we've 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.

Don't 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 you’ll be fine.

I've used the excellent Eqatec Profiler (it's free by the way - http://www.eqatec.com/tools/profiler) for measuring performance:

DescribeComponent

That's almost 30% improvement! I know, I know – it's only 27,55344%, but it's 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


About the Author

Iana Tsolova

is Product Manager at Telerik’s DevTools division. She joined the company back in the beginning of 2008 as a Support Officer and has since occupied various positions at Telerik, including Senior Support Officer, Team Lead at one of the ASP.NET AJAX teams and Technical Support Director. Iana’s main interests are web development, reading articles related to geography, wild nature and latest renewable energy technologies.

Related Posts

Comments

Comments are disabled in preview mode.