EcoAssist: Embedding Sustainability into AI-Assisted Frontend Development

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Barrocas, André, Nunes, Nuno Jardim, Nisi, Valentina, Martelaro, Nikolas
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917385694347264
author Barrocas, André
Nunes, Nuno Jardim
Nisi, Valentina
Martelaro, Nikolas
author_facet Barrocas, André
Nunes, Nuno Jardim
Nisi, Valentina
Martelaro, Nikolas
contents Frontend code, replicated across millions of page views, consumes significant energy and contributes directly to digital emissions. Yet current AI coding assistants, such as GitHub Copilot and Amazon CodeWhisperer, emphasize developer speed and convenience, with energy impact not yet a primary focus. At the same time, existing energy-focused guidelines and metrics have seen limited adoption among practitioners, leaving a gap between research and everyday coding practice. To address this gap, we introduce EcoAssist, an energy-aware assistant integrated into an IDE that analyzes AI-generated frontend code, estimates its energy footprint, and proposes targeted optimizations. We evaluated EcoAssist through benchmarks of 500 websites and a controlled study with 20 developers. Results show that EcoAssist reduced per-website energy by 13-16% on average, increased developers' awareness of energy use, and maintained developer productivity. This work demonstrates how energy considerations can be embedded directly into AI-assisted coding workflows, supporting developers as they engage with energy implications through actionable feedback.
format Preprint
id arxiv_https___arxiv_org_abs_2604_04332
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle EcoAssist: Embedding Sustainability into AI-Assisted Frontend Development
Barrocas, André
Nunes, Nuno Jardim
Nisi, Valentina
Martelaro, Nikolas
Human-Computer Interaction
Software Engineering
Frontend code, replicated across millions of page views, consumes significant energy and contributes directly to digital emissions. Yet current AI coding assistants, such as GitHub Copilot and Amazon CodeWhisperer, emphasize developer speed and convenience, with energy impact not yet a primary focus. At the same time, existing energy-focused guidelines and metrics have seen limited adoption among practitioners, leaving a gap between research and everyday coding practice. To address this gap, we introduce EcoAssist, an energy-aware assistant integrated into an IDE that analyzes AI-generated frontend code, estimates its energy footprint, and proposes targeted optimizations. We evaluated EcoAssist through benchmarks of 500 websites and a controlled study with 20 developers. Results show that EcoAssist reduced per-website energy by 13-16% on average, increased developers' awareness of energy use, and maintained developer productivity. This work demonstrates how energy considerations can be embedded directly into AI-assisted coding workflows, supporting developers as they engage with energy implications through actionable feedback.
title EcoAssist: Embedding Sustainability into AI-Assisted Frontend Development
topic Human-Computer Interaction
Software Engineering
url https://arxiv.org/abs/2604.04332