energy-directed test suite optimization (greens 2013)

7

Click here to load reader

Upload: james-clause

Post on 28-Jun-2015

114 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Energy-directed Test Suite Optimization (GREENS 2013)

 

Energy-­‐directed  Test  Suite  Op3miza3on  

Ding  Li,∗  Cagri  Sahin,†  James  Clause,†  and  William  G.J.  Halfond∗    

∗University  of  Southern  California  †  University  of  Delaware  

Page 2: Energy-directed Test Suite Optimization (GREENS 2013)

Message    •  In  situ  tes3ng  is  necessary  

§  But  will  consume  baLery  power  

•  Idea:  op3mize  energy  usage  of  test  suite  

•  How  much  energy  can  we  save?  

1

REFTEK™ Earthquake Sensor

Page 3: Energy-directed Test Suite Optimization (GREENS 2013)

Message  

•  We  developed  Energy  Directed  Test  Suite  Op3mizer(EDTSO).  

•  Achieved  significant  energy  savings  •  Range  of  saving  is  30%  to  70%    •  EDTSO  saves  42%  more  energy  on  average  than  tradi3onal  approaches  

2

Page 4: Energy-directed Test Suite Optimization (GREENS 2013)

Overview  of  the  Process  

3

Test suite

Minimization criteria

Test-related data

Energy usage data

EDTSO

Problem builder

ILP solver

Optimized test suite

Page 5: Energy-directed Test Suite Optimization (GREENS 2013)

Difficul3es  

•  How  to  maintain  code  coverage?  §  Encode  as  an  Integer  Linear  Programming(ILP)  problem  

•  ILP  problem  is  NP-­‐hard  §  Usually  solvable  in  a  reasonable  amount  of  3me  

•  How  to  measure  the  energy  consump3on?  §  Use  the  LEAP  pla]orm  with  Android  x86  

4

Page 6: Energy-directed Test Suite Optimization (GREENS 2013)

5

Thank You

Page 7: Energy-directed Test Suite Optimization (GREENS 2013)

Future  Ques3ons  

•  How  to  measure  the  energy  usage  of  very  short  test  cases?  

•  How  to  integrate  energy  usage  informa3on  into  the  development  process?  

6