MO

M. Oszko Mate

info

Please Note

1 records found

An Empirical Study of Static and Dynamic Batching Strategies

Bachelor thesis (2026) - M. Oszko Mate, C.E. Brandt, X. Liu
Continuous integration pipelines execute auto-mated tests on every commit, consuming substan-tial energy. Batch testing, which groups multiplecommits into a single test run, has been shown toreduce test executions in simulation studies, but noprior work has measured whether these reductionstranslate into actual energy savings.This study measures CPU package energy con-sumption of CI builds under a baseline run-all ap-proach and two batching strategies (BatchStop4and linear-4 lwd) across eight open-source Javaprojects. BatchStop4 achieves energy savings be-tween 57% and 88% (mean: 80.3%), while linear-4 lwd achieves savings between 59% and 94%(mean: 85.2%). Energy savings correlate almostperfectly with time savings (r >0.99), and base-line failure rate strongly predicts achievable sav-ings, while CPU utilisation shows no significant re-lationship. These findings provide empirical evi-dence that batch testing effectively reduces the en-vironmental footprint of continuous integration. ...