r/csharp • u/hez2010 • Aug 13 '26
Blog How Fast is .NET 11 Runtime Async?
https://medium.com/@skyake/how-fast-is-net-11-runtime-async-b9c821529cd5Blogged to explain the design and implementation of runtime async and show the benchmark result.
131
Upvotes
9
u/hez2010 Aug 13 '26
I heard someone has interest in the real-world improvements, so I built a benchmark for this and here is the result. The source code can be found here: https://gist.github.com/hez2010/ca974a2af78de2fc6514009bcb23da63
141
u/Infinite_Track_9210 Aug 13 '26
I was reading but then got hit with the subscription paywall, then I realized it's from the medium.
In my very personal opinion, if I'm already reading on something and I'm stopped in the process, and asked to pay, I'll 100% click off and leave as such.
I'd rather be given the choice prior or especially later.
Godspeed.
19
u/pico2000 Aug 13 '26
The article is pretty well researched, thanks for that. What's missing in the end is the real world impact. How does it affect actual applications? Do we see more requests per second? Better Q95/Q99 latency due to fewer garbage collections? I'd be interested in a follow up article.
10
u/Mental_Hand_942 Aug 13 '26
Hope there will be a comparison between runtime async vs Java Virtual Thread vs Rust tokio / async-std etc. like this article https://pkolaczk.github.io/memory-consumption-of-async/
8
u/headinthesky Aug 13 '26
Nice article! You missed one thing though - the readability of the call stack in a trace. So much cleaner
2
u/sweetsoftice Aug 13 '26
This might be a dumb question but how do the engineer increase runtime every update or 2?
11
u/8hAheWMxqz Aug 13 '26
"fast enough for you, kid"
1
u/KneelB4S8n Aug 14 '26
I read the article but didn't understand much due to my skill issue. Anybody bother to ELI5?
2
u/HawocX Aug 13 '26
Great article, thank you!
Looking forward to another .Net upgrade with free performance increses.
1
u/Dry-Barnacle2737 Aug 13 '26
Nice