DocumentCode :
3561586
Title :
An Industrial Case Study on the Automated Detection of Performance Regressions in Heterogeneous Environments
Author :
King Chun Foo ; Zhen Ming Jiang ; Adams, Bram ; Hassan, Ahmed E. ; Ying Zou ; Flora, Parminder
Author_Institution :
BlackBerry, Canada
Volume :
2
fYear :
2015
Firstpage :
159
Lastpage :
168
Abstract :
A key goal of performance testing is the detection of performance degradations (i.e., regressions) compared to previous releases. Prior research has proposed the automation of such analysis through the mining of historical performance data (e.g., CPU and memory usage) from prior test runs. Nevertheless, such research has had limited adoption in practice. Working with a large industrial performance testing lab, we noted that a major hurdle in the adoption of prior work (including our own work) is the incorrect assumption that prior tests are always executed in the same environment (i.e., labs). All too often, tests are performed in heterogenous environments with each test being run in a possibly different lab with different hardware and software configurations. To make automated performance regression analysis techniques work in industry, we propose to model the global expected behaviour of a system as an ensemble (combination) of individual models, one for each successful previous test run (and hence configuration). The ensemble of models of prior test runs are used to flag performance deviations (e.g., CPU counters showing higher usage) in new tests. The deviations are then aggregated using simple voting or more advanced weighting to determine whether the counters really deviate from the expected behaviour or whether it was simply due to an environment-specific variation. Case studies on two open-source systems and a very large scale industrial application show that our weighting approach outperforms a state-of-the-art environment-agnostic approach. Feedback from practitioners who used our approach over a 4 year period (across several major versions) has been very positive.
Keywords :
program testing; public domain software; regression analysis; software performance evaluation; automated performance regression analysis techniques; automated performance regression detection; heterogeneous environments; open-source systems; performance degradation detection; performance testing; weighting approach; Association rules; Bagging; Databases; Radiation detectors; Testing; Throughput; load testing; performance analysis; performance regression; performance regression testing; performance testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
Type :
conf
DOI :
10.1109/ICSE.2015.144
Filename :
7202960
Link To Document :
بازگشت