Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 9 per-preview performance overview #98209

Open
kotlarmilos opened this issue Feb 9, 2024 · 0 comments
Open

.NET 9 per-preview performance overview #98209

kotlarmilos opened this issue Feb 9, 2024 · 0 comments
Assignees
Labels
area-VM-meta-mono tenet-performance Performance related issue tracking This issue is tracking the completion of other related issues.
Milestone

Comments

@kotlarmilos
Copy link
Member

kotlarmilos commented Feb 9, 2024

Description

This issue provides an overview of the all performance regressions from microbenchmark automated runs in WASM, Mono AOT, and Interpreter during the timeframe of .NET 9 preview releases. WASM regressions are tracked separately at #96444.

List of queries for autofilling issues:

Mono AOT

Summary of the most severe unresolved regressions from .NET 9

-[Perf] Linux/arm64: 22 Regressions on 4/8/2024 7:16:22 PM · Issue #101127 · dotnet/runtime (github.com) (Generic methods related. IO, Text regressions, affecting arm64/x64, WASM, ...)
-[Perf] Linux/arm64: 32 Regressions on 4/16/2024 12:58:48 AM · Issue dotnet/perf-autofiling-issues#33133 · dotnet/perf-autofiling-issues (github.com) (missing Unsafe.BitCast intrinsics #101495)
-[Perf] Linux/x64: 44 Regressions on 6/3/2024 6:35:27 PM · Issue #104076 · dotnet/runtime (github.com) (a lot of regressions caused by Use generic math for floating point formatting by huoyaoyuan · Pull Request #102683 · dotnet/runtime (github.com), affecting both x64 and arm64)
-[Perf] Linux/x64: 26 Regressions on 6/14/2024 3:42:32 AM · Issue #103653 · dotnet/runtime (github.com) (Generic methods related. Base64 regressions, x64/arm64)
-[Perf] Linux/x64: 20 Regressions on 6/20/2024 7:04:47 AM · Issue #104022 · dotnet/runtime (github.com) ( intrinsify * and / for Quaternion on arm64 (#82408)., x64/arm64)

Preview 7

Issue Status Comment
#105335 Investigation ConcurrentBag (threading)
dotnet/perf-autofiling-issues#38433 Investigation Perf_FloatingPointTensorPrimitives.MaxMagnitude
dotnet/perf-autofiling-issues#38390 Investigation Base64EncodeDecodeInPlaceTests
dotnet/perf-autofiling-issues#37939 Resolved Tagged causing PR, Tanner says by design.
#104302 Resolved CredentialCacheTests, no action expected regression
dotnet/perf-autofiling-issues#37022 Investigating JSON and Buffer regressions, tagged author
#104022, dotnet/perf-autofiling-issues#37021 Investigation Vector SIMD intrinsics (both x64 and arm64), tagged Tanner

Preview 6

Issue Status Comment
dotnet/perf-autofiling-issues#37020 Investigation System.Collections.IndexerSetReverse
#103653 Investigation Perf_Base64
#103652 Investigation Vector SIMD intrinsics
#104076 Resolving Perf_Double/Single/NumberCultureInfo, tagged author, looks like Mono perf measurements weren't accurate before merging
#103460 Resolving BigInteger, tagged author

Preview 5

Issue Status Comment
dotnet/perf-autofiling-issues#35132 false pos. JSON regressions, tagged author
#102557 Resolving VectorConvert, Tagged author
#102281 Resolved CredentialCacheTests, Assigned
dotnet/perf-autofiling-issues#33792 Resolved UnboundedChannelPerfTests, Tagged author, PR reverted
dotnet/perf-autofiling-issues#33791 Investigation GetType_Resolvers, Tagged author

Preview 4

Issue Status Comment
#102382 Resolved Authors notified
dotnet/perf-autofiling-issues#33133, dotnet/perf-autofiling-issues#33094 Resolving Need intrinsifying BitCast API #101495
#104777 Investigating System.Reflection.Invoke, Authors notified #100846
#101124, #101127 Resolving Authors notified #99982
dotnet/perf-autofiling-issues#32511 Resolved

Preview 3

Issue Status Comment
dotnet/perf-autofiling-issues#30856 Investigation EventSourceLogger.NetScopes_TwoMessages regressions, long range of commits, x64/arm64
dotnet/perf-autofiling-issues#31519 Investigation Reflection.Invoke regression, nothing suspicious in the range, x64/arm64
#102865 Resolved Perf_Single/Double.TryParse, affecting CoreCLR as well

Preview 2

Issue Status
dotnet/perf-autofiling-issues#30456, dotnet/perf-autofiling-issues#30503 Resolved

Preview 1

Issue Status
#102381 Investigating
dotnet/perf-autofiling-issues#27018, dotnet/perf-autofiling-issues#27047 Resolved (no action)
dotnet/perf-autofiling-issues#25809 Archived (#97988)
dotnet/perf-autofiling-issues#24512 Investigating
dotnet/perf-autofiling-issues#27020 Resolved
dotnet/perf-autofiling-issues#27019 Resolved
dotnet/perf-autofiling-issues#26504 Resolved
dotnet/perf-autofiling-issues#26154 Resolved
dotnet/perf-autofiling-issues#25812 Resolved
dotnet/perf-autofiling-issues#25806 Resolved
dotnet/perf-autofiling-issues#25089 Resolved
dotnet/perf-autofiling-issues#25426 Resolved
dotnet/perf-autofiling-issues#25421 Resolved
dotnet/perf-autofiling-issues#24200 Resolved
dotnet/perf-autofiling-issues#24203 Resolved
dotnet/perf-autofiling-issues#23314 Resolved
dotnet/perf-autofiling-issues#23579 Resolved
dotnet/perf-autofiling-issues#24786 Resolved
dotnet/perf-autofiling-issues#24198 Resolved
dotnet/perf-autofiling-issues#22570 Resolved
dotnet/perf-autofiling-issues#22569 Resolved
dotnet/perf-autofiling-issues#23306 Resolved
dotnet/perf-autofiling-issues#23307 Resolved
dotnet/perf-autofiling-issues#23309 Resolved
dotnet/perf-autofiling-issues#23311 Resolved
dotnet/perf-autofiling-issues#23580 Resolved
dotnet/perf-autofiling-issues#23582 Resolved
dotnet/perf-autofiling-issues#23870 Resolved

Mono Interpreter

Preview 6

Issue Status
dotnet/perf-autofiling-issues#37950 Resolving
dotnet/perf-autofiling-issues#37898 Resolving
dotnet/perf-autofiling-issues#37892 Resolving
dotnet/perf-autofiling-issues#37889 Resolving
dotnet/perf-autofiling-issues#36078, dotnet/perf-autofiling-issues#36098 Resolving
dotnet/perf-autofiling-issues#36491 Resolving
dotnet/perf-autofiling-issues#36973 Investigating
dotnet/perf-autofiling-issues#36976, dotnet/perf-autofiling-issues#36978, dotnet/perf-autofiling-issues#37047 Resolving

Preview 5

Issue Status
dotnet/perf-autofiling-issues#35112 Resolved
dotnet/perf-autofiling-issues#35186 Resolved

Preview 4

Issue Status
dotnet/perf-autofiling-issues#33948 Investigating
dotnet/perf-autofiling-issues#32813 Investigating
dotnet/perf-autofiling-issues#32770, dotnet/perf-autofiling-issues#32770, dotnet/perf-autofiling-issues#32772, dotnet/perf-autofiling-issues#32812 Resolving
dotnet/perf-autofiling-issues#34651 Resolving
dotnet/perf-autofiling-issues#34665 Investigation

Preview 3

Issue Status

Preview 2

Issue Status
dotnet/perf-autofiling-issues#30463 Resolving
dotnet/perf-autofiling-issues#29872 Resolved
dotnet/perf-autofiling-issues#30464 Resolved

Preview 1

Issue Status
dotnet/perf-autofiling-issues#29871 Resolving
dotnet/perf-autofiling-issues#29026 Resolving
dotnet/perf-autofiling-issues#27704 Resolving
dotnet/perf-autofiling-issues#27704 Resolving
dotnet/perf-autofiling-issues#23222, dotnet/perf-autofiling-issues#23611, dotnet/perf-autofiling-issues#23635 Resolving
dotnet/perf-autofiling-issues#26185 Resolved
dotnet/perf-autofiling-issues#29868 Resolved
dotnet/perf-autofiling-issues#27348 Resolved
dotnet/perf-autofiling-issues#27350, dotnet/perf-autofiling-issues#27351, dotnet/perf-autofiling-issues#27352 Resolved
dotnet/perf-autofiling-issues#26192 Resolved
dotnet/perf-autofiling-issues#22914, dotnet/perf-autofiling-issues#22938 Resolved
dotnet/perf-autofiling-issues#25465 Resolved
dotnet/perf-autofiling-issues#23877, dotnet/perf-autofiling-issues#23880 Resolved
dotnet/perf-autofiling-issues#22915 Resolved
dotnet/perf-autofiling-issues#25084 Resolved
dotnet/perf-autofiling-issues#24816 Resolved
dotnet/perf-autofiling-issues#24812 Resolved
dotnet/perf-autofiling-issues#23615 Resolved
dotnet/perf-autofiling-issues#23614 Resolved
dotnet/perf-autofiling-issues#22539, dotnet/perf-autofiling-issues#22533 Resolved

Mono Size - iOS

Summary of the most severe unresolved regressions from .NET 9

Preview 7

Issue Status Comment
#104952 Investigation Probably caused by new APIs/generics

Preview 6

Issue Status Comment
dotnet/perf-autofiling-issues#35656 Investigation Tagged author
dotnet/perf-autofiling-issues#35768 Improvement

Preview 5

Issue Status Comment
#104073 Investigation Tagged author
dotnet/perf-autofiling-issues#35226 MAUI improvement Long range, not clear cause

Preview 4 (NAOT)

Issue Status Comment
#104074 Resolved No action, triggered by our build setup (disabled full stripping of symbols)

Preview 4

Date Diff Change Size increase (bytes) Size increase (%) Tracking issue Status
08 Apr 2024 700d724...8508806 #99982 202000 3.63 #100975 Resolving
19 Apr 2024 a3bf7d4...b067ce0 #101258 290000 1.4 #101488 Resolving

Preview 1

Date Diff Change Size increase (bytes) Size increase (%) Tracking issue Status
03 Oct 2023 88f2547...d2e24fa #90764 066800 5.01 #93072 Resolving

Mono Startup - iOS

Preview 1

Date Diff Change Slowdown (ms) Slowdown (%) Tracking issue Status
16 Dec 2023 2284495...4dffd80 4dffd80 8.3 18.8 #96449 Resolved (no action)

MAUI

Issue Status Comment
#104083 Investigating Incrementally slower startup times for MAUI-NAOT

Mono JIT

Issue Status
dotnet/perf-autofiling-issues#30027 Investigation
dotnet/perf-autofiling-issues#30432 Investigation
dotnet/perf-autofiling-issues#27682 Resolving
dotnet/perf-autofiling-issues#21551 Investigation
dotnet/perf-autofiling-issues#28984 Investigation
dotnet/perf-autofiling-issues#38367 Resolving
@kotlarmilos kotlarmilos added tenet-performance Performance related issue area-VM-meta-mono tracking This issue is tracking the completion of other related issues. labels Feb 9, 2024
@kotlarmilos kotlarmilos added this to the 9.0.0 milestone Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-VM-meta-mono tenet-performance Performance related issue tracking This issue is tracking the completion of other related issues.
Projects
None yet
Development

No branches or pull requests

5 participants