Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Performance Profiling 101

Nik Molnar
September 15, 2012

Performance Profiling 101

Come learn the basics of performance profiling web applications, how profilers work, and general patterns to look for when profiling your own applications in this demo heavy, hopefully humorous, session.

Nik Molnar

September 15, 2012
Tweet

More Decks by Nik Molnar

Other Decks in Technology

Transcript

  1. How To Profile 1. platform stability 2. environment neutrality 3.

    goals set before analysis 4. measurable improvements 5. descending granularity 6. scenario focused 9
  2. 10

  3. Profiling Patterns • out of proc • stay in process

    if possible • iterations • lowering hit count is usually easier • caching • don‘t do work if you don’t have to • streaming • loading large volumes of data at once is slow • concatenations • use string builder • exception management • exceptions should be exceptional • memory management • memory leaks cause issues too, but that’s another show 13
  4. Resources Practical Performance Profiling Links • ASP.NET Walkthrough • Webinar

    w/ MVP Jeremiah Peschka • Webinar w/ MVP Jean Philippe Gouigoux • Come talk to @MissDotNet at the Red Gate table 15