dotnet / dotnet/perf-autofiling-issues

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

Open
#79,250 1 comment 0 reactions 0 assignees View on GitHub
arch-wasm arch-x64 branch-refs/heads/main compilationmode-wasm kind-micro Look Again os-linux perf-improvement PGO runkind-micro untriaged
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 | 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]()
| 531.66 μs | 63.81 μs | 0.12 | 0.01 | False | | |
|
  • [ToStringWithFormat - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 531.58 μs | 64.52 μs | 0.12 | 0.02 | False | | |
|
  • [ToStringWithFormat - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.52 μs | 2.00 μs | 0.80 | 0.12 | False | | |
|
  • [ToStringWithFormat - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.72 μs | 2.37 μs | 0.87 | 0.09 | False | | |

![graph]()
![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: "G17")

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Double.ToStringWithFormat(value: 12345, 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)

---

### 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 | 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]()
| 18.76 μs | 7.18 μs | 0.38 | 0.08 | False | | |
|
  • [ToStringWithFormat - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 18.42 μs | 7.31 μs | 0.40 | 0.06 | 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 the benchmark sources at src/benchmarks/micro/libraries/System.Runtime/Perf.Double.cs and Perf.Single.cs, then read the benchmarking workflow linked in the issue. Run the supplied benchmarks_ci.py command for System.Tests.Perf_Double and compare the reported WebAssembly measurements; done means the performance finding has been reproduced and triaged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, wasm
Domain
performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.