Energy-Efficient Software Development: A Multi-dimensional Empirical Analysis of Stack Overflow

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jin, Bihui, Li, Heng, Nie, Pengyu, Zou, Ying
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909904162258944
author Jin, Bihui
Li, Heng
Nie, Pengyu
Zou, Ying
author_facet Jin, Bihui
Li, Heng
Nie, Pengyu
Zou, Ying
contents Energy consumption of software applications has emerged as a critical concern for developers to contemplate in their daily development processes. Previous studies have surveyed a limited number of developers to understand their viewpoints on energy consumption. We complement these studies by analyzing a meticulously curated dataset of 1,193 Stack Overflow (SO) questions concerning energy consumption. These questions capture real-world energy-related challenges in practice. To understand practitioners' perceptions, we investigate the intentions behind these questions, semantic topics, and associated technologies (e.g., programming languages). Our results reveal that: (i) the most prevalent energy consumption topic is about balancing Positioning usage; (ii) efficiently handling data is particularly challenging, with these questions having the longest response times; (iii) practitioners primarily ask questions to understand a concept or API related to energy consumption; and (iv) practitioners are concerned about energy consumption across multiple levels-hardware, operating systems, and programming languages-during energy efficient software development. Our findings raise awareness about energy consumption's impact on software development. We also derive actionable implications for energy optimization at different levels (e.g., optimizing API usage or hardware accesses) during energy-aware software development.
format Preprint
id arxiv_https___arxiv_org_abs_2409_19222
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Energy-Efficient Software Development: A Multi-dimensional Empirical Analysis of Stack Overflow
Jin, Bihui
Li, Heng
Nie, Pengyu
Zou, Ying
Software Engineering
Performance
Energy consumption of software applications has emerged as a critical concern for developers to contemplate in their daily development processes. Previous studies have surveyed a limited number of developers to understand their viewpoints on energy consumption. We complement these studies by analyzing a meticulously curated dataset of 1,193 Stack Overflow (SO) questions concerning energy consumption. These questions capture real-world energy-related challenges in practice. To understand practitioners' perceptions, we investigate the intentions behind these questions, semantic topics, and associated technologies (e.g., programming languages). Our results reveal that: (i) the most prevalent energy consumption topic is about balancing Positioning usage; (ii) efficiently handling data is particularly challenging, with these questions having the longest response times; (iii) practitioners primarily ask questions to understand a concept or API related to energy consumption; and (iv) practitioners are concerned about energy consumption across multiple levels-hardware, operating systems, and programming languages-during energy efficient software development. Our findings raise awareness about energy consumption's impact on software development. We also derive actionable implications for energy optimization at different levels (e.g., optimizing API usage or hardware accesses) during energy-aware software development.
title Energy-Efficient Software Development: A Multi-dimensional Empirical Analysis of Stack Overflow
topic Software Engineering
Performance
url https://arxiv.org/abs/2409.19222