Maximizing ASP.NET Real World, Object-Oriented Development [Electronic resources]

Jeffrey Putz

نسخه متنی -صفحه : 171/ 130
نمايش فراداده

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.