DORA metrics
Lead Time vs Cycle Time: Two Clocks, Two Different Fixes
Almost every argument about lead time is an argument about where the clock starts. Fix that first and the disagreement usually disappears.
A precise distinction between DORA lead time for changes, product lead time and engineering cycle time, including which delivery problems each measurement window can and cannot detect.
Three clocks that all get called "lead time"
The terms come from different traditions, which is why they collide. In Lean and Kanban, lead time is customer-facing: it starts when a request enters the system and ends when it is delivered. Cycle time is the working portion: it starts when work actually begins on the item and ends when it is done. Lead time includes the queue in front of the work; cycle time does not.
DORA borrows the phrase and narrows it. Lead time for changes runs from code committed to code running in production. That excludes the entire discovery and prioritisation phase, so a DORA lead time of one day is entirely compatible with an idea sitting in a backlog for two months first.
Engineering tooling adds a third convention. In most delivery analytics products, including Marvex, cycle time refers to the pull request lifecycle: from the pull request opening to it merging, decomposed into stages. That is narrower again than the Lean sense, and it is the window where most concrete, fixable delay lives.
So there are at least three defensible clocks: request-to-delivery, commit-to-production, and open-to-merge. None is wrong. What is wrong is one document using two of them without saying which, which is how a leadership team ends up believing engineering takes either two days or two months depending on whose slide is on screen.
- Lean lead time: request accepted to delivered — includes the backlog queue
- DORA lead time for changes: code committed to running in production
- Engineering cycle time: pull request opened to merged, split into stages
- Always name the window before quoting the number
What each window can actually diagnose
Request-to-delivery is the only window that catches the largest delay in most organisations, which is the backlog itself. If work waits six weeks before anyone starts it, no amount of pull request optimisation will be visible to the person who asked for it. This window is the right one for a conversation with product and with stakeholders, and it is the wrong one for a conversation about engineering practice, because engineering does not control most of it.
Commit-to-production is the right window for the delivery machinery: branching strategy, CI duration, environment queues, release cadence, approval gates. It is bounded by things an engineering organisation can change without renegotiating how prioritisation works, which is exactly why the DORA programme scoped it there.
Open-to-merge is the right window for the day-to-day. It is where review latency lives, where oversized changes announce themselves, and where rework loops become visible. It is also the window with the richest event data, because every pull request emits timestamps for opening, first comment, approval, subsequent commits and merge without anyone instrumenting anything.
The three nest. Improvements in the innermost window are real but can be invisible in the outermost one — halving review latency changes nothing a stakeholder perceives if the item then waits three weeks for a release train. That is not a reason to skip the inner measurement; it is a reason to be honest about which claim you are making.
The four stages of pull request cycle time
Marvex splits the open-to-merge window into first response or pickup, review, rework and merge. The split matters because each stage has a different cause and a different remedy, and the aggregate hides all of it.
Pickup is the wait for a first human response. It is pure queue: nobody is working, and it is usually the largest single stage in teams that have not looked at it. It is also the cheapest to fix, because the remedies are organisational — a review rota, a convention about who gets requested, a shared expectation for first response — rather than technical.
Review is the elapsed time once someone has engaged. Long review time on small changes generally means the reviewer is context-switching between too many things. Long review time on very large changes usually means the change is asking too much of the reviewer, which is a batch-size problem wearing a review-process costume.
Rework is commits pushed after review started. Some rework is the system working: that is what review is for. Repeated rework rounds — three, four, five — almost always mean the approach was not agreed before the code was written, and the fix is a design conversation upstream rather than anything in the review process.
Merge time is the gap between approval and the change actually landing. This is nearly always mechanical: slow CI, a required check that queues, a branch protection rule, a merge train, or a human who has to press a button and is asleep. It is the stage most often ignored and the one most often fixable by a platform team without touching how anyone works.
- Pickup: fix ownership and routing first — it is queue, not work
- Review on small diffs: reviewer attention and context switching
- Repeated rework: missing alignment before the code was written
- Merge after approval: CI duration, required checks, branch protection
Measure the distribution, not the average
Every one of these windows produces a right-skewed distribution. A few pathological items — the change that sat over a holiday, the one that needed a security review, the one whose author went on leave — pull the mean far above the typical experience. Reporting the mean makes the team feel gaslit, because their normal week does not look like the number.
Read the median for the typical case, and a high percentile such as the 85th or 90th for the tail. The gap between them is its own diagnostic: a small gap means a predictable system, a widening gap means an increasing number of items are falling into an exception path, and it is usually the exception path that is worth investigating rather than the median.
Watch out for survivorship as well. Cycle time computed over merged pull requests excludes everything still open, which means a queue of stale, unmerged changes actively improves the number. Look at open pull request age alongside cycle time; a healthy cycle time with a growing pile of ageing open changes is not a healthy system.
- Median plus 85th or 90th percentile beats the mean
- A widening median-to-tail gap means more items are hitting an exception path
- Merged-only cycle time hides stale open work — check open PR age too
A practical convention to adopt
Pick one word per window and enforce it in writing. A convention that works: "lead time" always means the DORA definition of commit to production; "cycle time" always means pull request open to merge; anything that starts at the ticket is called "time to delivery" and is labelled with its start event. The specific choice matters far less than the consistency.
Then report them at different altitudes. Cycle time and its four stages belong to the team, reviewed weekly, because that is where the levers are. Lead time for changes belongs on the team and org dashboards next to the other DORA metrics, because it is the one that connects to deployment frequency and stability. Time to delivery belongs in the conversation with stakeholders, where the backlog queue is in scope and can actually be discussed.
In Marvex, cycle time analytics and the four-stage breakdown sit at the pull request level, DORA lead time sits with deployment frequency, change failure rate and MTTR on the team dashboard, and the org dashboard rolls teams up. Sprint data — from Jira or from SALT if Jira is not your source — is what connects a change back to the item that requested it, which is how the outer window gets closed without anyone maintaining a spreadsheet.
Frequently asked questions
What is the difference between lead time and cycle time?
What is DORA lead time for changes?
Which cycle time stage should a team improve first?
Should cycle time be reported as an average?
Can cycle time look good while delivery is getting worse?
How does Marvex measure cycle time?
Does rework time mean the developer did something wrong?
Keep reading
Marvex