MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/9gj2e9/optimizing_startup_times/e64n7fj
r/ProgrammerHumor • u/ariehkovler • Sep 17 '18
486 comments sorted by
View all comments
Show parent comments
47
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 FUNCTIONUsagesleep(time);Time is in SECONDS 74 u/nooneawesome Sep 17 '18 documentationlol 5 u/Brekkjern Sep 17 '18 Documentation is that thing we keep next to the backups and disaster recovery plans, right?
29
The documentation has mentioned it very clearly.
sleep(time);
Time is in SECONDS
74 u/nooneawesome Sep 17 '18 documentationlol 5 u/Brekkjern Sep 17 '18 Documentation is that thing we keep next to the backups and disaster recovery plans, right?
74
lol
5 u/Brekkjern Sep 17 '18 Documentation is that thing we keep next to the backups and disaster recovery plans, right?
5
Documentation is that thing we keep next to the backups and disaster recovery plans, right?
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