Two eras in numbers

MetricPostHogTanoChange
Throughput
Merged PRs8591,6381.9×
Repositories251
PRs per 30 dayswhole tenure18.920711.0×
Best 8-month stretchPostHog: Feb–Oct 20232351,6387.0×
PRs per day with a merge1.811.76.4×
Most PRs merged in one day7446.3×
Most PRs merged in one week1515110.1×
Lines added per 30 days2,899102,23935.3×
Lines added, best 8 months24,064807,68933.6×
Shape of a PR
Median lines added per PR422295.5×
Median files changed per PR362×
Commits per PRbefore squash6.03.20.53×
Deletions per line added0.270.20slightly lower
Speed and review
Median time, open to mergePostHog main repo alone: 6.0 h15.1 h0.7 h21× faster
Merged within one hour23%57%+35 pts
Slowest quarter of PRs take longer than71 h2.5 h28× faster
Review threads per PRTano count includes an automated reviewer1.441.23slightly fewer
Teammates' PRs I reviewed or commented on1,5896724× fewer
Teammates' PRs reviewed per merged PR1.850.0445× fewer
Teammates' PRs reviewed per month~35~84× fewer
PRs later reverted2.3%0.4%6× fewer
What goes into the diff
Share of PRs that add features36%52%+16 pts
Share of PRs that fix bugs37%30%−7 pts
Test code as share of lines added53%42%−10 pts
Documentation lines writtenMarkdown and MDX, incl. posthog.com docs and blog2,94924,7508.4×
Distinct commit scopesthe (scope) in feat(scope):752313.1×
Distinct directories touchedfirst three path levels, all repos7065330.75×