We just profiled our application and noticed that
SafeNativeMethods.GdipFillRectangleI method (called by
Graphics.FillRectangle) in System.Drawing causes 88% of all of our
-soft- page faults. We are soft faulting on an order of 2000 spfs/sec
with 10 charts - with one charts we are to 600 SPFs/sec. Both numbers
are high. We are a charting intensive, real-time trading .NET
application that plots real time trading data on a high frequency
basis. Does anyone know of any performance issues with GDI drawing
functions in .NET framework...?