Generating Architecture-Agnostic Performance Tests from Functional Unit Tests
Open Access
- 22 April 2026
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Modeling and Performance Evaluation of Computing Systems
- Vol. 11 (1-2) , 1-24
Abstract
We present a methodology for automated performance regression testing at the unit level, designed to integrate seamlessly into the development workflow of high-performance computing (HPC) applications. The proposed framework emphasizes the integration of performance tests with existing functional unit tests by leveraging their shared structure, thereby enabling the development of performance test suites with minimal developer effort and supporting the early detection of performance degradations. As a proof of concept, we implement and release the framework as a publicly available Julia package. It generates architecture-agnostic test suites that remain valid across heterogeneous hardware environments. To demonstrate its effectiveness, we apply it to representative HPC use cases, including memory throughput analysis in stencil-based computations and roofline modeling of a sparse linear system solver. Experiments conducted on a diverse set of CPU and GPU architectures confirm the framework’s ability to detect performance regressions consistently, validating its potential for use in continuous performance testing pipelines.Keywords
Funding Information
- Deutsche Forschungsgemeinschaft (DFG (ID 470857344), and DFG (ID 44071968))
- Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung (SNSF (ID 200021L_204817))
- Hasler Stiftung (2024-07-08-113)
This publication has 40 references indexed in Scilit:
- JuMP 1.0: recent improvements to a modeling language for mathematical optimizationMathematical Programming Computation, 2023
- Sparse Quadratic Approximation for Graph LearningIEEE Transactions on Pattern Analysis and Machine Intelligence, 2023
- A systematic mapping study of software performance researchSoftware: Practice and Experience, 2023
- Parallelized integrated nested Laplace approximations for fast Bayesian inferenceStatistics and Computing, 2022
- Block-enhanced precision matrix estimation for large-scale datasetsJournal of Computational Science, 2021
- State-of-the-Art Sparse Direct Solvers2020
- An automated model‐based approach for unit‐level performance test generation of mobile applicationsJournal of Software: Evolution and Process, 2019
- Kerncraft: A Tool for Analytic Performance Modeling of Loop Kernels2017
- Unit testing performance with Stochastic Performance LogicAutomated Software Engineering, 2016
- Decentralized and Optimal Resource Cooperation in Geo-Distributed Mobile Cloud ComputingIEEE Transactions on Emerging Topics in Computing, 2015