开发者

How to calculate the total rendering time of a wpf control?

Is there any profiler or tools available to calculate the "Rendering Time" of a particular control.

Rendering Time - 开发者_开发问答Time taken by the control to completely render visually on to the screen.


I don't know of any tools, but if its just a single control you could create a sub class, override the Render methods and use a StopWatch to find some timings...


Here is a nice tip on the same subject too to make the measurment from the ViewModel(using the Dispatcher):

http://www.japf.fr/2009/10/measure-rendering-time-in-a-wpf-application/comment-page-1/#comment-2892

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜