▲ 447 ▼ Epic Games Bragged About Beating Steam’s Boot Times So Valve Dropped A Patch (www.eteknix.com) submitted 5 days ago by slartibartfast141@piefed.zip to c/pcgaming@lemmy.ca 185 comments fedilink hide all child comments Without any flashy marketing campaigns or social media fanfare, Valve rolled out a routine Steam Client update containing a very simple line in the patch notes: “Improved Steam Client startup performance.”
[–] driving_crooner@lemmy.eco.br 52 points 5 days ago* (10 children) - sleep(100) + sleep(50) permalink fedilink source parent hideshow 10 child comments replies: [–] hdsrob@lemmy.world 15 points 5 days ago (3 children) We have some of this, but it's usually to ensure that some system or hardware is available. We're a kiosk app on android so get started automatically on boot, and sometimes storage isn't available so we have to delay before loading our config or we get errors. permalink fedilink source parent hideshow 3 child comments replies: [–] onnekas@sopuli.xyz 2 points 4 days ago (1 child) I know this might be unnecessary over engineering but there has to be a way to check when storage is available and wait for that instead of simply waiting for a fixed amount of time and hope that storage is available then. permalink fedilink source parent hideshow 1 child comment replies: [–] hdsrob@lemmy.world 3 points 4 days ago There are calls we could make to query storage availability, but we can't move forward at this particular point without loading the settings, so we need to wait. We run on a limited number of devices, and know which manufacturers / devices have slow startups, so it's a little less resource intensive to just wait a few ms on those devices than to continually query storage, or handle the missing storage exceptions in a loop (invoking error handlers is generally pretty expensive, and we don't want to log this particular issue). This is usually at a device reboot in the middle of the night when no one is working, so even a few seconds at startup isn't the end of the world. permalink fedilink source parent [–] gravitas_deficiency@sh.itjust.works 1 point 4 days ago Why would you do that instead of polling with retry/backoff? permalink fedilink source parent [–] joyjoy@piefed.social 2 points 5 days ago (5 children) You may think this is a joke, but people will start complaining if a program is too fast. permalink fedilink source parent hideshow 5 child comments replies: [–] hdsrob@lemmy.world 17 points 5 days ago I'm sure it happens, but in 25 years I've never had a client complain about anything being too fast. permalink fedilink source parent [–] DdCno1@beehaw.org 6 points 5 days ago Because they feel like (from their perspective) complex operations should require "effort" by the system and program so that they appear heavy and meaningful? permalink fedilink source parent [–] thingsiplay@lemmy.ml 2 points 5 days ago (2 children) What does starting a program "too" fast mean? And who complained ever about it? Any links? permalink fedilink source parent hideshow 2 child comments replies: [–] frongt@lemmy.zip 6 points 5 days ago* (1 child) Psychology. People think that if a process completes remarkably quickly, it didn't do the whole thing. Plenty of articles on the psychology of progress bars; take your pick. One interesting scenario is that games used to have tips on their loading screens. With SSDs, everything loads so fast that if you might miss it if it closes automatically. permalink fedilink source parent hideshow 1 child comment replies: [–] onnekas@sopuli.xyz 2 points 4 days ago Regarding the loading screen scenario: I get that you would put tips in your loading screen so the player doesn't get bored when he has to wait. But I would never artificially extend the loading duration to show tips. permalink fedilink source parent
[–] hdsrob@lemmy.world 15 points 5 days ago (3 children) We have some of this, but it's usually to ensure that some system or hardware is available. We're a kiosk app on android so get started automatically on boot, and sometimes storage isn't available so we have to delay before loading our config or we get errors. permalink fedilink source parent hideshow 3 child comments replies: [–] onnekas@sopuli.xyz 2 points 4 days ago (1 child) I know this might be unnecessary over engineering but there has to be a way to check when storage is available and wait for that instead of simply waiting for a fixed amount of time and hope that storage is available then. permalink fedilink source parent hideshow 1 child comment replies: [–] hdsrob@lemmy.world 3 points 4 days ago There are calls we could make to query storage availability, but we can't move forward at this particular point without loading the settings, so we need to wait. We run on a limited number of devices, and know which manufacturers / devices have slow startups, so it's a little less resource intensive to just wait a few ms on those devices than to continually query storage, or handle the missing storage exceptions in a loop (invoking error handlers is generally pretty expensive, and we don't want to log this particular issue). This is usually at a device reboot in the middle of the night when no one is working, so even a few seconds at startup isn't the end of the world. permalink fedilink source parent [–] gravitas_deficiency@sh.itjust.works 1 point 4 days ago Why would you do that instead of polling with retry/backoff? permalink fedilink source parent
[–] onnekas@sopuli.xyz 2 points 4 days ago (1 child) I know this might be unnecessary over engineering but there has to be a way to check when storage is available and wait for that instead of simply waiting for a fixed amount of time and hope that storage is available then. permalink fedilink source parent hideshow 1 child comment replies: [–] hdsrob@lemmy.world 3 points 4 days ago There are calls we could make to query storage availability, but we can't move forward at this particular point without loading the settings, so we need to wait. We run on a limited number of devices, and know which manufacturers / devices have slow startups, so it's a little less resource intensive to just wait a few ms on those devices than to continually query storage, or handle the missing storage exceptions in a loop (invoking error handlers is generally pretty expensive, and we don't want to log this particular issue). This is usually at a device reboot in the middle of the night when no one is working, so even a few seconds at startup isn't the end of the world. permalink fedilink source parent
[–] hdsrob@lemmy.world 3 points 4 days ago There are calls we could make to query storage availability, but we can't move forward at this particular point without loading the settings, so we need to wait. We run on a limited number of devices, and know which manufacturers / devices have slow startups, so it's a little less resource intensive to just wait a few ms on those devices than to continually query storage, or handle the missing storage exceptions in a loop (invoking error handlers is generally pretty expensive, and we don't want to log this particular issue). This is usually at a device reboot in the middle of the night when no one is working, so even a few seconds at startup isn't the end of the world. permalink fedilink source parent
[–] gravitas_deficiency@sh.itjust.works 1 point 4 days ago Why would you do that instead of polling with retry/backoff? permalink fedilink source parent
[–] joyjoy@piefed.social 2 points 5 days ago (5 children) You may think this is a joke, but people will start complaining if a program is too fast. permalink fedilink source parent hideshow 5 child comments replies: [–] hdsrob@lemmy.world 17 points 5 days ago I'm sure it happens, but in 25 years I've never had a client complain about anything being too fast. permalink fedilink source parent [–] DdCno1@beehaw.org 6 points 5 days ago Because they feel like (from their perspective) complex operations should require "effort" by the system and program so that they appear heavy and meaningful? permalink fedilink source parent [–] thingsiplay@lemmy.ml 2 points 5 days ago (2 children) What does starting a program "too" fast mean? And who complained ever about it? Any links? permalink fedilink source parent hideshow 2 child comments replies: [–] frongt@lemmy.zip 6 points 5 days ago* (1 child) Psychology. People think that if a process completes remarkably quickly, it didn't do the whole thing. Plenty of articles on the psychology of progress bars; take your pick. One interesting scenario is that games used to have tips on their loading screens. With SSDs, everything loads so fast that if you might miss it if it closes automatically. permalink fedilink source parent hideshow 1 child comment replies: [–] onnekas@sopuli.xyz 2 points 4 days ago Regarding the loading screen scenario: I get that you would put tips in your loading screen so the player doesn't get bored when he has to wait. But I would never artificially extend the loading duration to show tips. permalink fedilink source parent
[–] hdsrob@lemmy.world 17 points 5 days ago I'm sure it happens, but in 25 years I've never had a client complain about anything being too fast. permalink fedilink source parent
[–] DdCno1@beehaw.org 6 points 5 days ago Because they feel like (from their perspective) complex operations should require "effort" by the system and program so that they appear heavy and meaningful? permalink fedilink source parent
[–] thingsiplay@lemmy.ml 2 points 5 days ago (2 children) What does starting a program "too" fast mean? And who complained ever about it? Any links? permalink fedilink source parent hideshow 2 child comments replies: [–] frongt@lemmy.zip 6 points 5 days ago* (1 child) Psychology. People think that if a process completes remarkably quickly, it didn't do the whole thing. Plenty of articles on the psychology of progress bars; take your pick. One interesting scenario is that games used to have tips on their loading screens. With SSDs, everything loads so fast that if you might miss it if it closes automatically. permalink fedilink source parent hideshow 1 child comment replies: [–] onnekas@sopuli.xyz 2 points 4 days ago Regarding the loading screen scenario: I get that you would put tips in your loading screen so the player doesn't get bored when he has to wait. But I would never artificially extend the loading duration to show tips. permalink fedilink source parent
[–] frongt@lemmy.zip 6 points 5 days ago* (1 child) Psychology. People think that if a process completes remarkably quickly, it didn't do the whole thing. Plenty of articles on the psychology of progress bars; take your pick. One interesting scenario is that games used to have tips on their loading screens. With SSDs, everything loads so fast that if you might miss it if it closes automatically. permalink fedilink source parent hideshow 1 child comment replies: [–] onnekas@sopuli.xyz 2 points 4 days ago Regarding the loading screen scenario: I get that you would put tips in your loading screen so the player doesn't get bored when he has to wait. But I would never artificially extend the loading duration to show tips. permalink fedilink source parent
[–] onnekas@sopuli.xyz 2 points 4 days ago Regarding the loading screen scenario: I get that you would put tips in your loading screen so the player doesn't get bored when he has to wait. But I would never artificially extend the loading duration to show tips. permalink fedilink source parent