What is Lead Time Breakdown
Lead Time Breakdown splits the time from a PR’s first commit to its close into three phases: coding time, pickup time, and review time. It shows where your workflow slows down. In the Cockpit, it’s the Lead Time Breakdown chart on the Productivity tab: one stacked bar per week, with Coding Time, Pickup Time and Review Time in hours. Click a name under the chart to hide or show that phase.How We Calculate It
- Coding Time: from the first to the last commit of the PR, including commits pushed after the PR was opened.
- Pickup Time: from the last commit until the PR is opened. It is negative for a PR that got new commits after it was opened.
- Review Time: from the PR being opened until it is closed, merged or not.
Why It Matters
Understanding where time is spent helps you optimize the right part of your process:- Coding Time: shows development efficiency
- Pickup Time: reveals workflow bottlenecks between finishing code and asking for review
- Review Time: indicates review process effectiveness
How to Improve
Reduce Coding Time
- Make requirements clear before work starts
- Break large features into manageable pieces
- Pair on complex problems
Reduce Pickup Time
- Open the PR right after finishing the code
- Automate PR creation and setup
- Define when code is ready for review
Reduce Review Time
- Set clear expectations for reviewers
- Use automated checks to catch issues before review
- Spread review load across the team
- Respond promptly to review comments
- Keep PRs small