Glossary

Batch Size

Batch size is the amount of work that moves through a delivery step as one unit, such as the lines in a pull request or the commits in a deployment.

Batch Size

What Is Batch Size?

Batch size is the amount of work that moves through a delivery step as one unit. In software, the usual batches are the lines changed in a pull request, the commits in a deployment, and the features in a release. The term comes from lean manufacturing, where smaller batches shorten the time each item spends waiting.

Why Batch Size Matters

Large batches are slow and risky for a simple reason: everything in the batch waits for the slowest part. A 1,500-line pull request sits in review for days because no one has a free hour to read it. When a deployment with 40 commits breaks production, the team has 40 candidates to investigate. With 3 commits, the cause is usually obvious.

How Batch Size Is Measured

Batch size is counted at each step:

  • Pull request size:lines added + lines deleted, or files changed.
  • Deployment size: commits or pull requests per production deployment.
  • Release size: work items per release.

For example, a team merges one pull request with 1,200 changed lines. Split by concern, the same work is four pull requests of about 300 lines each. Each small pull request is reviewed and merged independently, so three of them can ship while the fourth is still under discussion.

DORA research treats working in small batches as a core capability of high-performing teams. Deployment frequency acts as a proxy for it: a team that deploys many times a day cannot be shipping large batches.

How Oobeya Uses Batch Size

Oobeya measures batch size at the pull request and the deployment. The Pull Requests tab under Analytics > Coding, Review & Delivery shows pull request size next to cycle time and time to merge for each repository. The oversize pull requests Symptom appears on a team scorecard when pull requests exceed a threshold that administrators can change. On the Deployments (DORA) tab, deployment frequency and lead time for changes show how often and how quickly batches reach production.

Frequently Asked Questions

What is a good pull request size?

Smaller is better for review speed and defect detection. Many teams aim for a few hundred changed lines at most, and treat anything a reviewer cannot read in one sitting as too large.

How does batch size affect cycle time?

Larger batches take longer to review, test and merge, so cycle time rises with batch size. They also wait longer for a reviewer to start.

Related Pages

Move from definition to product context with the most relevant Oobeya pages for this term.

Turn Engineering Terms Into Actionable Visibility
Move from definitions to real delivery, quality, workflow, and AI-assisted development signals.
Talk to our experts and see how Oobeya connects the metrics behind your engineering organization.