官术网_书友最值得收藏!

Measuring Performance Bottlenecks

Measurement is the most crucial aspect of building high-performance systems. You can't change what you don't measure because you won't know what effect your change has had, if any. Without measuring your application, you won't know whether it's performing well.

If you only go by when your software feels slow, then you have left it too late. You are reactively fixing a problem rather than proactively avoiding one. You must measure to achieve good performance, even though it's the feel that matters to a user.

Some books leave measurement, analysis, and profiling until the end. Yet, this is the first thing that should be considered. It's common to fix the wrong problem and optimize areas that do not have performance difficulties.

In this chapter, we will cover the following topics:

  • Structured Query Language database profiling
  • Web application profiling
  • HTTP monitoring
  • Network monitoring
  • Scientific method and repeatability

This chapter will show you how to check for performance issues and where they are occurring. We will describe the tools that can give you this information and demonstrate how to use them effectively and correctly. We'll also show you how to repeat your experiments consistently so that you can tell whether you have fixed a problem once you've identified it.

We will cover measurement again toward the end of the book, but there, we'll focus on continuous automated monitoring to avoid regressions. This chapter will focus more on manual testing to identify potential performance problems during development and debugging.

主站蜘蛛池模板: 北辰区| 台北县| 宜兰县| 齐河县| 涟源市| 开封县| 西平县| 郴州市| 平邑县| 邢台市| 东阳市| 南宫市| 张家港市| 新密市| 济南市| 南丰县| 读书| 华阴市| 五华县| 彰武县| 鄯善县| 平乐县| 明水县| 台北市| 丰原市| 彝良县| 马鞍山市| 博乐市| 闽清县| 开远市| 孝义市| 八宿县| 鄂尔多斯市| 同心县| 信丰县| 灌阳县| 墨竹工卡县| 浦东新区| 海丰县| 榆社县| 昌图县|