I have a component X which get XML from the server and assigns each element of the xml to Y component.(All the XML elements are same <test>test</test>). and adds the Y component as a child to the X component. I have to create 40 instances of the Y component in this process. It take 5 secs to load the whole page. Any solution?
Use the profiler to see where the hotspots are.