$\mu$OpTime: Statically Reducing the Execution Time of Microbenchmark Suites Using Stability Metrics
Nils Japke, Martin Grambow, Christoph Laaber, David Bermbach

TL;DR
$OpTime is a static method that reduces microbenchmark suite execution time by determining the minimal number of repetitions needed for accurate results, enabling faster performance regression detection in CI/CD pipelines.
Contribution
It introduces a static approach using stability metrics to optimize microbenchmark repetitions, significantly decreasing execution time while maintaining accuracy.
Findings
Up to 95.83% reduction in execution time for Go projects.
Effective regression detection with reduced measurement phases.
Stability metric choice varies with project and language.
Abstract
Performance regressions have a tremendous impact on the quality of software. One way to catch regressions before they reach production is executing performance tests before deployment, e.g., using microbenchmarks, which measure performance at subroutine level. In projects with many microbenchmarks, this may take several hours due to repeated execution to get accurate results, disqualifying them from frequent use in CI/CD pipelines. We propose OpTime, a static approach to reduce the execution time of microbenchmark suites by configuring the number of repetitions for each microbenchmark. Based on the results of a full, previous microbenchmark suite run, OpTime determines the minimal number of (measurement) repetitions with statistical stability metrics that still lead to accurate results. We evaluate OpTime with an experimental study on 14 open-source projects written in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Cloud Computing and Resource Management · Advanced Data Storage Technologies
