I have just watched this video on Performance Tips and Tricks for Flex and Flash Development and it lists 3 things that are measured when using and creating Flex.
- Creation
- Validation
- Rendering
How do I measure these items on my own projects? In my case and more specifically for this question, how do I test how long it takes to create my item renderer, validate it and render it?
Is the total of all these events the total time I should use when testing the performance of the item renderer? I mean once it's created then what matters is just the rendering and validation correct?
What I mean is if I have an item renderer I THINK I could find out the creation time by using the following code:
<itemrenderer initialize="trace('initialized at='+getTimer())" creationComplete="trace('created at='+getTimer())" />
Not sure if this is right. But what about validation and rendering?