dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 5 Improvements on 8/19/2026 11:48:00 PM +00:00

Open
#78,584 1 comment 0 reactions 0 assignees View on GitHub
aot-true arch-wasm arch-x64 branch-refs/heads/main compilationmode-wasm kind-micro Look Again os-linux perf-improvement PGO runkind-micro untriaged wasm-aot
Dominant language
No language data
Stars
10
Forks
8
PR merge metrics
PR metrics pending

Description

### Run Information

Name | Value
-- | --
Architecture | x64
OS | ubuntu 22.04
Queue | ViperUbuntu
Baseline | [22645b47c400e6cc0aec97ddcb3f1998677b6d94](https://github.com/dotnet/runtime/commit/22645b47c400e6cc0aec97ddcb3f1998677b6d94)
Compare | [cb8ddc8cac0182e932903d921bd09300be7ae2a6](https://github.com/dotnet/runtime/commit/cb8ddc8cac0182e932903d921bd09300be7ae2a6)
Diff | [Diff](https://github.com/dotnet/runtime/compare/22645b47c400e6cc0aec97ddcb3f1998677b6d94...cb8ddc8cac0182e932903d921bd09300be7ae2a6)
Configs | AOT:true, CompilationMode:wasm, RunKind:micro

### Improvements in System.Tests.Perf_Double

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

  • [ToStringWithFormat - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 21.74 μs | 8.20 μs | 0.38 | 0.03 | False | | |
|
  • [ToStringWithFormat - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 21.71 μs | 8.24 μs | 0.38 | 0.01 | False | | |
|
  • [ToStringWithFormat - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 199.59 ns | 188.14 ns | 0.94 | 0.09 | False | | |

![graph]()
![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_Double*'
```

### System.Tests.Perf_Double.ToStringWithFormat(value: 1.7976931348623157E+308, format: "F50")

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Double.ToStringWithFormat(value: -1.7976931348623157E+308, format: "F50")

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Double.ToStringWithFormat(value: 12345, format: "E")

#### 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 | x64
OS | ubuntu 22.04
Queue | ViperUbuntu
Baseline | [22645b47c400e6cc0aec97ddcb3f1998677b6d94](https://github.com/dotnet/runtime/commit/22645b47c400e6cc0aec97ddcb3f1998677b6d94)
Compare | [cb8ddc8cac0182e932903d921bd09300be7ae2a6](https://github.com/dotnet/runtime/commit/cb8ddc8cac0182e932903d921bd09300be7ae2a6)
Diff | [Diff](https://github.com/dotnet/runtime/compare/22645b47c400e6cc0aec97ddcb3f1998677b6d94...cb8ddc8cac0182e932903d921bd09300be7ae2a6)
Configs | AOT:true, CompilationMode:wasm, RunKind:micro

### Improvements in System.Tests.Perf_Single

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

  • [ToStringWithFormat - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.25 μs | 1.12 μs | 0.90 | 0.04 | False | | |
|
  • [ToStringWithFormat - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.24 μs | 1.14 μs | 0.91 | 0.03 | 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_Single*'
```

### System.Tests.Perf_Single.ToStringWithFormat(value: -3.4028235E+38, format: "F50")

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Single.ToStringWithFormat(value: 3.4028235E+38, format: "F50")

#### 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 src/benchmarks/micro/libraries/System.Runtime/Perf.Double.cs and Perf.Single.cs at the benchmark lines cited in the report. Run the provided benchmarks_ci.py commands with the System.Tests.Perf_Double* and System.Tests.Perf_Single* filters, then compare the results with the linked reports; done requires identifying an actionable runtime change, which the issue does not currently specify.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.