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

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.

主站蜘蛛池模板: 天门市| 连云港市| 淮阳县| 嘉禾县| 长沙县| 安泽县| 清水河县| 昭觉县| 西峡县| 翼城县| 监利县| 秀山| 常宁市| 巴彦县| 黑水县| 河曲县| 内黄县| 金沙县| 恭城| 沽源县| 上高县| 龙陵县| 易门县| 陕西省| 遵义县| 连云港市| 柳河县| 嘉兴市| 常州市| 山阳县| 吴堡县| 黔江区| 平原县| 嵊泗县| 富裕县| 志丹县| 武宣县| 江永县| 房山区| 栾城县| 博客|