Beispiel #1
0
        public void MiniProfile()
        {
            using (var profiler = new MiniProfiler("Test class"))
            {
                // Your code goes here
                Thread.Sleep(2000);

                // Get the elapsed time
                var elapsed = profiler.GetElapsedTime();
            }

            // Check the output window to see the total executiion time
        }