This is a pretty cool looking tool from the Stack Exchange people called MiniProfiler.
You just add some profiling info to your code like this:
using (profiler.Step("Doing complex stuff")) { using (profiler.Step("Step A")) { // something more interesting here Thread.Sleep(100); } using (profiler.Step("Step B")) { // and here Thread.Sleep(250); } }
and see the result live in the browser like this: