渲染WPF控件的时间以进行基准测试

时间:2012-07-23 11:25:02

标签: wpf time render

我需要找到渲染wpf控件以用于与其他技术进行基准测试所花费的实际时间。 如何处理这个问题?我尝试使用秒表覆盖渲染方法,但每次都给出错误的解释。请提出更好的方法。

注意:我试过这个帖子 - How to calculate the total rendering time of a wpf control?

1 个答案:

答案 0 :(得分:1)

WPF使用两个线程进行渲染,这使得测量性能变得有点困难。 Take a look at this article for a explanation and some performance comparances