How Google Chrome for Mac appears to launch so fast
shipsomecode.com
shipsomecode.com
Do. I want the illusion of a faster launch almost as much as I want a faster launch.
What is it people rave about when they try SSDs? Is it the shock resistance? The power use? The noise? No. It's primarily "Wow, everything starts so much faster!".
Meanwhile, normal users click the Chrome icon and the window appears, and they start using it, instead of continuing to stare at the dock icon. Or even more likely, the app was already running.
If lots of developers do this the negative effects will be longer desktop loading times, the time from login to usable desktop, and more idle memory usage. With memory so cheap, I wouldn't be surprised if this becomes more common, though personally I think it isn't polite to the user.
If the number of bounces makes you think apps are slow to start, you can disable dock bouncing. But you're totally right that it does make it feel like Chrome starts up faster.
I wasn't suggesting SSD startup speed changes are illusory.
The author then goes on to ignore his own advice, and shows us demoing the trick in his own application.
You've explained why it's done to get Cocoa components, but you haven't pointed out why it's a bad idea. It seems faster, which is good. Does it do any harm?
You don't abuse undocumented features of your environment as a developer. It's always a bad idea, it will always inevitably come back and bite you (or even worse, your users) a few years later.