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

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.

主站蜘蛛池模板: 塔河县| 商都县| 肇州县| 竹溪县| 新建县| 沿河| 双牌县| 威海市| 海林市| 沁阳市| 股票| 安宁市| 秭归县| 炉霍县| 逊克县| 博罗县| 葫芦岛市| 汝城县| 巴青县| 武山县| 龙井市| 攀枝花市| 衢州市| 兰考县| 琼结县| 财经| 正定县| 佳木斯市| 晋中市| 江北区| 兰考县| 介休市| 游戏| 宜川县| 宕昌县| 云浮市| 屏南县| 马鞍山市| 德化县| 呼和浩特市| 怀集县|