avatar
Patrik Svensson @patriksvensson.se

I spent 15 minutes trying to understand why a Blazor callback took a whole second to be invoked. I was confident it was something weird with how I wired things up, and never bothered to look at the actual code executed in the callback. The actual code executed in the callback:

await Task.Delay(1000);
aug 17, 2025, 10:39 am • 66 2

Replies

avatar
Liam Blizard @blizard.io

The front end of the app I inherited at my current client, is stuffed full of arbitrary delays like this.

aug 17, 2025, 11:35 am • 3 0 • view
avatar
Virgil Simpson @virgil-simpson.bsky.social

Yeah, that’ll do it.

aug 17, 2025, 10:44 pm • 1 0 • view
avatar
Jon Hilton @jonhilton.net

Ha ha, been there with something like this. Demoing a feature to a higher up, who questioned the slow performance. We spent ages looking everywhere for the problem. Everywhere except the line where we'd hardcoded a delay during testing 🤦

aug 19, 2025, 10:22 am • 0 0 • view
avatar
M @senapsrot.bsky.social

Procrastination is built into the foundation of both humans and software.

aug 18, 2025, 9:36 am • 0 0 • view