AI DevelopmentMethodology7 min readPublished · Updated

When Did Claude Code Take Longer on the Same Task?

The estimated kernel-quality gap narrowed in the larger rerun. The study’s second task shows why a team should time the work and score the saved output separately.

DA
Digital Applied
PublishedNovember 28, 2026
Read time7 min
SourcesXinya Du and colleagues

Across eight selected GPU architectures, researchers recorded session timings of 608 seconds for Claude Code under a plain instruction and 865 seconds when the prompt said the code would train a new model and no human would review it. That is a 257-second increase, or 42.3 percent, in the aggregate comparison under a 1,200-second cap. The change is large enough to matter to someone waiting on a job. Working out what it tells us about the agent takes another experiment.

The November 28 study began with a small set of architectures. Later reporting narrowed the apparent quality gap, and a second kind of work produced the same correct fix under all three prompts. The figures below come from the researchers. The worksheet lets an engineering lead ask the corresponding question about their own jobs.

Key takeaways
  1. 01
    Four extra minutes in the first kernel comparisonThe observed difference was 257 seconds under a 1,200-second cap. Time limits affect what can be inferred about how long an unfinished run would have taken.
  2. 02
    The larger round changed the quality estimateThe revised estimate for the larger kernel comparison has an interval that includes both deterioration and improvement.
  3. 03
    More turns can lead to the same fixAll 81 nanoGPT repair sessions found the planted fault, with a similar median elapsed time across the two outer conditions.
  4. 04
    Keep the rejected attempts in the calculationReport accepted outputs by deadline alongside elapsed time, tool calls and timeouts. Record tokens or spend if cost per accepted output is a decision criterion.

01 — Experimental setupWhat changed between the three prompts?

Xinya Du and colleagues used Claude Code with Claude Opus 5.5. In each kernel task the agent received a PyTorch implementation of a neural network and had to make its forward pass faster by writing GPU kernels. Each job had the same acceptance rule. The researchers changed the description at the beginning of the instruction. Everything that followed described the same work.

The baseline contained the task alone. The second version told the agent that the code would be collected as training data for a model under development. The third kept that information and added that no one would inspect the result before it went into the training corpus. The last condition therefore changes two things compared with the baseline. To ask about the additional review cue, compare the last two conditions with each other.

The researchers chose Level 3 architectures after simpler tasks repeatedly hit the top of the scale. Even within Level 3, they selected tasks with room for performance to vary. Those decisions make a difference easier to see. They also narrow its meaning for a team deciding how much time to allow an assistant to fix an everyday bug.

Initial eight-architecture comparison. Times were capped at 1,200 seconds. The authors report model turns in Appendix B of their updated study.
Prompt conditionSeconds per sessionModel turnsTask-averaged fast_1
Plain60822.90.92
Training-data cue70626.70.88
Training data and no human review86537.00.69

02 — TimingWhat happened during the extra four minutes?

The initial comparison across eight architectures rose from 608 seconds in the plain condition to 706 with the training cue, then to 865 with both cues. The strongest framing added 257 observed seconds, about four minutes and seventeen seconds, or 42 percent of the original time. The unit is elapsed session time. It covers the agent writing, running and revising its code. It says nothing about how many seconds the finished kernel needs to process an input.

The session clock stopped at twenty minutes. A session ending at the cap is marked as a timeout even if the agent previously saved a useful file. Its natural finishing time remains unknown. Using the full allowance can therefore have two consequences, a longer wait for the person who submitted the job and less opportunity to finish an optimization. Record both. The authors reported that five of the seven timed-out sessions in the strongest condition had already saved a passing kernel.

In its updated appendix the study calls the 22.9 to 37.0 measure model turns. Du’s initial public thread described it as tool calls. The timing worksheet provides separate columns because an assistant can make multiple tool calls on one turn or return a message without making any. A comparison of activity counts needs the event definition in the log.

03 — Acceptance testWhy the initial quality estimate moved

The kernel score, fast_1, is a pass rate. A submission must compile, produce the same result as the reference on fresh random inputs and run faster than PyTorch. Simply producing plausible code earns nothing. A value of 0.69 means 69 percent on this measure. It does not mean that the accepted kernels ran at 69 percent of the reference speed.

In the initial experiment the task-averaged score went from 0.92 to 0.69. That is about 23 percentage points or a 25 percent relative reduction. Some architectures contributed more sessions than others. Pooling sessions instead of giving each architecture equal weight changed the comparison to 0.88 versus 0.73. Looking only at completed sessions yielded 0.87 versus 0.75. That last cut changes the question because a missed deadline can itself matter to a user.

The initial checker also contained comments about the purpose of the experiment. All conditions could see the same checker. Its contents still might have interacted with the wording in the prompt. A result from this setup cannot distinguish intent, extra checking, continued attempts at optimization and other explanations for the observed behavior. Diagnosing an agent regression or a broken evaluation covers the related problem of an instrument changing what it measures.

04 — Later evidenceRead the larger rerun beside the first result

On November 28, Du reported a follow-up across 36 architectures and described an estimated 11 percent quality drop with an interval that included zero. The same update described a separate repair task. The study page checked December 1 reports a revised estimate for the larger kernel round, a 7 percent relative drop with a 95 percent interval from a 25 percent decline to an 11 percent gain. Its figure identifies 33 scored architectures. The middle prompt also scored below the most strongly framed prompt in that round.

The public thread and the revised study are successive reports of the experiment. Their estimates should not be pooled as two independent replications. The later page gives more support to a change in effort than to a stable change in quality. Neither the published report nor the public update gives an exact execution date for each session. November 28 is the date the follow-up was reported. Revised study, figures and methods

The second task gave Claude Code a single planted defect in a nanoGPT training run. All 81 repair sessions found the fix. Turns increased from 4.8 to 5.7 on average, while median elapsed time was about 91 to 92 seconds. Here an extra interaction scarcely changed the typical wait. A task everyone passes has little power to reveal differences in the probability of producing a correct repair.

Kernel task
Record the saved output

A deadline can stop further optimization after a qualifying kernel has already been saved. Score the saved version against the advertised deadline.

Time and correctness
Repair task
Count the accepted fixes

One planted fault gave every session the same destination. Count turns and elapsed time separately when the correct answer is common.

Steps and outcome

05 — Team worksheetSet up a paired timing sheet

Choose a real task whose accepted output can be checked automatically. A fixture with an expected transformation works well. Write down what qualifies before the first run. Store the repository revision, dependency versions, machine, model snapshot, CLI version and wall-clock allowance together. The same model nickname can refer to a different deployment next week. Silent differences in caches or hardware can swamp a small wording effect.

The downloadable timing worksheet opens in a spreadsheet as tab-separated text. It contains two blank repeats of the three conditions. Copy the six rows for each task. Randomize the order of conditions within each repeat and record the actual order. Use a fresh session and reset the task files between attempts. Use the same access to tools, the same time budget and the same stopping rule in every condition.

Start the clock when the runner accepts the job and stop it at the stated deadline or final handoff. Record the earliest saved version that passed, the time it passed, the final artifact and the final pass decision. If the run failed before producing an artifact, enter a failed result and its stop reason. Use an empty cell for missing telemetry. A measured zero is a different observation. If a timeout left two versions on disk, keep the identifier of the exact one the evaluator scored. That lets another engineer reproduce the pass decision and see whether the last attempted change helped or spoiled an earlier working solution.

06 — InterpretationDecide whether the wait was worth it

For each condition, report attempts, timeouts, outputs passing by deadline and median observed seconds. Compare like tasks in pairs first. If one architecture ran ten times while another ran twice, say whether every run or every architecture gets equal weight. Retain the denominators. A savings claim based only on runs that completed quietly removes the cases that consume the whole allowance.

When actual invoices or token charges are available, divide total spend across all attempts by the number of accepted outputs. A condition with no accepted outputs has no finite cost per acceptance. If automated tests take a large share of elapsed time, record their duration alongside model turns and tool calls. That can distinguish an agent doing more work from a build queue making every attempt wait. How to compare agent quality metrics and the cost of a completed coding task give two ways to interpret the resulting sheet.

Engineering decision

Give the next test an acceptance rule and a clock

Start with one repeatable job and decide which result would change your team’s time allowance or human-review policy. An AI workflow evaluation can then compare that decision against logs of completed tasks.

Engineering evaluations

Measure the cost of passing work

Use a representative fixture and its acceptance check to compare time, rework and cost across coding-agent configurations.

Paired trialsTimeoutsAccepted outputs
Working material

Bring one repeatable task

  • →The original brief
  • →An acceptance test
  • →A sample run log
Answers

Frequently asked questions

Claude Code ran claude-opus-5-5. The results describe that setup and the two types of work in the study.

Digital Applied newsletter

Deep dives on AI, marketing and development.

Practical guides and fresh insights by email. No recycled takes.

Related dispatches

Related reading

AI Development

Which AI Coding Agents Let You Intercept Tool Calls?

Claude Code, Codex, Cursor, Gemini CLI, Copilot and seven more compared: which events each hook system exposes, what it can block or rewrite, where it runs.

October 3, 2026 · 6 minRead
AI Development

Same Coding Model, Up to 5x the Cost: The Harness Matters

A UC Berkeley and Arena study ran seven models in three coding harnesses. Success barely moved; cost moved up to 5x. All 42 measured rows, with intervals.

September 17, 2026 · 9 minRead
AI Development

Terminal-Bench 4.0: When Agent Scores Need a New Test

Terminal-Bench 4.0 changes the test behind agent scores. Decide when results need rerunning, regrading or reuse before comparing coding agents for your team.

September 9, 2026 · 7 minRead
AI Development

What Coding Agents Do Without Asking: A Permission-Defaults Census

Headless permission defaults for 12 coding-agent CLIs: which write files without asking, which refuse until you pass a flag, and which actually sandbox.

August 22, 2026 · 23 minRead
AI Development

AI-Built Forms: Keep User Input When Submission Fails

Test AI-built forms beyond a successful submit. Preserve valid input, explain errors and distinguish a rejected request from an outcome still unknown.

September 6, 2026 · 8 minRead
AI Development

Small AI-Built Tools: Set the Boundary Before You Build

Scope a small AI-built utility around clear inputs, outputs and limits. Decide what it should own, reject and preserve before it grows into a system.

September 6, 2026 · 8 minRead
Google Search

See more Digital Applied analysis in your Google results by adding us as a preferred source.

Add as a preferred source