Skip to content
Marvex

Glossary

Batch size

Batch size is the amount of change bundled into a single unit of delivery — a pull request, a release or a deployment — and reducing it is the mechanism behind most of the improvements attributed to continuous delivery.

Definition

Batch size: Batch size is the amount of change bundled into a single unit of delivery — a pull request, a release or a deployment — and reducing it is the mechanism behind most of the improvements attributed to continuous delivery.

In practice

How Batch size is used

Batch size is a lean concept that transfers almost perfectly to software. Large batches take longer to review, longer to test, longer to debug when they break, and are harder to roll back because they contain changes you did not intend to revert. Small batches invert every one of those properties.

Its most important effect is on failure diagnosis. When a release contains one change and something breaks, the culprit is known. When it contains forty, the failure has forty candidate causes and the investigation itself becomes the outage. This is why change failure rate and deployment frequency tend to move in the same direction rather than trading off — a finding the DORA research programme has reported across multiple years.

Batch size also compounds through the pipeline. A large pull request produces a slow review, which delays the merge, which lets the branch drift, which produces conflicts and rework, which delays it further. The delay is not proportional to the size; it grows faster than the size does.

Reducing it is a design discipline rather than a tooling change. Feature flags let incomplete work merge safely. Expand-and-contract migrations let a schema change ship in small reversible steps. Branch by abstraction lets a large refactor land incrementally on trunk. All three exist to make a small batch possible when the feature is large.

Marvex makes batch size visible through pull request size distributions and through the number of changes attributed to each deployment, using the deployment definition — PR_MERGE or WORKFLOW — configured for that repository.

Quick answer

What is Batch size?

Batch size is the amount of change bundled into a single unit of delivery — a pull request, a release or a deployment — and reducing it is the mechanism behind most of the improvements attributed to continuous delivery.

Marvex

See Batch size for your teams

Marvex computes delivery metrics from the GitHub, GitLab and Jira history your teams already produce, so definitions like this one turn into numbers you can act on.