Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Performance is a feature! - Developer South Coast - part 1


Published on

Starting with the premise that "Performance is a Feature", this session will look at how to measure, what to measure and how get the best performance from your .NET code.
We will look at real-world examples from the Roslyn code-base and StackOverflow (the product), including how the .NET Garbage Collector needs to be tamed!

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Performance is a feature! - Developer South Coast - part 1

  1. 1. Performance is a Feature!
  2. 2. Performance is a Feature! Matt Warren @matthewwarren
  3. 3. Why does performance matter? What do we need to measure? How we can fix the issues?
  4. 4. Why? Save money Save power Bad perf == broken Lost customers Half a second delay caused a 20% drop in traffic (Google) Internal L.O.B apps
  5. 5. Why? “The most amazing achievement of the computer software industry is its continuing cancellation of the steady and staggering gains made by the computer hardware industry.” - Henry Peteroski
  6. 6. Why? Premature optimization is the root of all evil v. Backing yourself into a corner
  7. 7. “We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.“ - Donald Knuth
  8. 8. Never give up your performance accidentally Rico Mariani, Performance Architect @ Microsoft
  9. 9. What? Averages are bad
  10. 10. "most people have more than the average number of legs" - Hans Rosling
  11. 11. Based on an original idea by Gil Tene from “How NOT to Measure Latency”
  12. 12. What? Only part of the story
  13. 13. When? In production You won't see ANY perf issues during unit tests You won't see ALL perf issues in Development
  14. 14. Questions? @matthewwarren