Sorry, I don't understand your search. ×
Back to Search Start Over

Dynamically reconfiguring software microbenchmarks: reducing execution time without sacrificing result quality

Authors :
Stefan Würsten
Harald C. Gall
Philipp Leitner
Christoph Laaber
University of Zurich
Source :
ESEC/SIGSOFT FSE
Publication Year :
2020
Publisher :
ACM, 2020.

Abstract

Executing software microbenchmarks, a form of small-scale performance tests predominantly used for libraries and frameworks, is a costly endeavor. Full benchmark suites take up to multiple hours or days to execute, rendering frequent checks, e.g., as part of continuous integration (CI), infeasible. However, altering benchmark configurations to reduce execution time without considering the impact on result quality can lead to benchmark results that are not representative of the software’s true performance. We propose the first technique to dynamically stop software microbenchmark executions when their results are sufficiently stable. Our approach implements three statistical stoppage criteria and is capable of reducing Java Microbenchmark Harness (JMH) suite execution times by 48.4% to 86.0%. At the same time it retains the same result quality for 78.8% to 87.6% of the benchmarks, compared to executing the suite for the default duration. The proposed approach does not require developers to manually craft custom benchmark configurations; instead, it provides automated mechanisms for dynamic reconfiguration. Hence, making dynamic reconfiguration highly effective and efficient, potentially paving the way to inclusion of JMH microbenchmarks in CI.

Details

Database :
OpenAIRE
Journal :
Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering
Accession number :
edsair.doi.dedup.....893f3be096b1193869bd41ba0987bd80