AI Coders' Speed Claims Often Don't Hold Up, Study Finds
AI-written code changes might not actually make your apps faster—here's why that matters.
coding agents are increasingly used to suggest improvements to software, often claiming they make programs run faster. But a new study from researchers at the University of Cambridge and other institutions found that many of these claims don't hold up under scrutiny. The team analyzed 82 code changes from a dataset of over 1,300 performance-related pull requests. They rebuilt the software with and without each change and measured actual speed, hardware performance, and system behavior.
The results were mixed: only 32 of the 82 changes made the software faster, 28 showed no clear difference, and 22 actually made it slower. Most claims (57%) provided no measurements to back up their assertions, and only 31% stated how much faster the code should be. Even when changes did speed things up, the reasons given were often not confirmed by the data. The researchers found that kernel-level signals (deep system measurements) were 1.7 times more likely to show the expected effect for a claimed mechanism than for an unclaimed one, while simpler metrics like instruction count barely differed.
For everyday users, this means that software updates touted as performance improvements might not deliver. If you've ever wondered why your phone or computer doesn't feel faster after an update, this could be why. The study highlights the need for better verification of AI-generated code changes before they're accepted into widely used software. It also suggests that current methods for assessing performance claims are insufficient and that deeper, mechanism-specific measurements are necessary to ensure that optimizations actually work as intended.
- Only 39% of AI-suggested code changes actually made software faster; some even slowed it down.
- Most claims lacked evidence: 57% offered no measurements to support their speed-up assertions.
- Deep system checks are needed to verify if a change works for the reason it claims.
Why It Matters
Software updates may not deliver promised speed improvements, affecting device performance and battery life.