I have a WPF app based on MVVM pattern with Prism. We have a Shell and load the views as user control into the shell. The application contains menu based navigation as in, when you click a menu tool a screen will be loaded. I want to find out the time taken for the view to load. the time should be inclusive of the time taken to call a webservice, get the model data convert it into viewmodel and show the view. Is there any way do that? Is there any tool for that that is free?
Share
Use a StopWatch in your shell class. Start it when the user clicks a navigation item; add a
Loadedevent listener to the new UserControl that you create, and stop the StopWatch there. That should give you the load time.