Using Trace to Measure Time
Our string concatenation exercise introduces a quick and dirty way to measure the time it takes to complete an operation in the execution of your page. When trace is on for the page or your application, every item in the trace output is marked with two times, once from the start of execution, and once from the previous item.Listing 15.2. Typical slow points might include database access, calls to Web services, or generation of dynamic images.