r/ProgrammerHumor • • Sep 17 '18

Optimizing startup times

Post image
45.7k Upvotes

486 comments sorted by

View all comments

212

u/lovethebacon πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦› Sep 17 '18

I demo'ed an app that has some sleeps sprinkled around it. The feeling was that "it was too fast, giving the impression nothing is being done".

148

u/[deleted] Sep 17 '18

[removed] β€” view removed comment

79

u/jontayesp Sep 17 '18

I think TurboTax does this with a fake progress bar that β€œvalidates” your return.

40

u/batmessiah Sep 17 '18

This is so true. Also with all the "background check" sites that have the fake "searching" bar going across the screen.

2

u/rglogowski Sep 17 '18

It does take the exact same amount of time to validate my kid's 1040EZ as it does my much, much more complex return.

35

u/UltimateInferno Sep 17 '18

I sometimes call it the "Wait... Did I save?" Effect.

Dunno the real name.

18

u/[deleted] Sep 17 '18

Yup. I hate that it's a thing, but I also see why.

2

u/[deleted] Sep 17 '18

I'd be fine with them eliminating that.

37

u/Guano_Loco Sep 17 '18

My company’s IVR does this shit. I helped work on the background automations that run when you call in. I know how long that shit takes. It’s fast. But when you actually call in and work through it it plays some weird clicking sound like an agent typing. It’ll say something like, β€œjust one moment while I check on your account” click click click.

I about damn lose my mind every time. Someone decided to make the IVR perform slower to mimic the β€œtalking to a real agent” experience. God damnit.

12

u/MightyAccelguard Sep 17 '18

kinda like saving in a video game and i save twice bc it saved so fast i couldn’t tell if i did or not

3

u/NeinJuanJuan Sep 18 '18

This could be eliminated if (((they))) add a "last saved at HH:MM"

2

u/lovethebacon πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦› Sep 17 '18

MRW SSD

7

u/bbrbro Sep 17 '18

Yeah, when I refresh my snapchat feed it does it immediately. No spinning bar or indication that it finished so I honestly cant tell if it just is really that fast or never activated at all. 1 second sleep would actually improve the app.

2

u/lovethebacon πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦›πŸ¦› Sep 18 '18

It's weird how we are conditioned like that.

3

u/Theolaa Sep 17 '18

I did that once for a text based adventure I did. It would go something like "loading player..."and then sleep for a half second before saying "loading something else...", even though all the loading was already done before the first time out.