摘要
性能测试是软件测试中的难点,虽然目前已有一些专业的自动化性能测试工具在生成测试数据、模拟场景及如何更好地实施测试方面做了不少尝试,但如何分析测试数据以及如何准确地定位性能瓶颈代码块,依然是性能测试中亟待解决且最关键的问题。从代码剖分的角度,探讨代码剖分技术在性能测试中的作用以及如何利用代码剖分技术准确地定位代码中的性能问题,并利用RDTSC和CPUID指令构建自己的代码剖分软件以辅助性能测试。
The performance testing is difficulty in the software testing. Although some professional performance test automation tools to generate test data, Simulation scenarios and how to better implement the testing done a lot to try, But how to analyze test data and how accurate positioning performance bottleneck code block is still difficult issues in performance testing. This article describes how to use the RDTSC and CPUID instruction building for the profiler software to help performance testing
出处
《信息技术与标准化》
2007年第7期42-44,48,共4页
Information Technology & Standardization
关键词
软件测试
性能测试
代码剖分
software test
performance test
code profiling