 <p>Have you considered using a PerformanceCounter <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter(v=vs.110).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter(v=vs.110).aspx</a>? You just count the number of objects created, and the performance counter automatically calculates the average "speed" (I think you mean the rate at which objects are created, or objects per second).</p>