frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

1,145 pull requests per day

https://saile.it/1145-pull-requests-per-day/
92•sailE•14h ago

Comments

danpalmer•8h ago
My previous company averaged 2 PRs (and deploys) per engineer per day across a small team. At my current company I'm averaging about 2.5 CLs per day (they're a bit smaller changes). Stripe is good at this, but this is very achievable.

Often the problem is that we put too much into a single change. Smaller changes means easier reviews, better reviews, less risky deploys, forces better tooling for deployments and change management, often lower latency, and even often leads to higher throughput because of less WIP taking up head space and requiring context switching. The benefits are so compounding that I think it's very undervalued in some orgs.

polishdude20•7h ago
I think better tooling for deployments allows small changes. Not the other way around.
danpalmer•7h ago
That's sort of what I mean by small changes being a forcing function. The tooling we have available rarely makes this level of small changes untenable, it's just clunky. When you send 1k PRs a day though you'll notice things that are too clunky and fix them, and then that makes it easier to get to and maintain that level of productivity.
smadge•2h ago
> CL

Googler identified.

Scramblejams•1h ago
Maybe! Perforce (standard in AAA gamedev) speak is littered with CLs, too.
webprofusion•7h ago
Lol, yeah but a PR won't fix that expired cert.
scripturial•4h ago
It will if your certs are managed via a git repo.
compumike•3h ago
... but a small PR might warn you when your renewal automation breaks, before the cert actually expires: https://heiioncall.com/blog/barebone-scripts-to-check-ssl-ce... (a small blog post I wrote with example scripts for checking SSL cert expiry from Bash, Python, Ruby, more) ;)
sailE•2h ago
I get this comment sometimes and also other comments saying it 404s. The site has been up for years but seems there's still some old DNS floating around. Or some misconfiguration on my side.
xeromal•7h ago
PRs merged is the LOC count. Completely useless measure of anything really.
cesnja•1h ago
Based on DORA research it's correlated with the engineering team/company being a high-performer.
qznc•1h ago
The "Accelerate" book claims it is not just correlation but even causation: Higher deployment frequency causes better company performance.
cuttothechase•7h ago
Is counting the number of pull requests a useful measure of engineering performance ergo product performance and company perf?

Isn't it more like a BS counter that keep incrementing and that is indicative of churn but nothing else reliably.

One of the most low effort, easily to game metric that can be skewed to show anything that the user wants to show.

chhs•6h ago
In my org they count both the number of pull requests, and the number of comments you add to reviews. Easily gamed, but that's the performance metric they use to compare every engineer now.
darkmarmot•4h ago
good god, i would quit in a heartbeat.
supportengineer•3h ago
I’m going to write myself a new mini van this afternoon
tough•2h ago
YES! YES! YES!
netdevphoenix•33m ago
It will be gamed soon if it isn't already
panstromek•3h ago
By itself not, but combined with the rest of DORA metrics it's a pretty good indicator.
JimDabell•3h ago
> With some napkin math assuming a similar distribution today, that would mean on average each engineer ships at least 1 change to production every 3 days.

This is the important metric. It means there is very little divergence between what’s being worked on and what’s in production. The smaller the difference, the quicker you deliver value to users and the less risky it is to deploy.

qznc•1h ago
There is research (DORA/Accelerate/DevOps report) that makes a good case that throughput (like number of pull requests) contributes positively to company performance. More precisely the DORA metric is deployment frequency.
dgrin91•7h ago
This sounds like how PMS sometimes tout the number of tickets per sprint. It's not a relevant metric, and it's easily gamed

How many of those prs were small fixes? How many went to low used services, or services only used internally?

They clearly have strong set of tooling for dev ops stuff, and I do believe that stripe has strong technical chops, but this number does not show that they are delivering value. It just shows they are delivery something... Somewhere

m3kw9•7h ago
Sure, looks cool but really means nothing without looking at the type of changes. I could think of many tricks if I wanted to chase this stat
m3kw9•7h ago
I would think they have elite testing and QA team to make that happen
mdaniel•7h ago
I hope they're not using GitHub; my inbox is unusable from GitHub talking to itself and choosing to stand next to me at the party, and we're not [currently] doing anywhere near that volume

I've gotten some handle on it by some gmail filters but holy hell if you want to make sure I don't see something, smuggle it in a From:github.com email

With the new Copilot makes PRs, I could easily imagine getting to 1145 PRs per day, of which 45 will actually make it across the line and not be filled with horseshit

superblas•4h ago
FWIW you can go to settings on GitHub and select what you get emails about. There may even be a digest option such that you get one email per day with all the stuff you would’ve received individual emails about IIRC.
AdamJacobMuller•7h ago
Diminishing returns at some point, but, I think the counterpoint to this is companies who are doing a single huge manual deployment every month (or less) which is scheduled into a 4-hour outage window where many if not all services will be down for this period.

I do agree there isn't a lot of delta between a company doing 2 or 10 deploys a day and a company doing 1,200, but, there's a huge engineering gap between companies who do approximately .03 deploys per day and those doing multiple.

SchemaLoad•3h ago
Open source projects can be the worst at this stuff. I realise it's all volunteer run so I'm not complaining too much. But so often they end up pushing a versioned release once a year. So you end up finding a bug, going to report it and see it was fixed 8 months ago but still broken in the published package. And then they get afraid to push a new version because it's been so long since the last one that everything has changed.
hellojimbo•6h ago
Conventional "dev" wisdom says that LOC and PR count don't matter but I think its very easy to combine this data point with the nature of a dev's work to come up with a great heuristic on productivity.
coolcase•3h ago
It is good for ballparking. PR count is more interesting as if it is high it means you must have a good CI CD pipeline. I worked places where there were limits on commits a day due to monolith plus master CI/CD taking an hour. You then end up thinking of strategies like "I'll do that in the afternoon and get it to that state and it gets merged at this time" and so on. Which is inefficient.
xena•6h ago
404
mudkipdev•6h ago
Working fine for me
arp242•6h ago
Seem to be getting a 404?

https://web.archive.org/web/20250523000025/https://saile.it/...

burnt-resistor•6h ago
Impact is what matters. Not PRs/diffs or LoC. These are PHB KPIs.

Basically, they're bragging about how busy their engineers are making themselves look.

ijidak•5h ago
PHB? Pointy haired boss? My first time seeing this.
aaronax•5h ago
Yes, Dilbert comic reference.
Sytten•6h ago
More is not always better though. The simplicity of Stripe that made its success is not there anymore, ask anyone that had to build a stripe integration recently.
userbinator•6h ago
How often and how much you change your codebase is not something to brag about.
deepsun•6h ago
We do a lot of PRs as well. Most are automatically created and pushed.
darth_avocado•5h ago
The comments so far are surprising. Yea counting PRs and lines of code isn’t impressive, and yes you may also do them at your own company. Any engineer will tell you, if you push code often and continuously move it to production, regression is inevitable. In finance, at a scale that stripe operates, not making mistakes is very critical. Being able to do what the articles describes is very impressive in any engineering organization. Being able to do that as Stripe is even more impressive.
dakiol•2h ago
Fuck the mission. Fuck the culture. You are doing nothing but shoveling money into founders, investors and shareholders pockets.

https://news.ycombinator.com/item?id=32165794

eviks•2h ago
If it's not impressive why is the article so impressed (it's even in the headline)?

And no, not making any mistakes isn't critical, ... some are. You can have a million of UI mistakes and regressions (where is the stat for how many regressions there are?) and what not in the UI of you Stripe Dashboard app without any of them being critical. The "finance" aura doesn't permeate literally everything a finance company does, raising it to the critical level

netsharc•1h ago
I thought the article was going somewhere, it ended up being a very vapid "Impressive, right? Reflect what you can do to accomplish this in your organization".

Well the actual ending is, "Subscribe to my newsletter!".

arghwhat•1h ago
In finance, not making mistakes is not at all critical, and mistakes happpens all the time. Regulatory compliance is critical, as it provides a thorough legal defense even in case of failure.

The lack of efficiency in finance (or pharma for that matter) is not driven by a wish for quality, but purely from a fear of stepping outside regulatory compliance with no individual wanting to be responsible for any process optimization that could later be seen as non-compliant.

Younger companies on the other hand might realize that compliance controls are, in fact, something the company defines themselves and can structure and optimize however they'd like, allowing for both high throughput and compliance. It's just hard to implement in older companies where half the staff would fight back as their role exists purely due to poor processes and their overhead.

nitwit005•5h ago
How many of those people are actually working on the core payments flow that they're measuring the uptime of?

I'm sure most people are working on some settings UI, fraud or risk tools, etc.

metalrain•5h ago
Having minute of downtime per year is quite a big tradeoff.

It makes sense for Stripe, they would lose lot of money when not operating. But in smaller companies you can choose to take more downtime to reduce engineering time.

Instead of skirting around doing gradual data transformations on live data, you could take service offline and do all of it once.

madduci•5h ago
Is there any description of Stripe's architecture and infrastructure somewhere published?
revskill•3h ago
Non engineers stop that from reality.
sverhagen•3h ago
It is undoubtedly very impressive. But once you're set up for it, it's probably easier than saving up the changes and doing a big release at the end of the month, because the amount of change and the amount of risk, per deployment, then is also a lot higher.

Like other commenters here have said, it doesn't mean that I can say "(scoff --) we're doing the same" if I'm doing the same relative number of releases with my tiny team. But it is validating for a small team like mine to see that this approach works at large scale, as it does for us.

coolcase•3h ago
Yeah I get itchy if the pipeline to prod ain't working for more than 24h for one microservice. I love continuous deployment.
TowerTall•3h ago
Why do they need to change their software that much that often?
coolcase•3h ago
Not every PR is a feature. There will be lots of laying groundwork. Stuff going in but not yet activated as a feature flag. Small changes often make roll back easier. Regressions easier to detect. You can blue green your little change and auto detect if it is causing latency or availability issues on 1% then 10% etc. of traffic. This means you can early detect and do easy roll backs as nothing much has changed.

Downside: your code is always a Frankenstein monster of feature flags that need to be cleared up! But hey that's more PRs to boast about.

phtrivier•3h ago
It completely depends on what they call "a change", and the article does not make that clear.

If they're doing some sort of strict continuous integration, then, a "change" could be a 25 lines function with a 100 lines of unit tests, in the frame of a large project where the function will be used later in a UI component that will only be merged in two weeks.

The fact that it's "deployed" does not mean it's "used" in production as a final thing ; it might very much be "a step in the development".

And, even if they're shipping "feature" (that is, they're deploying the last commit in a project), it does not mean that all millions of users are seeing the change (they could use feature toggles, A/B testing, etc...)

Seen this way, about 2 PRs per day per eng is not unreasonable, and with enough devs, you can reach it.

Finally, they might very well have some automated PRs (i18n, etc..)

thewisenerd•3h ago
> few nuggets scattered on the internet regarding how Stripe does things (ex. #1, #2, #3) and in general the conclusion is that they have a very demanding but very advanced engineering culture

#3 is "What I Miss About Working at Stripe" (https://every.to/p/what-i-miss-about-working-at-stripe) reminiscing about 15-hour days, missing vacations, and crying at work.

discussed here; https://news.ycombinator.com/item?id=32159752 (131 comments)

tonyhart7•2h ago
wow, so like Asian company culture???
tough•2h ago
patio11 is a great read
sandspar•3h ago
It's hard for outsiders and novices to fathom what an assembly line feels like. Elite performers are often cranking things out at a scale that normal people wouldn't believe.
strken•32m ago
One PR every three days, while interesting for what it says about their development, has nothing to do with performance.

I had a day last week where I put up ten small PRs. It'd be a bit silly to say I was especially elite that day. I was just making small semi-related PRs for a routine task.

eviks•2h ago
> The goal is not 1,145 deployments per day. It's removing the friction that makes that pace impossible. What's really stopping you from rapidly shipping value to users?

But you haven't identified any value, just mindless cited some throughput stat. Merge your code changes in 1-letter increments and you can juke the stats even higher!

smadge•2h ago
One letter increments wouldn’t work because each commit has to leave the program correct. For example committing the first f of a for loop would leave the code with a syntax error. But you often should break up changes into as small as possible commits that leave the code correct. E.g. make one commit that refactors the code (no change in program output), then another change which implements the change in program behavior that motivated the refactor. This generally makes commits easier to review, less likely to contain defects, and easier to attribute bugs and roll back.
riffraff•2h ago
I forgot who coined the expression but it's a good rule "first make the change easy, then make the change", my top recommendation for incremental changes.
eviks•1h ago
Just a tiny modification and it would work - do one letter increments only for comments
koliber•2h ago
That would be clearly malicious with the goal of gaming stats and not bringing any value. I doubt that such dumb behavior would go unnoticed for any considerable time.

The article states that this comes out to be one deployed PR per 3 days per developer. That is clearly doable and does not require any dumb moves like parent suggests.

sailE•2h ago
I'm not sure why the stat is nitpicked that much. Of course you can completely fake this stat. I have no idea if Stripe does or how much LoC or actual functional changes these deployments do. It's just that they are very confident in shipping changes, all with minimum downtime. Constantly, every day. For a company which does a major part of the financial infrastructure of the web, that's impressive.

In my opinion the goal isn't getting to some arbitrary number, it's making this possible. That there are no process/technical/cultural impediments not allowing you to do changes every single day.

eviks•1h ago
Because you've put so much emphasis on this stat and imbued it with value without justification, so it makes it very easy to refute (also, the refutation of your central claim isn't a nitpick - this one is)

And you're doing it in this comment again. No, it's not impressive without some actual knowledge on what the changes are about their value. It may very well be that people are heavily pushed to make changes for the sake of making changes, and most of them are not that useful. Or it may be that, as is common with overworked people, they make a lot of mistakes that require further changes to correct them (ok, not the types of mistakes that affect reliability stat much, but then that's not the only category). Or they experiment way too much with those experiments leading nowhere, so it's just wasted effort. Or...

The daily goal is just as artificial. There should be little impediments to implement valuable changes, not to do something daily

riffraff•2h ago
The article seems surprised that you can do so many changes at scale, but IMO that's the wrong perspective. The larger the scale you have, the easier it must be to ship a change.

Yes, regressions will be more painful if you manage trillions of dollars, but it also means shipping a fix for such regressions needs to be easy and fast, which you can only do if you have a good and frequent CI/CD pipeline.

See also "The Infallible five-tier system for measuring the maturity of your Continuous Delivery pipeline". You should live on "Friday".

https://qntm.org/cd

AstralStorm•7m ago
Incorrect, shipping a fix quickly is relatively irrelevant, being able to roll back a busted change to a working configuration is critical.

The exception is security issues. But these usually require actual thinking to be fixed, so no, you're not getting volume in the first place.

Preferably not breaking things while doing your mostly cosmetic changes rather than patches limits the scope of this kind of fix churn.

cadamsdotcom•23m ago
Something to question though: does the A/B test system generate a changeset when an engineer flips a feature flag or changes the cohorts or percentage it’s rolled out to? Those are very safe changes generated by a template and with easy (maybe even automated) rollback, so they can happen all the time without really risking downtime.

There’ll still be plenty of changes made by humans. But some of those 1145 per day are so low-risk that they’re almost better off making more of them.

AstralStorm•9m ago
1145 really untested changes pushed to prod per day. :)

No, unit tests do not count.

John Carmack talk at Upper Bound 2025 – slides and notes

https://twitter.com/ID_AA_Carmack/status/1925710474366034326
169•tosh•4h ago•61 comments

KumoRFM: A Foundation Model for In-Context Learning on Relational Data

https://kumo.ai/company/news/kumo-relational-foundation-model/
23•cliffly•2h ago•3 comments

Tallest Wooden Wind Turbine

https://modvion.com/
46•Bluestein•4d ago•20 comments

Show HN: Defuddle, an HTML-to-Markdown alternative to Readability

https://github.com/kepano/defuddle
260•kepano•11h ago•50 comments

Lockheed Martin and IBM combine quantum computing with HPC in new research

https://www.ibm.com/quantum/blog/lockheed-martin-sqd
30•donutloop•4h ago•0 comments

That fractal that's been up on my wall for years

https://chriskw.xyz/2025/05/21/Fractal/
424•chriskw•17h ago•32 comments

Claude 4

https://www.anthropic.com/news/claude-4
1749•meetpateltech•17h ago•979 comments

Does Earth have two high-tide bulges on opposite sides? (2014)

http://physics.stackexchange.com/questions/121830/does-earth-really-have-two-high-tide-bulges-on-opposite-sides
211•imurray•14h ago•60 comments

Airport for DuckDB

https://airport.query.farm/
112•jonbaer•3d ago•15 comments

32 bits that changed microprocessor design

https://spectrum.ieee.org/bellmac-32-ieee-milestone
87•mdp2021•10h ago•17 comments

Mozilla to shut down Pocket and Fakespot

https://support.mozilla.org/en-US/kb/future-of-pocket
952•phantomathkg•17h ago•593 comments

How to cheat at settlers by loading the dice (2017)

https://izbicki.me/blog/how-to-cheat-at-settlers-of-catan-by-loading-the-dice-and-prove-it-with-p-values.html
113•jxmorris12•15h ago•92 comments

A Formal Mathematical Investigation on the Validity of Kellogg's Glaze Claims

https://old.reddit.com/r/theydidthemath/comments/1iljmig/_/
16•ZeroCool2u•3d ago•1 comments

Sketchy Calendar

https://www.inkandswitch.com/ink/notes/sketchy-calendar/
69•surprisetalk•10h ago•15 comments

Fast Allocations in Ruby 3.5

https://railsatscale.com/2025-05-21-fast-allocations-in-ruby-3-5/
219•tekknolagi•19h ago•54 comments

Improving performance of rav1d video decoder

https://ohadravid.github.io/posts/2025-05-rav1d-faster/
275•todsacerdoti•21h ago•95 comments

We’ll be ending web hosting for your apps on Glitch

https://blog.glitch.com/post/changes-are-coming-to-glitch/
116•js4ever•16h ago•61 comments

Ancient law requires a bale of straw to hang from Charing Cross rail bridge

https://www.ianvisits.co.uk/articles/ancient-law-requires-a-bale-of-hay-to-hang-from-charing-cross-rail-bridge-81318/
81•alexbilbie•1d ago•87 comments

A South Korean grand master on the art of the perfect soy sauce

https://www.theguardian.com/world/2025/may/21/without-time-there-is-no-flavour-a-south-korean-grand-master-on-the-art-of-the-perfect-soy-sauce
166•n1b0m•1d ago•137 comments

I Built My Own Audio Player

https://nexo.sh/posts/why-i-built-a-native-mp3-player-in-swiftui/
223•nexo-v1•19h ago•123 comments

Loading Pydantic models from JSON without running out of memory

https://pythonspeed.com/articles/pydantic-json-memory/
99•itamarst•15h ago•34 comments

When a team is too big

https://blog.alexewerlof.com/p/when-a-team-is-too-big
88•gpi•4d ago•84 comments

Richard Garwin’s role in designing the hydrogen bomb was obscured

https://www.nytimes.com/2025/05/19/science/richard-garwin-hydrogen-bomb.html
52•LAsteNERD•3d ago•22 comments

Show HN: SQLite JavaScript - extend your database with JavaScript

https://github.com/sqliteai/sqlite-js
163•marcobambini•20h ago•47 comments

Launch HN: WorkDone (YC X25) – AI Audit of Medical Charts

64•digitaltzar•18h ago•51 comments

The Future of Flatpak

https://lwn.net/Articles/1020571/
236•dxs•9h ago•165 comments

When good pseudorandom numbers go bad

https://blog.djnavarro.net/posts/2025-05-18_multivariate-normal-sampling-floating-point/
59•chewxy•4d ago•19 comments

Problems in AI alignment: A scale model

https://muldoon.cloud/2025/05/22/alignment.html
43•hamburga•14h ago•23 comments

Adventures in Symbolic Algebra with Model Context Protocol

https://www.stephendiehl.com/posts/computer_algebra_mcp/
104•freediver•19h ago•25 comments

1,145 pull requests per day

https://saile.it/1145-pull-requests-per-day/
93•sailE•14h ago•69 comments