Skip to content
Dave Brown

How do I measure developer productivity?

Measure the team's delivery, not individual output. Track four DORA metrics: deployment frequency, lead time for changes, change failure rate, and time to restore service. Pair them with one product outcome, like features adopted. Never rank developers by lines of code, commits or pull requests, because people will game those numbers within weeks.

Dave Brown · CTO & Executive Advisor · Updated

Developer productivity is hard to measure because the valuable work is mostly thinking, and thinking does not show up in a dashboard. What you can measure is how smoothly ideas move from a decision to running in front of customers. That is the number worth watching.

What should I measure?

Start with the four DORA metrics (from the DevOps Research and Assessment research program, now the standard way to measure delivery):

MetricWhat it tells youHealthy for a small team
Deployment frequencyHow often you shipDaily or several times a week
Lead time for changesIdea merged to running in productionUnder 2 days
Change failure rateShare of releases that cause a problemUnder 15 percent
Time to restoreHow fast you recover from a failureUnder a few hours

Most of this data already exists in your source control and deploy tools. A free or cheap tool can read it, or an engineer can pull it in an afternoon. Do not buy an expensive platform before you have looked at the raw numbers once.

What should I add on top?

DORA measures speed and stability. It does not tell you whether you built the right thing. Add one or two measures that connect to the business:

  • Share of planned work that actually shipped this quarter.
  • Adoption of the last three features you released.
  • Number of customer-reported bugs per month.

Also ask your engineers once a quarter how it feels: how long builds take, how often they are interrupted, whether they trust the tests. A short survey catches friction that metrics miss, and the answers are often more useful than the numbers.

What should I never measure?

Lines of code, commit counts, pull request counts, hours online, and story points per person. Each one is easy to inflate and rewards the wrong behavior. A developer who deletes 2,000 lines of dead code and prevents a year of bugs looks unproductive on all of them.

The rule I use: any metric used to rank individuals will be gamed, and the better the engineer, the faster they notice. Use team-level numbers for improvement, and use conversations, code review and delivered outcomes to judge individuals.

How do I measure it if I am not technical?

You do not need to read code. Ask for a one-page monthly report with the four DORA numbers, the list of what shipped, and the biggest risk. Compare month to month rather than against some industry benchmark. A trend moving the right way matters more than a number that looks good once.

If the numbers are bad, do not conclude that the team is lazy. Slow lead time is usually a process problem, such as a long review queue, flaky tests, or manual deploys. Fixing those tends to improve results faster than any amount of pressure.

What about AI coding tools?

They can inflate activity metrics (more code, more pull requests) without improving delivery. If you adopted them, keep watching lead time and change failure rate. If code volume rises but failures rise too, the tools are creating review burden, not value.

What I'd do

Set up the four DORA metrics this month, review them monthly as a team, and pick one to improve each quarter. Add one product outcome so speed is tied to something customers notice. Keep individual performance a matter for managers and code review, not dashboards.

Where I come in. If this is a decision in front of you right now, it’s the kind of thing I help with through Engineering Organization & Leadership. Often begins with a short diagnostic phase, followed by ongoing advising through implementation.

Get in touch

Available for a small number of conversations.

If something here is relevant to a decision you’re facing, I’d like to hear about it.