TY - JOUR AU - Alves, Danilo Silva AU - Ferreira, Oseias Ayres AU - Duarte, Lucio Mauro AU - Silva, Davi AU - Maia, Paulo Henrique PY - 2020/06/18 Y2 - 2024/03/28 TI - Experiments on Model-Based Software Energy Consumption Analysis Involving Sorting Algorithms JF - Revista de Informática Teórica e Aplicada JA - RITA VL - 27 IS - 3 SE - Selected Papers - WEIT 2019 DO - 10.22456/2175-2745.98904 UR - https://seer.ufrgs.br/index.php/rita/article/view/Vol27_nr3_72 SP - 72-83 AB - Although energy has become an important aspect in software development, little support exists for creating energy-efficient programs. One reason for that is the lack of abstractions and tools to enable the analysis of relevant properties involving energy consumption. This paper presents the results of some experiments involving the gathering, modelling, and analysis of energy-related information, in particular, the costs of executing certain parts of a software. We combine some existing free and open-source tools to carry out the experiments, extending one of them to handle energy information. Our experiments consider a comparison of energy consumption of Java implementations of the Bubble Sort, Insertion Sort and Selection Sort algorithms using different data structures. We show how to combine an energy measurement tool and a model analysis tool to carry such a comparison. Based on this support and on our experiments, we believe this is a first step to allow developers to start creating more energy-efficient software. ER -