We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.SE

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Software Engineering

Title: Evaluating Search-Based Software Microbenchmark Prioritization

Abstract: Ensuring that software performance does not degrade after a code change is paramount. A solution is to regularly execute software microbenchmarks, a performance testing technique similar to (functional) unit tests, which, however, often becomes infeasible due to extensive runtimes. To address that challenge, research has investigated regression testing techniques, such as test case prioritization (TCP), which reorder the execution within a microbenchmark suite to detect larger performance changes sooner. Such techniques are either designed for unit tests and perform sub-par on microbenchmarks or require complex performance models, drastically reducing their potential application. In this paper, we empirically evaluate single- and multi-objective search-based microbenchmark prioritization techniques to understand whether they are more effective and efficient than greedy, coverage-based techniques. For this, we devise three search objectives, i.e., coverage to maximize, coverage overlap to minimize, and historical performance change detection to maximize. We find that search algorithms (SAs) are only competitive with but do not outperform the best greedy, coverage-based baselines. However, a simple greedy technique utilizing solely the performance change history (without coverage information) is equally or more effective than the best coverage-based techniques while being considerably more efficient, with a runtime overhead of less than 1%. These results show that simple, non-coverage-based techniques are a better fit for microbenchmarks than complex coverage-based techniques.
Comments: 17 pages, 7 figures, 4 tables, 1 listing; accepted in IEEE Transactions on Software Engineering
Subjects: Software Engineering (cs.SE)
DOI: 10.1109/TSE.2024.3380836
Cite as: arXiv:2211.13525 [cs.SE]
  (or arXiv:2211.13525v4 [cs.SE] for this version)

Submission history

From: Christoph Laaber [view email]
[v1] Thu, 24 Nov 2022 10:45:39 GMT (1439kb,D)
[v2] Tue, 23 Jan 2024 08:17:52 GMT (2387kb,D)
[v3] Tue, 12 Mar 2024 15:07:47 GMT (2387kb,D)
[v4] Thu, 18 Apr 2024 13:13:48 GMT (301kb,D)

Link back to: arXiv, form interface, contact.