<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/performance-improvements-in-net-11-yhchjeg1i" -->

---
title: Performance Improvements in .NET 11 | daily.dev
description: An in-depth annual tour through hundreds of performance improvements landing in .NET 11, covering JIT deabstraction techniques (devirtualization, escape...
canonical: https://daily.dev/posts/performance-improvements-in-net-11-yhchjeg1i
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Performance Improvements in .NET 11 | daily.dev
og:description: An in-depth annual tour through hundreds of performance improvements landing in .NET 11, covering JIT deabstraction techniques (devirtualization, escape...
og:url: https://daily.dev/posts/performance-improvements-in-net-11-yhchjeg1i
og:image: https://api.daily.dev/og/posts/yHChJeG1i.png
og:image:alt: Performance Improvements in .NET 11
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Performance Improvements in .NET 11

**[DevBlogs](https://daily.dev/sources/devblogs)** · 243 min read · 1 upvotes · 1 comments

## Summary

An in-depth annual tour through hundreds of performance improvements landing in .NET 11, covering JIT deabstraction techniques (devirtualization, escape analysis, guarded devirtualization), a new 'runtime async' reimplementation of async/await that moves state-machine generation from the C# compiler into the JIT and runtime, delegate layout optimizations, and numerous micro-benchmarks with BenchmarkDotNet comparing .NET 10 versus .NET 11 across allocation counts and throughput. Runtime async is opt-in via a feature switch in .NET 11 and is expected to become default in .NET 12.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-11>

## Questions this post answers

### What is runtime async in .NET 11 and how does it change async/await compilation?

Runtime async is a reimplementation of async/await where the JIT and runtime, rather than the C# compiler, handle the state-machine transformation. The compiler emits a much smaller suspension-aware IL contract, and the runtime decides continuation layout and suspension points. It's opt-in in .NET 11 via the runtime-async=on feature switch, with full behavioral compatibility as a goal, and is expected to become the default in .NET 12.

_Developers weighing when to adopt runtime async can track .NET performance changes like this on daily.dev._

### How much faster is escape analysis for enumerators in .NET 11 compared to .NET 10?

In .NET 11, Conditional Escape Analysis was extended so that a foreach loop over an instance-field IEnumerable, previously allocating a 32-byte enumerator on .NET 10 at 13.874 ns, now runs at 2.674 ns with zero allocation, matching the already-optimized static-field case. This closes a gap left by .NET 10, which only handled the static-field pattern.

_Anyone benchmarking allocation-heavy loops across .NET versions can follow these runtime changes on daily.dev._

### Does .NET 11 remove heap allocations for generic virtual method calls like interface dispatch on generics?

Yes, .NET 11 JIT improvements let generic virtual methods (GVMs) be devirtualized and inlined even in shared cases like calling an interface method with a string argument. In a benchmark casting a freshly allocated object to an interface and calling a generic method, .NET 10 took 6.678-7.166 ns with a 24-byte allocation, while .NET 11 dropped to about 1.764 ns with zero allocation by proving the object never needed to exist.

_Teams chasing allocation reductions in generic code can keep up with JIT changes like this via daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@barion** · 0 upvotes

> always a delight to scrolling through Steven's posts

## Similar posts on daily.dev

- [.NET 11 Performance Gains That Matter for AI-Adjacent Backends — Daily DevOps & .NET](https://daily.dev/posts/net-11-performance-gains-that-matter-for-ai-adjacent-backends-daily-devops-net-25rrsf53j) · Daily DevOps & .NET · 28 upvotes · 2 comments
- [Runtime Async in .NET 11: What Actually Changed](https://daily.dev/posts/runtime-async-in-net-11-what-actually-changed-zpn3rqvrg) · C\# Corner · 16 upvotes · 0 comments
- [Microsoft unveils first preview of .NET 11](https://daily.dev/posts/microsoft-unveils-first-preview-of-net-11-4y7l7j8r0) · InfoWorld · 24 upvotes · 1 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#.net](https://daily.dev/tags/.net), [#c#](https://daily.dev/tags/c#), [#compiler-optimization](https://daily.dev/tags/compiler-optimization)

[View this post on daily.dev](https://daily.dev/posts/performance-improvements-in-net-11-yhchjeg1i)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Performance Improvements in .NET 11","url":"https://daily.dev/posts/performance-improvements-in-net-11-yhchjeg1i","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/performance-improvements-in-net-11-yhchjeg1i"},"datePublished":"2026-09-15T12:01:50.999Z","dateModified":"2026-09-18T08:37:54.302Z","description":"An in-depth annual tour through hundreds of performance improvements landing in .NET 11, covering JIT deabstraction techniques (devirtualization, escape...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c11ed5358293309f87a9e533dd2b4f2b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c11ed5358293309f87a9e533dd2b4f2b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"DevBlogs","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DevBlogs","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/8f68b453325f482ebeb73fb780092713","url":"https://daily.dev/sources/devblogs"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/performance-improvements-in-net-11-yhchjeg1i","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"performance,.net,c#,compiler-optimization","timeRequired":"PT243M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DevBlogs","item":"https://daily.dev/sources/devblogs"},{"@type":"ListItem","position":3,"name":"Performance Improvements in .NET 11"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/performance-improvements-in-net-11-yhchjeg1i","comment":[{"@type":"Comment","text":"always a delight to scrolling through Steven’s posts","datePublished":"2026-09-16T10:08:02.213Z","url":"https://daily.dev/posts/yHChJeG1i#c-Tuqc5ZsmA","author":{"@type":"Person","name":"Barion","url":"https://daily.dev/barion","image":"https://avatars.githubusercontent.com/u/76686287?v=4"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/performance-improvements-in-net-11-yhchjeg1i#faq","mainEntity":[{"@type":"Question","name":"What is runtime async in .NET 11 and how does it change async/await compilation?","acceptedAnswer":{"@type":"Answer","text":"Runtime async is a reimplementation of async/await where the JIT and runtime, rather than the C# compiler, handle the state-machine transformation. The compiler emits a much smaller suspension-aware IL contract, and the runtime decides continuation layout and suspension points. It's opt-in in .NET 11 via the runtime-async=on feature switch, with full behavioral compatibility as a goal, and is expected to become the default in .NET 12. Developers weighing when to adopt runtime async can track .NET performance changes like this on daily.dev."}},{"@type":"Question","name":"How much faster is escape analysis for enumerators in .NET 11 compared to .NET 10?","acceptedAnswer":{"@type":"Answer","text":"In .NET 11, Conditional Escape Analysis was extended so that a foreach loop over an instance-field IEnumerable, previously allocating a 32-byte enumerator on .NET 10 at 13.874 ns, now runs at 2.674 ns with zero allocation, matching the already-optimized static-field case. This closes a gap left by .NET 10, which only handled the static-field pattern. Anyone benchmarking allocation-heavy loops across .NET versions can follow these runtime changes on daily.dev."}},{"@type":"Question","name":"Does .NET 11 remove heap allocations for generic virtual method calls like interface dispatch on generics?","acceptedAnswer":{"@type":"Answer","text":"Yes, .NET 11 JIT improvements let generic virtual methods (GVMs) be devirtualized and inlined even in shared cases like calling an interface method with a string argument. In a benchmark casting a freshly allocated object to an interface and calling a generic method, .NET 10 took 6.678-7.166 ns with a 24-byte allocation, while .NET 11 dropped to about 1.764 ns with zero allocation by proving the object never needed to exist. Teams chasing allocation reductions in generic code can keep up with JIT changes like this via daily.dev."}}]}
```

