¡@

Home 

c# Programming Glossary: tracecalls

How performant is StackFrame?

http://stackoverflow.com/questions/1348643/how-performant-is-stackframe

namespace ConsoleApplication class Program static bool traceCalls static void Main string args Stopwatch sw warm up for int i.. tracing disabled passing method name sw Stopwatch.StartNew traceCalls false for int i 0 i 100000 i TraceCall MethodBase.GetCurrentMethod.. tracing enabled passing method name sw Stopwatch.StartNew traceCalls true for int i 0 i 100000 i TraceCall MethodBase.GetCurrentMethod..