Your AI work isn't slow. It's waiting. Measure the queue.

2026-11-30


Your AI work isn't slow. It's waiting. Measure the queue.

November 30, 2026

Agents made producing changes cheap and left the capacity to review them untouched. Most delivery dashboards still report how fast work moves when it moves, not how long it sits still.

Here is the number that should reorganize your next metrics review. LinearB's 2026 Software Engineering Benchmarks Report, built from more than 8.1 million pull requests across 4,800+ organizations, found that AI-generated PRs wait 4.6 times longer before anyone picks them up for review, and agentic PRs wait 5.3 times longer. Once a reviewer does pick one up, it gets reviewed about twice as fast. That isn't a speed problem. It's a queue, and the "faster" review is likely a sign that reviewers are skimming rather than reading.

The pattern shows up everywhere you look. Atlassian's 2026 State of Developer Experience report, covered by LeadDev's Michael Hill in October, found the share of developers saying AI saves them 10+ hours a week fell from 68% to 25% in a year, while 72% report the same or more friction across the delivery lifecycle. DORA's 2025 research saw throughput finally turn positive with AI adoption, but instability is still heading the wrong way. Teams are producing more. The extra work is piling up in the gaps between steps.

Today's argument is simple: in the AI era, wait time is the most informative delivery metric you're not tracking. Cycle time, deploy frequency and even PR throughput can all look healthy while the system fills with work that nobody is touching. The tool for seeing this is a 65-year-old equation from operations research, and it takes about ten minutes to apply.


Deep Dive — Metrics & Judgment: Read Your Delivery System as a Queue

Most engineering dashboards are built around touch time: how long a change takes to code, review, test and deploy when someone is actively working on it. That framing made sense when writing code was the slow part. In 2024 and before, a PR roughly matched the capacity of the person who wrote it, so arrival and review stayed roughly in balance. Agents broke that balance. Code generation now scales with license count and token budget. Review, as Encore's 2026 synthesis puts it, is "the one input AI didn't multiply."

When arrivals outrun service capacity, queueing theory says exactly what happens, and it isn't subtle. Work in progress grows, and wait time grows with it. Donald Reinertsen made this the centerpiece of The Principles of Product Development Flow (2009): in product development, queues are mostly invisible because the inventory is information, not boxes on a factory floor, so nobody sees the pile. His other key point is that queue length doesn't grow linearly with utilization. As a reviewer pool approaches full utilization, wait times climb steeply. A team whose senior reviewers are "only" at 90% capacity can have dramatically longer queues than one at 70%.

That's why the LinearB numbers should change how you read every other metric on your dashboard. Three interpretive moves follow.

First, separate wait from work. For every stage of your delivery flow (PR open to first review, approval to merge, merge to deploy), split elapsed time into active and waiting. The ratio of active time to total elapsed time is what lean practitioners call flow efficiency, a term Niklas Modig and Pär Åhlström popularized in This Is Lean (2012). In knowledge work it's routinely low, often well under half. The point isn't the exact figure. It's that if waiting dominates, nothing that speeds up coding will move your lead time, and buying more agent capacity will make it worse.

Second, treat fast review as a warning sign, not a win. A 2x faster review on a 2.6x larger PR (LinearB's 75th-percentile figure for AI PRs is 408 lines against 157) is not efficiency. It's triage. Pair review speed with a quality signal: post-merge rework, revert rate, or the change failure rate DORA already tracks. Encore's report cites figures suggesting a large share of AI code that passes QA still needs debugging in production. Whether or not that number holds for your org, the only way to know is to join review data to incident data. If review time is falling while rework rises, your reviewers are rationing attention, and your dashboard is calling it productivity.

Third, manage the arrival rate, not just the service rate. The instinct when a queue forms is to add reviewers, usually by asking staff engineers to "prioritize reviews." That helps for a sprint. The more durable lever is controlling what enters the queue. DORA has listed working in small batches among the practices common to teams that benefit from AI, and InfoQ's coverage of the report notes AI tends to encourage larger changesets unless teams push back. Emma Bostian, writing in LeadDev, argues for making the author do more work before review: explain the change, pass the tests, clear security checks. That's an arrival-rate control dressed as a quality bar. So are WIP limits on open agent PRs per engineer, and change-class rules that send low-risk work through automated verification instead of human review.

For TPMs, this reframes the program plan. If verification is the constraint, it belongs on the critical path as a named, staffed, measured stage, not a thin sliver at the end of an implementation bar. For directors and VPs, it reframes the AI business case. Self-reported velocity gains (64% of teams claim at least 25%, per figures Encore compiles) and realized gains (Bain's estimate is closer to 10–15%) diverge because the survey measures the coding step and the business feels the whole queue. If your board deck shows the first number, you're reporting touch time to people who pay for lead time.

The good news is that queues are among the most measurable things in engineering. Your Git host already records when a PR opened, when someone first commented, when it was approved and when it merged. What's usually missing is the habit of asking, at every metrics review, "how much of this lead time was work, and how much was waiting?"

Try this week. Pull the last 30 days of merged PRs for one team. Tag each as agent-authored or not. For each group, compute three numbers: average open PRs on any given day (WIP), PRs merged per day (throughput), and median hours from open to first review (pickup wait). Check them against Little's Law below. If agent PRs have higher WIP and longer pickup than human PRs, propose a WIP limit of open agent PRs per author at your next team review, and track pickup wait weekly for a month.


Method — Little's Law (John D. C. Little, 1961)

What it is. A result from queueing theory, proved by MIT's John Little in "A Proof for the Queuing Formula: L = λW" (Operations Research, 1961). For a stable system, the long-run average number of items in the system (L) equals the average arrival rate (λ) times the average time each item spends in the system (W). In delivery terms, rearranged: average lead time = average WIP ÷ average throughput. It needs no assumptions about distributions, which is why it works on messy engineering data.

When to use it. When someone proposes speeding delivery by making a stage faster, when a dashboard shows rising throughput but stakeholders feel slower delivery, when you're sizing review capacity for an agent rollout, or when you need to explain to an executive why "more code" hasn't meant "sooner."

How to run it:

  1. Define the system boundary. Pick one clear start and end, such as "PR opened" to "PR merged," or "ticket in progress" to "deployed." Little's Law holds for whatever boundary you choose, as long as you use it consistently.
  2. Measure the three quantities over the same window. Average WIP (count items open at a daily snapshot, then average), average throughput (items completed per day), and average lead time (from your timestamps). Use at least several weeks so the averages mean something.
  3. Check the equation. If WIP ÷ throughput roughly equals measured lead time, your data is coherent. If it's far off, the system isn't stable (WIP is growing or shrinking), or work is leaving the system without completing, such as abandoned PRs. Both are findings in themselves.
  4. Find the lever. With throughput fixed by review capacity, the only way to cut lead time is to cut WIP. Model the effect before arguing for it: halving open WIP at constant throughput roughly halves lead time.
  5. Set and enforce a WIP limit. Cap open items at the stage that's queueing, review the cap monthly, and watch lead time respond.

When NOT to use it. Don't apply it to a system that's ramping up or winding down, like the first weeks of a new team or the last weeks before a launch freeze. The law describes long-run averages in a stable system, and it won't predict individual items.

Example: a team averages 60 open PRs and merges 12 a day, so expected time in review is about five days. Capping open agent PRs to bring WIP to 30 at the same merge rate takes it to about two and a half days, without hiring a reviewer.


Field Notes

AI's time savings are disappearing into code review — Michael Hill's LeadDev summary of Atlassian's 2026 DevEx report: only 17% of developers say a clear AI strategy has been communicated and implemented, and developers in orgs that have one are twice as likely to report less friction. Strategy communication is a delivery metric now.

2026 Software Engineering Benchmarks Report — LinearB's annual dataset adds AI-specific metrics: a 32.7% acceptance rate for AI-generated PRs against 84.4% for manual ones. It's vendor data, but the sample is large enough to benchmark your own pickup-wait numbers against.

Faster code isn't faster delivery — Emma Bostian (Spotify) makes the case for measuring the whole delivery system, rework and review included, and for putting the burden of explanation on the change's author before it reaches a reviewer.


Events


Reading


"Faster code is not the same as better software delivered sooner."

— Andrew Boyagi, Atlassian, quoted in LeadDev (October 2026)


Don't miss what's next. Subscribe to Critical Path: