Optimizing Energy Use in Testing Suites to Enhance Battery Efficiency
This paper presents the Energy-Directed Test Suite Optimization (EDTSO) approach, developed to maximize energy efficiency during in-situ testing. Traditional methods consume significant battery power, but our innovation achieves energy savings ranging from 30% to 70%. On average, EDTSO saves 42% more energy compared to conventional techniques. We tackle challenges such as maintaining code coverage and encoding the problem as an ILP (Integer Linear Programming) problem, which is NP-hard but can be solved effectively. We utilize the LEAP platform for measuring energy consumption during tests.
Optimizing Energy Use in Testing Suites to Enhance Battery Efficiency
E N D
Presentation Transcript
Energy-directed Test Suite Optimization Ding Li,∗ Cagri Sahin,† James Clause,† and William G.J. Halfond∗ ∗University of Southern California † University of Delaware
Message • In situ testing is necessary • But will consume battery power • Idea: optimize energy usage of test suite • How much energy can we save? Ref Tech Earthquake Sensor 1
Message • We developed EDTSO • Achieved significant energy savings • Range of saving is 30% to 70% • EDTSO saves 42% more energy on average than traditional approaches 2
Overview of the process Test suite EDTSO Problem Builder Minimization Criteria Optimized test suite Energy usage data ILP solver Test-related data 3
Difficulties • How to maintain code coverage? • Encode as an ILP problem • ILP problem is NP-hard • Usually solvable in a reasonable amount of time • How to measure the energy consumption? • Use the LEAP platform with Android x86 4