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? 1 Ref Tech Earthquake Sensor
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 3 Test suite Minimization Criteria Test-related data Energy usage data EDTSO Problem Builder ILP solver Optimized test suite
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
5 Thank You
Future Questions 6