News for hackers. Stuff that matters.
Re:Comparison of Rust async and Linux thread context switch ... by jstrong on Friday February 12, 2021 @08:29AM (#26113384)
generally speaking, the advantage of async io is strongest for high performance server applications, especially in regards to the cpu usage required relative to the amount of io stuff you can do. with that in mind, "users running your application on laptops" would not be the most common case.
Re:Comparison of Rust async and Linux thread context switch ... by bzbarsky on Friday February 12, 2021 @12:22PM (#26116037)
Yes, if your app is a high performance server app, measure in that environment.

But user-facing apps (the sort people run on laptops, say) have async I/O as table stakes, really. It's not even about throughput or CPU cycles: it's about the fact that if you have I/O latency on any thread the user interacts with the user experience will be terrible.

Now in practice maybe that means "just make the I/O async, but the performance details of that don't really matter too much".

Anyway, the overall comment was about performance profiling in general, not just async I/O.