dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/arm64: 7 Improvements on 8/25/2026 10:44:15 PM +00:00

Open
#78,871 1 comment 0 reactions 0 assignees View on GitHub
ampere arch-arm64 branch-refs/heads/main compilationmode-tiered kind-micro os-linux perf-improvement runkind-micro runtime-coreclr untriaged
Dominant language
No language data
Stars
10
Forks
8
PR merge metrics
PR metrics pending

Description

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [335b43c8bea7aacbc40f5405acdcf5b559825e85](https://github.com/dotnet/runtime/commit/335b43c8bea7aacbc40f5405acdcf5b559825e85)
Compare | [08df03ba6493589f3816e193847b50f105bf4c7a](https://github.com/dotnet/runtime/commit/08df03ba6493589f3816e193847b50f105bf4c7a)
Diff | [Diff](https://github.com/dotnet/runtime/compare/335b43c8bea7aacbc40f5405acdcf5b559825e85...08df03ba6493589f3816e193847b50f105bf4c7a)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Tests.Perf_Version

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [TryFormat3 - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 21.37 ns | 19.91 ns | 0.93 | 0.00 | False | | |
|
  • [TryFormat4 - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 27.61 ns | 26.05 ns | 0.94 | 0.01 | False | | |

![graph]()
![graph]()
[Test Report]()

### Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

```cmd
git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Tests.Perf_Version*'
```

### System.Tests.Perf_Version.TryFormat3

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Version.TryFormat4

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [335b43c8bea7aacbc40f5405acdcf5b559825e85](https://github.com/dotnet/runtime/commit/335b43c8bea7aacbc40f5405acdcf5b559825e85)
Compare | [08df03ba6493589f3816e193847b50f105bf4c7a](https://github.com/dotnet/runtime/commit/08df03ba6493589f3816e193847b50f105bf4c7a)
Diff | [Diff](https://github.com/dotnet/runtime/compare/335b43c8bea7aacbc40f5405acdcf5b559825e85...08df03ba6493589f3816e193847b50f105bf4c7a)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Tests.Perf_DateTimeOffset

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [ToString - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 182.09 ns | 168.57 ns | 0.93 | 0.03 | False | | |
|
  • [ToString - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 142.51 ns | 133.50 ns | 0.94 | 0.02 | False | | |

![graph]()
![graph]()
[Test Report]()

### Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

```cmd
git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Tests.Perf_DateTimeOffset*'
```

### System.Tests.Perf_DateTimeOffset.ToString(value: 12/30/2017 3:45:22 AM -08:00)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_DateTimeOffset.ToString(format: "G")

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [335b43c8bea7aacbc40f5405acdcf5b559825e85](https://github.com/dotnet/runtime/commit/335b43c8bea7aacbc40f5405acdcf5b559825e85)
Compare | [08df03ba6493589f3816e193847b50f105bf4c7a](https://github.com/dotnet/runtime/commit/08df03ba6493589f3816e193847b50f105bf4c7a)
Diff | [Diff](https://github.com/dotnet/runtime/compare/335b43c8bea7aacbc40f5405acdcf5b559825e85...08df03ba6493589f3816e193847b50f105bf4c7a)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Text.Tests.Perf_StringBuilder

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [Append_ValueTypes - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.09 μs | 1.97 μs | 0.94 | 0.02 | False | | |

![graph]()
[Test Report]()

### Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

```cmd
git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Text.Tests.Perf_StringBuilder*'
```

### System.Text.Tests.Perf_StringBuilder.Append_ValueTypes

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [335b43c8bea7aacbc40f5405acdcf5b559825e85](https://github.com/dotnet/runtime/commit/335b43c8bea7aacbc40f5405acdcf5b559825e85)
Compare | [08df03ba6493589f3816e193847b50f105bf4c7a](https://github.com/dotnet/runtime/commit/08df03ba6493589f3816e193847b50f105bf4c7a)
Diff | [Diff](https://github.com/dotnet/runtime/compare/335b43c8bea7aacbc40f5405acdcf5b559825e85...08df03ba6493589f3816e193847b50f105bf4c7a)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Xml.Tests.Perf_XmlConvert

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [TimeSpan_ToString - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 98.91 ns | 90.92 ns | 0.92 | 0.02 | False | | |

![graph]()
[Test Report]()

### Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

```cmd
git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Xml.Tests.Perf_XmlConvert*'
```

### System.Xml.Tests.Perf_XmlConvert.TimeSpan_ToString

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [335b43c8bea7aacbc40f5405acdcf5b559825e85](https://github.com/dotnet/runtime/commit/335b43c8bea7aacbc40f5405acdcf5b559825e85)
Compare | [08df03ba6493589f3816e193847b50f105bf4c7a](https://github.com/dotnet/runtime/commit/08df03ba6493589f3816e193847b50f105bf4c7a)
Diff | [Diff](https://github.com/dotnet/runtime/compare/335b43c8bea7aacbc40f5405acdcf5b559825e85...08df03ba6493589f3816e193847b50f105bf4c7a)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Tests.Perf_DateTime

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [ToString - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 31.88 ns | 28.30 ns | 0.89 | 0.00 | False | | |

![graph]()
[Test Report]()

### Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

```cmd
git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Tests.Perf_DateTime*'
```

### System.Tests.Perf_DateTime.ToString(format: "s")

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the benchmark sources named in src/benchmarks/micro/libraries/System.Runtime/Perf.Version.cs, Perf.DateTimeOffset.cs, and Perf.StringBuilder.cs, then read the linked baseline and comparison reports. Run the listed benchmarks with scripts/benchmarks_ci.py and determine whether the reported arm64 improvements are expected and reproducible; done means the results are explained or the issue is routed with supporting measurements.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, ubuntu
Domain
performance, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.