Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Measuring the Runtime Performance of C++ Code Written by Humans using GitHub Copilot (2305.06439v2)

Published 10 May 2023 in cs.SE

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 runtime performance. We evaluate the runtime performance of C++ 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 runtime performance of the participants' solutions on our test data. Our results suggest that using Copilot may produce C++ code with (statistically significant) slower runtime performance.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (4)
  1. Daniel Erhabor (1 paper)
  2. Sreeharsha Udayashankar (2 papers)
  3. Meiyappan Nagappan (25 papers)
  4. Samer Al-Kiswany (6 papers)
Citations (5)
Youtube Logo Streamline Icon: https://streamlinehq.com