DeliveryCompass

← Blog

PR Cycle Time by Team: What to Measure in GitHub

If you want to improve PR cycle time engineering team performance, start by measuring the parts of the pull request flow that your team can actually influence. The goal is not to track more numbers; it is to separate creation, review, and merge time so each team can see where work stalls in GitHub.

For team-scoped reporting, focus on a small set of KPIs: cycle time, review time, time to first review, and the share of PRs that sit waiting on feedback. With the right team and repo mapping, you can compare teams without mixing unrelated work, then use trend charts and drill-downs to find the bottleneck behind the trend.

What PR cycle time means for a team in GitHub

PR cycle time is the elapsed time from when a pull request is opened until it is merged. At the team level, that number is useful only when you can see how it breaks down. A team may have fast coding but slow review, or quick review but delayed merge because of size, handoffs, or unclear ownership.

In GitHub, team-scoped PR cycle time helps you answer practical questions:

  • Which team has the longest end-to-end PR flow?
  • Is the delay before first review or after first review?
  • Are large PRs slowing a specific team more than others?
  • Do some repos consistently create longer waits than the team average?

If you want a broader framing for delivery metrics, see Choosing delivery metrics.

The core metrics to measure, not just cycle time

Cycle time alone is too blunt for coaching. The most useful team view breaks it into a few simple measures that show where time is spent.

1. PR cycle time

This is your top-line metric. Use it to track whether the team is getting faster or slower over time, but avoid treating it as the only signal.

2. Time to first review

This shows how long a PR waits before someone responds. It is often the best indicator of review discipline and reviewer load.

3. Review duration

This covers the time from first review to merge. Long review duration can point to repeated revisions, unclear expectations, or PRs that are too large.

4. PR size or scope proxy

PR size helps explain variance. A team with larger changes may naturally have longer cycle time, so compare like with like where you can.

5. Stale or waiting time

When a PR sits without activity, it often exposes the real friction: missing reviewers, unclear ownership, or a queue that is too deep.

To see how these measures fit together, review Metrics and PR lead time by team.

How to scope GitHub data by team and repo

Team-level measurements only work when the scope is clean. If one dashboard mixes multiple teams or includes repos that a team does not own, the result is hard to trust and harder to act on.

Use team and repo mapping to define the boundary for each team’s PR data. That gives you scoped KPIs tied to the code the team actually ships. It also makes it easier to compare teams without arguing about whose work belongs where.

  • Map each team to the repos it owns or actively supports.
  • Keep the mapping stable enough for trend analysis.
  • Review repo coverage when ownership changes.
  • Exclude work that does not reflect the team’s normal delivery flow.

For setup details, see Teams and repos and Setup.

What to look for in trends and drill-downs

Trend lines tell you whether the team is improving. Drill-downs tell you why. Together, they turn a broad metric into something you can use in a staff meeting or a 1:1.

In a team analytics view, look for pattern changes like these:

  • Cycle time rising while first review stays flat: the issue may be late-stage revisions or merge delays.
  • First review getting slower: the reviewer queue may be the bottleneck.
  • Only one repo dragging the team average: the problem may be local, not team-wide.
  • Fast median but a long tail: a few difficult PRs may be distorting perception of the whole team.

Chart drill-downs are especially helpful when you need to move from “the team is slow” to “these PRs are waiting on review, and these are waiting on changes.” For that workflow, see Team analytics and Chart milestones.

How to use team KPIs in GitHub without overreacting

Managers often make the same mistake: they treat a short-term spike as a performance problem. Team PR metrics are more useful when you use them to understand the flow, then check for repeat patterns before acting.

A practical review rhythm looks like this:

  1. Check the weekly trend for cycle time and first review time.
  2. Look at the team table to spot outliers.
  3. Drill into the PRs behind the trend.
  4. Ask whether the issue is review load, PR size, ownership, or handoff timing.
  5. Use the result to adjust working agreements, not just the dashboard.

If you run recurring reviews, a weekly summary can help surface the items that deserve attention in staff meetings. See Weekly summary and Staff meeting metrics.

Common mistakes when measuring PR cycle time by team

Most measurement problems come from scope, not math. If your team is not careful, the metric stops being actionable.

  • Mixing unrelated repos. The team average becomes a blend of different release patterns.
  • Ignoring review time. You can miss the actual bottleneck.
  • Comparing teams with very different PR sizes. Bigger work naturally takes longer.
  • Using single-week snapshots as verdicts. One week is noise; trends are the signal.
  • Measuring without a shared definition. Everyone should know what counts as start and finish.

It also helps to understand known product boundaries before you build process around the numbers. See Limitations and the pilot notes at /docs/limitations#pilot.

FAQ

What is the best metric for PR cycle time engineering team reporting?

The best starting point is end-to-end PR cycle time, but it should be paired with time to first review and review duration. That combination shows whether the team is waiting on reviewers, changes, or merge readiness.

Should I compare team averages or medians?

Medians are usually more useful because they are less affected by a few unusually large or messy PRs. If you need more context, add a trend line and inspect the long tail separately.

How often should I review team PR cycle time?

Weekly is a good cadence for team coaching. It is frequent enough to catch changes in flow and slow enough to avoid reacting to normal noise.

How do I know whether a slow cycle time is a team problem or a repo problem?

Use team and repo mapping, then drill down by repo. If one repository consistently lags while others in the same team are healthy, the issue is probably local to that codebase or workflow.

What should I do after I find a bottleneck?

Start with the bottleneck closest to the delay: reviewer queue, large PRs, unclear ownership, or slow handoffs. Then re-check the same metric in the next few weeks to see whether the change helped.

If you are setting this up for the first time, start with Dashboard, then review How it works and GitHub metrics for managers.

Ready to measure PR cycle time by team in a way your staff can trust? Start onboarding to connect GitHub, scope teams and repos, and review team KPIs in one place.