UWSpace staff members will be away from May 5th to 9th, 2025. We will not be responding to emails during this time. If there are any urgent issues, please contact GSPA at gsrecord@uwaterloo.ca. If any login or authentication issues arise during this time, please wait until UWSpace Staff members return on May 12th for support.
 

Measuring the Performance of Code Produced with GitHub Copilot

Loading...
Thumbnail Image

Date

2022-12-22

Authors

Erhabor, Daniel

Advisor

Al-Kiswany, Samer
Nagappan, Meiyappan

Journal Title

Journal ISSN

Volume Title

Publisher

University of Waterloo

Abstract

GitHub Copilot is an artificially intelligent programming assistant used by many developers. While a few studies have evaluated the security risks of using Copilot, there has not been any study to show if it aids developers in producing code with better performance. We evaluate the performance of code produced when developers use GitHub Copilot versus when they do not. To this end, we conducted a user study with 32 participants where each participant solved two C++ programming problems, one with Copilot and the other without it and measured the running time of the participants' solutions on our test data. Our results suggest that using Copilot can produce code with a significantly slower running time.

Description

Keywords

LC Subject Headings

Citation