Cookies Policy
The website need some cookies and similar means to function. If you permit us, we will use those means to collect data on your visits for aggregated statistics to improve our service. Find out More
Accept Reject
  • Menu
About
Download Photo HD

About

I am a a Computer Science Postdoc working on reducing, analyzing, and optimizing the energy consumption levels for software, by using source code analysis and manipulation techniques. I was also awarded an FCT grant for my PhD research. I am one of the founding members of the Green Software for Space Control Mission (GreenSSCM) project, the Software Repositories for Green Computing FLAD/NSF project, and the Green Software Lab: Green Computing as an Engineering Discipline (GSL) project.

I concluded my PhD at the University of Minho, under the MAP-i doctoral programme with the thesis titled "Energyware Engineering: Techniques and Tools for Green Software Development" under the Green Software Lab (GSL) project . I received my MSc degree in Informatics Engineering in 2013, with my thesis "Querying for Model-Driven Spreadsheets" under the SpreadSheets as a Programming Paradigm (SSaaPP) project.

Currently, my research interests focus on green computing, human-computer interaction, and source code analysis and manipulation.

Interest
Topics
Details

Details

  • Name

    Rui Alexandre Pereira
  • Role

    Assistant Researcher
  • Since

    01st July 2013
  • Nationality

    Portugal
  • Contacts

    +351253604440
    rui.a.pereira@inesctec.pt
001
Publications

2020

SPELLing out energy leaks: Aiding developers locate energy inefficient code

Authors
Pereira, R; Carcao, T; Couto, M; Cunha, J; Fernandes, JP; Saraiva, J;

Publication
Journal of Systems and Software

Abstract
Although hardware is generally seen as the main culprit for a computer's energy usage, software too has a tremendous impact on the energy spent. Unfortunately, there is still not enough support for software developers so they can make their code more energy-aware. This paper proposes a technique to detect energy inefficient fragments in the source code of a software system. Test cases are executed to obtain energy consumption measurements, and a statistical method, based on spectrum-based fault localization, is introduced to relate energy consumption to the source code. The result of our technique is an energy ranking of source code fragments pointing developers to possible energy leaks in their code. This technique was implemented in the SPELL toolkit. Finally, in order to evaluate our technique, we conducted an empirical study where we asked participants to optimize the energy efficiency of a software system using our tool, while also having two other groups using no tool assistance and a profiler, respectively. We showed statistical evidence that developers using our technique were able to improve the energy efficiency by 43% on average, and even out performing a profiler for energy optimization. © 2019 Elsevier Inc.

2020

On energy debt: managing consumption on evolving software

Authors
Couto, M; Maia, D; Saraiva, J; Pereira, R;

Publication
TechDebt '20: International Conference on Technical Debt, Seoul, Republic of Korea, June 28-30, 2020

Abstract

2020

Data Curation: Towards a Tool for All

Authors
Dias, J; Cunha, J; Pereira, R;

Publication
HCI International 2020 - Late Breaking Posters - 22nd International Conference, HCII 2020, Copenhagen, Denmark, July 19-24, 2020, Proceedings, Part I

Abstract

2019

GreenHub Farmer: Real-world data for android energy mining

Authors
Matalonga, H; Cabral, B; Castor, F; Couto, M; Pereira, R; de Sousa, SM; Fernandes, JP;

Publication
IEEE International Working Conference on Mining Software Repositories

Abstract
As mobile devices are supporting more and more of our daily activities, it is vital to widen their battery up-time as much as possible. In fact, according to the Wall Street Journal, 9/10 users suffer from low battery anxiety. The goal of our work is to understand how Android usage, apps, operating systems, hardware and user habits influence battery lifespan. Our strategy is to collect anonymous raw data from devices all over the world, through a mobile app, build and analyze a large-scale dataset containing real-world, day-to-day data, representative of user practices. So far, the dataset we collected includes 12 million+ (anonymous) data samples, across 900+ device brands and 5.000+ models. And, it keeps growing. The data we collect, which is publicly available and by different channels, is sufficiently heterogeneous for supporting studies with a wide range of focuses and research goals, thus opening the opportunity to inform and reshape user habits, and even influence the development of both hardware and software for mobile devices. © 2019 IEEE.

2018

Energyware analysis

Authors
Pereira, R; Couto, M; Ribeiro, F; Rua, R; Saraiva, J;

Publication
CEUR Workshop Proceedings

Abstract
This documents introduces \Energyware" as a software engineering discipline aiming at defining, analyzing and optimizing the energy consumption by software systems. In this paper we present energyware analysis in the context of programming languages, software data structures and program's source code. For each of these areas we describe the research work done in the context of the Green Software Laboratory at Minho University: we describe energyaware techniques, tools, libraries, and repositories. © 2018 by the paper's authors.