Write a Blog >>
MSR 2018
Mon 28 - Tue 29 May 2018 Gothenburg, Sweden
co-located with * ICSE 2018 *
Mon 28 May 2018 11:00 - 11:17 at E4 room - CI and Release Engineering Chair(s): Shane McIntosh

Continuous integration (CI) emphasizes quick feedback to developers. This is at odds with current practice of performance testing, which predominantly focuses on long-running tests against entire systems in production-like environments. Alternatively, software microbenchmarking attempts to establish a performance baseline for small code fragments in short time. This paper investigates the quality of microbenchmark suites with a focus on suitability to deliver quick performance feedback and CI integration. We study ten open-source libraries written in Java and Go with benchmark-suite sizes ranging from 16 to 983 tests, and runtimes between 11 minutes and 8.75 hours. We show that our study subjects include benchmarks with result variability of 50% or higher, indicating that not all benchmarks are useful for reliable discovery of slowdowns. We further artificially inject actual slowdowns into public API methods of the study subjects and test whether test suites are able to discover them. We introduce a performance-test quality metric called the API benchmarking score (ABS). ABS represents a benchmark suite’s ability to find slowdowns among a set of defined core API methods. Resulting benchmarking scores (i.e., fraction of discovered slowdowns) vary between 10% and 100% for the study subjects. This paper’s methodology and results can be used to (1) assess the quality of existing microbenchmark suites, (2) select a set of tests to be run as part of CI, and (3) suggest or generate benchmarks for currently untested parts of an API.

Mon 28 May

11:00 - 12:30: Technical Papers - CI and Release Engineering at E4 room
Chair(s): Shane McIntoshMcGill University
msr-2018-papers152749800000011:00 - 11:17
Christoph LaaberUniversity of Zurich, Philipp LeitnerChalmers | University of Gothenburg
DOI Pre-print Media Attached
msr-2018-papers152749902000011:17 - 11:34
João Helis BernardoFederal Institute of Education, Science and Technology of Rio Grande do Norte, Daniel Alencar Da Costa Queen's University, Kingston, Ontario, Uirá Kulesza
msr-2018-papers152750004000011:34 - 11:51
Paolo Calciati IMDEA Software Institute, Konstantin KuznetsovSaarland University, CISPA, Xue Bai , Alessandra GorlaIMDEA Software Institute
msr-2018-papers152750106000011:51 - 12:08
msr-2018-papers152750208000012:08 - 12:15
David Gray WidderCarnegie Mellon University, Michael HiltonCarnegie Mellon University, USA, Christian KästnerCarnegie Mellon University, Bogdan VasilescuCarnegie Mellon University
DOI Pre-print
msr-2018-papers152750250000012:15 - 12:30