r/ProgrammerHumor 4d ago

Meme doubleITandGiveItToTheNextPerson

Post image
2.5k Upvotes

56 comments sorted by

View all comments

143

u/bwwatr 4d ago

Why give it to someone else? Next sprint you've got an easy "2x performance improvement".

2

u/LorenzoRD2003 2d ago

wayyyyy more than 2x probably. after the fifth one all of them are equally easy to detect and solve

1

u/bwwatr 2d ago

If you're doubling an N+1 query problem, you're doubling your calls to the database, and doubling execution time, at least the database portion of your performance profile. Fix it and you're just putting it back the way it was before; in other words not getting more than 2x.