IDEAS home Printed from https://ideas.repec.org/h/spr/prochp/978-3-319-99654-7_8.html
   My bibliography  Save this book chapter

Code-Level Energy Hotspot Localization via Naive Spectrum Based Testing

In: Advances and New Trends in Environmental Informatics

Author

Listed:
  • Roberto Verdecchia

    (Gran Sasso Science Institute
    Vrije Universiteit Amsterdam)

  • Achim Guldner

    (University of Applied Sciences Trier, Environmental Campus Birkenfeld)

  • Yannick Becker

    (University of Applied Sciences Trier, Environmental Campus Birkenfeld)

  • Eva Kern

    (Environmental Campus Birkenfeld
    Leuphana University Lueneburg)

Abstract

With the growing adoption of ICT solutions, developing energy efficient software becomes increasingly important. Current methods aimed at analyzing energy demanding portions of code, referred to as energy hotspots, often require ad-hoc analyses that constitute an additional process in the development life cycle. This leads to the scarce adoption of such methods in practice, leaving an open gap between source code energy optimization research and its concrete application. Thus, our underlying goal is to provide developers with a technique that enables them to efficiently gather source code energy consumption information without requiring excessive time overhead and resources. In this research we present a naive spectrum-based fault localization technique aimed to efficiently locate energy hotspots. More specifically, our research aims to understand the viability of spectrum based energy hotspot localization and the tradeoffs which can be made between performance and precision for such techniques. Our naive yet effective approach takes as input an application and its test suite, and utilizes a simple algorithm to localize portions of code which are potentially energy-greedy. This is achieved by combining test case coverage information with runtime energy consumption measurements. The viability of the approach is assessed through an empirical experiment. We conclude that the naive spectrum based energy hotspot localization approach can effectively support developers by efficiently providing insights of the energy consumption of software at source code level. Since we use processes already in place in most companies and adopt straightforward data analysis processes, naive spectrum based energy hotspot localization can reduce the effort and time required for assessing energy consumption of software and thus make including the energy consumption in the development process viable. As future work we plan to (i) further investigate the tradeoffs between performance and precision of spectrum based energy hotspot approaches (ii) compare our approach to similar ones through large-scale experiments. Our ultimate goal is to conceive ad-hoc tradeoff tuning of performance and precision according to development and organizational needs.

Suggested Citation

  • Roberto Verdecchia & Achim Guldner & Yannick Becker & Eva Kern, 2018. "Code-Level Energy Hotspot Localization via Naive Spectrum Based Testing," Progress in IS, in: Hans-Joachim Bungartz & Dieter Kranzlmüller & Volker Weinberg & Jens Weismüller & Volker Wohlgemuth (ed.), Advances and New Trends in Environmental Informatics, pages 111-130, Springer.
  • Handle: RePEc:spr:prochp:978-3-319-99654-7_8
    DOI: 10.1007/978-3-319-99654-7_8
    as

    Download full text from publisher

    To our knowledge, this item is not available for download. To find whether it is available, there are three options:
    1. Check below whether another version of this item is available online.
    2. Check on the provider's web page whether it is in fact available.
    3. Perform a search for a similarly titled item that would be available.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:prochp:978-3-319-99654-7_8. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.