lulzx.comwriting →
← writing

Speed is respect

evergreenMar 20243 min read

Every millisecond you waste is a millisecond of someone's life.

That sounds dramatic. Multiply it. A page that takes 2 seconds instead of 200ms, loaded 10,000 times a day. That is 5 hours of human life. Every day. On one page. You will never meet those people. They still paid.

What a wait does

A click that comes back before you lift your finger feels like your hand did the thing. Past a second your mind leaves the sentence you were reading. You check another tab. You forget why you opened this one. The work is still in flight. The person is not. Ten seconds and they have left the page for good.

The wait also grows in memory. A slow page feels longer than the clock says, and later it feels longer still. You remember the stall, not the content.

Average time lies. The request that takes two seconds while the rest take eighty milliseconds is the one that trains people to flinch. I watch the slow end of the distribution. That is the one they will tell a friend about.

Where the time actually goes

Most of the five hours is work nobody asked for. A payload that includes three screens the person will never open. A sort of data that has not changed since Tuesday. A round trip for a value you could have written into the page. A script that runs before the first paint to decide something the HTML already knew.

I pick the structure that matches the question. I do not load what this screen does not use. I do not make someone wait for a result I could have computed before they arrived. This site is files. There is no query to hide behind. If a page is slow here, I shipped the wait on purpose.

I do not mean polishing a path that runs once at deploy. I mean the path a stranger hits with their thumb, ten thousand times, while I am doing something else. The 5 hours is that path, multiplied, and ignored because each wait looked small in isolation.

Getting out of the way

When the software is slow I am saying my afternoon was worth more than theirs. I had the files open. They had a bus to catch. I left the extra query in because the box was quiet on my desk.

The fastest software I use is the software I forget is there. It does the thing and steps aside. No spinner that apologizes. No skeleton that advertises the wait. Just the next state, already true.

You take the time once, on your side of the click, so they do not take it ten thousand times on theirs.