Runtime Async in .NET 11 cuts async stack traces to 5 frames and speeds up completed-task awaits
Microsoft's .NET 11 runtime introduces a preview feature called Runtime Async, in which the runtime rather than the compiler manages async suspension. A blogger testing SDK 11.0.100 on Ubuntu 24.04 reduced a stack trace from 17 frames to 5 by enabling it with a single project-file setting. Microbenchmarks of awaits on already-completed tasks showed speedups of 2.3x and 3.2x, though the tester noted these best-case results ran on a noisy shared VM. Real workloads involving actual I/O are expected to see smaller gains. The author also cautioned that the official documentation still references an earlier release candidate and may lag the shipped release.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in