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

Possible Performance Issue With Telerik RadChart and MSFT Unity Container

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Patrick Fletcher
Top achievements
Rank 1
Patrick Fletcher asked on 14 Oct 2010, 06:46 PM

"Consider whether the performance impact of registering in the container and resolving instances from it is acceptable in your scenario. For example, if you need to create 10,000 polygons to draw a surface within the local scope of a rendering method, the cost of resolving all of those polygon instances through the container might have a significant performance cost because of the container's use of reflection for creating each entity." 

Please see the section title, "Considerations for Using the Container", in the following link:
http://msdn.microsoft.com/en-us/library/ff921140(v=PandP.20).aspx

One possible solution is not to resolve/inject the module containing your rendering method inside the Unity Container.

You folks at Telerik may want to take a closer look at this, perhaps do a mockup to test this out,  given that Unity is being use for a great many projects.

Patrick

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 21 Oct 2010, 11:10 AM
Hi Patrick Fletcher,

Thanks for sharing this. We are aware of the article and have indeed identified some useful traits of the mentioned mechanism. Our architecture team is considering such approach and if there is a chance we will improve performance further.

Greetings,
Vladimir Milev
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
Tags
General Discussions
Asked by
Patrick Fletcher
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or