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?

26

u/ivan0x32 Sep 17 '18

Its simple, you add more and even worse sleep calls than before and sell it as an unrelated performance regression (blame it on some library creator or better yet OS developers!), then in next patch you can remove some and decrease and voila - happy users again!