Hi all,
to save me from re-inventing the wheel, I was wondering if anyone has (or knows where to find) some simple code that I can use to test the speed of the code in which i am processing and output the results to Console, or something
Thanks
Tryst

Code to detect speed performance of operations.
iamsudhir
Wilfried Peters
Thanks again.
Tryst
CFQueb
int tickCount = Environment.TickCount;
DoLongOperationYouWantToProfile();
int diff = Environment.TickCount - tickCount;
TimeSpan span = new TimeSpan( diff );
Console.WriteLine( "{0} seconds.", span.TotalSeconds );
But normally you use a profiler for these kind of tests. A free profiler is Nprof, nice, free and easy.
When you want a full profiler with just some extra compared to Nprof i suggest ANTS Profiler.
Here is a full list of available tools: