Groups | Blog | Home
all groups > dotnet performance > december 2003 >

dotnet performance : Measuring GDI performance


Pawan Agarwal
12/16/2003 6:06:04 PM
I am in a process of evaluating different third party components in terms of
GDI performance. What would be the best way to measure the time it takes to
draw the control. The point here is that I do not have the source code for
the components and I want to get the performance data for certain specific
operations like drawing, data population etc.
Any help would be appreciated.

Pawan

discussion NO[at]SPAM discussion.microsoft.com
12/16/2003 6:47:15 PM
Use the high resolution performance counters via PInvoke.

start before you draw and stop after then calculate the time delta

[quoted text, click to view]

AddThis Social Bookmark Button