Skip to content

chore: move to .NET 11 - #108

Open
iamr8 wants to merge 1 commit into
developfrom
chore/dotnet-11
Open

iamr8 wants to merge 1 commit into
developfrom
chore/dotnet-11

Conversation

@iamr8

@iamr8 iamr8 commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Closes #107. This PR is for the evaluation in that issue. Merge it only if we decide to leave the .NET 10 LTS.

  • Target net11.0 and require the 11.0.0 runtime.
  • CI, CodeQL, InspectCode, license, SBOM and release workflows install the 11.0.x SDK.
  • CLAUDE.md and README name .NET 11.

Local check: Release build with /warnaserror has no warnings, 352 tests pass, and the osx-arm64 AOT binary runs apps -a.

Target net11.0 and require the 11.0.0 runtime. CI and release
workflows install the 11.0.x SDK. Docs name .NET 11.
@iamr8

iamr8 commented Nov 25, 2026

Copy link
Copy Markdown
Owner Author

Benchmark: NativeAOT osx-arm64, .NET 10 (develop cf36350) against .NET 11 (this PR). The runs alternate between the two builds on one Apple silicon Mac.

Metric .NET 10 .NET 11 Change
Binary size 13.99 MB 14.28 MB +2.1%
-v startup, median (n=80) 9.2 ms 9.5 ms +0.3 ms
-d scan only, median wall (n=10) 2.23 s 2.12 s -4.7%
-d p95 wall 2.34 s 2.17 s -7.3%
-a full run, median wall (n=6) 3.33 s 3.35 s +0.5% (network bound)
apps peak RSS, -d / -a 61 / 97 MB 56 / 100 MB same, within noise

Notes:

  • The roughly 150 MB peak that /usr/bin/time reports belongs to child processes (dotnet, brew's ruby, npm list), not to apps. A 32 MB GC heap cap does not change it.
  • A CPU trace of -d shows little managed work. Most wall time is spent waiting on child processes. The largest managed parts are plist parsing (PlistReader) and reading JetBrains plugin jars.
  • No regression was found, and nothing points to a code change.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant