KPI Tree
GitHubEngineering

Code Review Velocity

Code Review Velocity measures the elapsed time from when a pull request is opened or marked ready for review to when the first substantive review is submitted. It is a key driver of lead time for changes. Long review waits are one of the most common causes of developer context-switching.

GitHub metric

Engineering

Code Review Velocity = Median(First Review Timestamp − PR Ready Timestamp)

Code Review Velocity measures the elapsed time from when a pull request is opened or marked ready for review to when the first substantive review is submitted. It is a key driver of lead time for changes. Long review waits are one of the most common causes of developer context-switching.

Full guide: definition, formula, and benchmarks

How to calculate Code Review Velocity

Code Review Velocity = Median(First Review Timestamp − PR Ready Timestamp)

Why Code Review Velocity matters for GitHub users

Every hour a pull request waits for review is an hour the author must context-switch to other work, reducing flow state and overall throughput. Fast review velocity keeps the development pipeline moving and prevents work-in-progress from piling up.

For GitHub teams, this metric highlights whether review load is evenly distributed or concentrated on a few individuals. Addressing imbalances can dramatically improve cycle time without requiring anyone to work harder.

Driver

Conversion rate

23%
Granger-causal · lag 3d · q < 0.05

Outcome · 58% contribution

Revenue

15%

Understand and act on Code Review Velocity with KPI Tree

Sync pull request timeline events from GitHub into your warehouse and compute review velocity in KPI Tree. Position it upstream of lead time for changes in your metric tree to visualise causal impact.

Assign RACI ownership to team leads and set alerts when median review time exceeds your SLA, prompting redistribution of review load.

Get started with your GitHub data

Query using MCP
MCP

Pull metrics from GitHub directly through the Model Context Protocol.

Data Warehouse
SnowflakeBigQueryDatabricksRedshift

Connect your existing warehouse where GitHub data already lands.

Professional Services
FivetranSnowflakedbt

Our professional services team can build you turn-key AI foundations in a matter of weeks. Data warehouse on Snowflake/BigQuery, ELT with Fivetran, all modelled in dbt with a semantic layer.

Related GitHub metrics Ready to add to your trees.

Explore Code Review Velocity across integrations

Empower your team to understand and act on GitHub data

Map what drives your metrics, measure progress at any grain, prove what works statistically, and deliver personalised action plans to every team member.

Experience That Matters

Built by a team that's been in your shoes

Our team brings deep experience from leading Data, Growth and People teams at some of the fastest growing scaleups in Europe through to IPO and beyond. We've faced the same challenges you're facing now.

Checkout.com
Planet
UK Government
Travelex
BT
Sainsbury's
Goldman Sachs
Dojo
Redpin
Farfetch
Just Eat for Business