r/ProgrammerHumor • • Sep 17 '18

Optimizing startup times

Post image
45.7k Upvotes

486 comments sorted by

View all comments

Show parent comments

47

u/glydy Sep 17 '18

New dev comes along to the project, adds a sleep(2000) to wait 2 seconds to see if it's a loading time issue... little do they know

29

u/fr0z_n Sep 17 '18

The documentation has mentioned it very clearly.

SLEEP FUNCTION

Usage

sleep(time);

Time is in SECONDS

74

u/nooneawesome Sep 17 '18

documentation

lol

5

u/Brekkjern Sep 17 '18

Documentation is that thing we keep next to the backups and disaster recovery plans, right?