IDEAS home Printed from https://ideas.repec.org/h/spr/prochp/978-3-031-85284-8_13.html
   My bibliography  Save this book chapter

Investigating the Use of GitHub Copilot for Green Software

In: Advances and New Trends in Environmental Informatics

Author

Listed:
  • Maria Stivala

    (Vrije Universiteit Amsterdam)

  • Iffat Fatima

    (Vrije Universiteit Amsterdam)

  • Patricia Lago

    (Vrije Universiteit Amsterdam)

Abstract

This study empirically investigates the use of GitHub Copilot in developing energy-efficient software and the associated trade-offs. We compare the energy consumption and performance of human-written code to (i) the human-written code optimized by using GitHub Copilot, and (ii) code generated by GitHub Copilot. A set of 15 programming scenarios is used to test our hypothesis. GitHub Copilot is prompted for energy-efficient solutions. Our results demonstrate that GitHub Copilot-generated code can achieve significantly lower energy consumption when optimized, without compromising code quality. The study did not find statistically significant differences in energy consumption compared to human-written code. However, it highlights the potential of AI-assisted coding tools such as GitHub Copilot for developing energy-efficient software and the importance of explicitly prompting for energy consumption.

Suggested Citation

  • Maria Stivala & Iffat Fatima & Patricia Lago, 2025. "Investigating the Use of GitHub Copilot for Green Software," Progress in IS, in: Volker Wohlgemuth & Hamdy Kandil & Amna Ramzy (ed.), Advances and New Trends in Environmental Informatics, pages 219-235, Springer.
  • Handle: RePEc:spr:prochp:978-3-031-85284-8_13
    DOI: 10.1007/978-3-031-85284-8_13
    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-031-85284-8_13. 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.