Larger PRs are updated 5x more after publishing than smaller PRs.
  • The median PR is updated once between publishing and merging (2 submits total). Additionally, the median user updates their PR once between publishing and merging.

    • This median of two submits per merged PR holds true across org size
  • Two factors that affect how frequently changes are pushed to a PR include:

    • Whether the PR has any reviews (which may be self-perpetuating): the more reviews, the more commits before merging

    • The size of the PR: PRs under 50 lines, on median, are merged after publishing without any interstitial commits. In contrast, PRs over 500 lines are updated 5x after publishing (6 total commits including the initial push to remote).

      Submit frequency cut by PR size

    • Even when controlled by number of reviews, larger PRs have commits prior to merging Submit frequency cut by PR size and number of reviews

  • This has implications on time spent waiting for CI runs and CI costs, which we will follow up on in a later research post.

On this page
Git inspired
Graphite's CLI and VS Code extension make working with Git effortless.
Learn more

Graphite
Git stacked on GitHub

Stacked pull requests are easier to read, easier to write, and easier to manage.
Teams that stack ship better software, faster.

Or install our CLI.
Product Screenshot 1
Product Screenshot 2