Java Performance Tuning 阅读小记1

上一篇 / 下一篇  2010-09-10 10:23:30 / 个人分类:性能测试

目前正在阅读前言部分,看到作者有关测试策略经验的描述如下:

A Tuning Strategy

Here's a strategy I have found works well when attacking performance problems:

  1. Identify the main bottlenecks (look for about the top five bottlenecks, but go higher or lower if you prefer).

  2. Choose the quickest and easiest one to fix, and address it (except for distributed applications where the top bottleneck is usually the one to attack: see the following paragraph).

  3. Repeat from Step 1.


其实这可以说是放之四海而皆准的真理了。做任何事情,都是要要先抓住主要矛盾,再解决次要矛盾。因为做性能测试时可能导致问题的原因有很多,“条条大路通罗马”,都知道罗马,但就是找不到回家的那条路。

在性能测试中要想抓住主要矛盾,可以综合各种测试报告,如profiling report, production log, monitor report等等,先树立几个怀疑对象,再逐一排除。

TAG:

 

评分:0

我来说两句

日历

« 2024-05-10  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 5120
  • 日志数: 10
  • 建立时间: 2010-09-09
  • 更新时间: 2012-03-19

RSS订阅

Open Toolbar