AI 编程 4.0 · 优秀 2026-11-23 · 论文

Below the Stopwatch: Checking the Performance Claims of Coding Agents in the Kernel

编码 agent 的'性能优化'PR 多数只给理由不衡量Below 管线从 AIDev 的 1,343 个运行时性能 PR 提取声称机制,映射到'若为真必变化'的内核与硬件信号,由不知 claim 的构建 agent 重建前后版本,用计时硬件计数器与 LTTng 内核追踪度量57.3% 的 PR 只有推理或无证据,仅 31.4% 给出效应量;82 个分析 PR 中 32 个变快28 个无明确变化22 个更慢内核信号对声称机制的响应约为非声称机制的 1.7 倍,指令数仅 1.15 倍验证性能声明要看内核信号而非 stopwatch

打开原文回到归档

Below the Stopwatch: Checking the Performance Claims of Coding Agents in the Kernel

  • ID: 7d1e814a
  • 原文链接: https://arxiv.org/abs/2611.31460
  • PDF: https://arxiv.org/pdf/2611.31460
  • 作者: Yuvraj Sehgal, Sneh Patel, Mahsa Panahandeh, Naser Ezzati-Jivan
  • 日期: 2026-11-23
  • 更新: 2026-11-23
  • 分类: coding
  • 来源类型: paper
  • 标签: coding-agents, performance, kernel, measurement
  • 质量评分: 4/5
  • 抓取时间: 2026-11-29T04:20:30Z

中文导读

编码 agent 的'性能优化'PR 多数只给理由不衡量Below 管线从 AIDev 的 1,343 个运行时性能 PR 提取声称机制,映射到'若为真必变化'的内核与硬件信号,由不知 claim 的构建 agent 重建前后版本,用计时硬件计数器与 LTTng 内核追踪度量57.3% 的 PR 只有推理或无证据,仅 31.4% 给出效应量;82 个分析 PR 中 32 个变快28 个无明确变化22 个更慢内核信号对声称机制的响应约为非声称机制的 1.7 倍,指令数仅 1.15 倍验证性能声明要看内核信号而非 stopwatch

为什么值得关注

57.3% of coding-agent speedup PRs carry no measurement; kernel traces confirm the claimed mechanism in only 34 of 82 analyzed PRs.

它把 agent 性能声明的核查从「计时对比」推进到「机制验证」:基于 AIDev 数据集 1,343 个运行时性能 PR,用硬件计数器与 LTTng 内核追踪验证声称机制;57.3% 的 PR 只有推理或无证据,声称机制的内核信号响应约为非声称机制的 1.7 倍——对评测 agent 生成代码的性能口径有直接参考价值。

关键信息

  • 论文标题: Below the Stopwatch: Checking the Performance Claims of Coding Agents in the Kernel
  • 作者: Yuvraj Sehgal, Sneh Patel, Mahsa Panahandeh, Naser Ezzati-Jivan
  • arXiv: https://arxiv.org/abs/2611.31460
  • PDF: https://arxiv.org/pdf/2611.31460
  • 发布时间: 2026-11-23
  • arXiv 分类: cs.SE, cs.AI, cs.PF
  • 关联标签: coding-agents, performance, kernel, measurement

English Abstract

Coding agents open many pull requests (PRs) that claim to make software faster. Most such claims also give a reason, such as "cache the result" or "read the file once". A stopwatch can show that code got faster, but not that it got faster for the stated reason. We present Below, a pipeline that checks these reasons at the kernel level. From 1,343 runtime-performance PRs in the AIDev dataset, Below extracts the mechanism each PR claims and maps it to the kernel and hardware signals that must change if the claim is true. A build agent that never sees the claim rebuilds the code before and after each PR. Below then measures both versions with plain timing runs, hardware counters and LTTng kernel traces. Most claims are not measured: 57.3% of the PRs offer only reasoning or no evidence, and only 31.4% state an effect size. Of 82 analyzed PRs, 32 ran faster, 28 showed no clear change and 22 ran slower. The expected signal of the claimed mechanism appeared in 34 PRs (20 in kernel-trace signals alone), and 42 PRs also changed their output. Kernel signals move about 1.7 times as often for a faster PR's claimed mechanism as for mechanisms it did not claim; the instruction count barely separates them (1.15 times).

English Summary

Coding agents open many PRs claiming to make software faster, usually with a stated mechanism. A stopwatch shows code got faster but not that it got faster for the stated reason. Below extracts each claimed mechanism from 1,343 runtime-performance PRs in the AIDev dataset and maps it to the kernel and hardware signals that must change if the claim is true; a build agent that never sees the claim rebuilds both versions, measured with timing, hardware counters, and LTTng kernel traces. Most claims are unmeasured: 57.3% of PRs offer only reasoning or no evidence and 31.4% state an effect size. Of 82 analyzed PRs, 32 ran faster, 28 showed no clear change, and 22 ran slower; the expected signal appeared in 34 PRs and 42 PRs also changed output. Kernel signals move ~1.7x more often for claimed mechanisms than unclaimed ones; instruction count barely separates them (1.15x).

Obsidian Notes

  • 内容获取路径:本次运行 opencli arxiv paper <arxiv_id> -f json 一次成功,页面由 arXiv 元数据与摘要回填。
  • 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未添加论文摘要之外的实验细节。
  • 现代站点生成器按 content/{entry.id}.md 查找内容页;本文件写入 canonical content 目录,而不是 openclaw/content/。