Blogs (1) >>
ICSE 2019
Sat 25 - Fri 31 May 2019 Montreal, QC, Canada
Fri 31 May 2019 17:00 - 17:10 at St-Denis / Notre-Dame - Energy Consumption in Mobile Apps Chair(s): Grace Lewis

Software energy consumption is a performance related non-functional requirement that complicates building software on mobile devices today. Energy hogging applications (apps) are a liability to both the end-user and software developer. Measuring software energy consumption is non-trivial, requiring both equipment and expertise, yet researchers have found that software energy consumption can be modelled. Prior works have hinted that with more energy measurement data we can make more accurate energy models. This data, however, was expensive to extract because it required energy measurement of running test cases (rare) or time consuming manually written tests. In this paper, we show that automatic random test generation with resource-utilization heuristics can be used successfully to build accurate software energy consumption models. Code coverage, although well-known as a heuristic for generating and selecting tests in traditional software testing, performs poorly at selecting energy hungry tests. We propose an accurate software energy model,GreenScaler, that is built on random tests with CPU-utilization as the test selection heuristic. GreenScaler not only accurately estimates energy consumption for randomly generated tests, but also for meaningful developer written tests. Also, the produced models are very accurate in detecting energy regressions between versions of the same app. This is directly helpful for the app developers who want to know if a change in the source code, for example, is harmful for the total energy consumption. We also show that developers can use GreenScaler to select the most energy efficient API when multiple APIs are available for solving the same problem. Researchers can also use our test generation methodology to further study how to build more accurate software energy models.

Fri 31 May

Displayed time zone: Eastern Time (US & Canada) change

16:00 - 17:20
Energy Consumption in Mobile AppsPapers / Journal-First Papers / Technical Track / New Ideas and Emerging Results at St-Denis / Notre-Dame
Chair(s): Grace Lewis Carnegie Mellon Software Engineering Institute
16:00
20m
Talk
GreenBundle: An Empirical Study on the Energy Impact of Bundled ProcessingTechnical Track
Technical Track
Shaiful Chowdhury University of Alberta, Abram Hindle University of Alberta, Rick Kazman University of Hawai‘i at Mānoa, Takumi Shuto Kyushu University, Ken Matsui Kyushu University, Yasutaka Kamei Kyushu University
Pre-print
16:20
20m
Talk
Search-Based Energy Testing of AndroidTechnical TrackIndustry Program
Technical Track
Reyhaneh Jabbarvand University of California, Irvine, Jun-Wei Lin University of California, Irvine, Sam Malek University of California, Irvine
16:40
10m
Talk
EMaaS: Energy Measurements as a Service for Mobile ApplicationsNIER
New Ideas and Emerging Results
Luís Cruz University of Porto, Rui Abreu Instituto Superior Técnico, U. Lisboa & INESC-ID
Pre-print
16:50
10m
Talk
What can Android mobile app developers do about the energy consumption of machine learning?Journal-First
Journal-First Papers
Andrea McIntosh University of Alberta, Safwat Hassan Queens University, Kingston, Canada, Abram Hindle University of Alberta
Pre-print
17:00
10m
Talk
GreenScaler: Training Software Energy Models with Automatic Test GenerationJournal-First
Journal-First Papers
Shaiful Chowdhury University of Alberta, Stephanie Borle University of Alberta, Stephen Romansky University of Alberta, Abram Hindle University of Alberta
Pre-print
17:10
10m
Talk
Discussion Period
Papers