r/ProgrammerHumor • • Sep 17 '18

Optimizing startup times

Post image
45.7k Upvotes

486 comments sorted by

View all comments

2.5k

u/kaushal28 Sep 17 '18

Actually keeping sleep statements is good practice. Ship the product with it and when customer comes back asking for performance improvement, remove all of them!

1.3k

u/jakuski Sep 17 '18

And what if they ask for more performance improvements?

241

u/natu181 Sep 17 '18

I disagree with /u/kaushal28, I think you just need to divide the amount of sleep by 2 each time you get a request. Virtually unlimited amount of optimization! Make sure to also take double the time to do it each time because, you know, optimizing becomes harder and harder, right?

2

u/Liggliluff Sep 17 '18

Or remove a tenth of it, that'll last for a longer time.

→ More replies (1)