dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 6 Improvements on 6/8/2026 9:51:08 AM +00:00

Open
#74,623 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 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 | [ea282a9bba0c233ff6f6410c45b9ba44f738ac76](https://github.com/dotnet/runtime/commit/ea282a9bba0c233ff6f6410c45b9ba44f738ac76)
Compare | [a0757694597c6be2827e9030f690a2b0c262e4cd](https://github.com/dotnet/runtime/commit/a0757694597c6be2827e9030f690a2b0c262e4cd)
Diff | [Diff](https://github.com/dotnet/runtime/compare/ea282a9bba0c233ff6f6410c45b9ba44f738ac76...a0757694597c6be2827e9030f690a2b0c262e4cd)
Configs | AOT:true, CompilationMode:wasm, RunKind:micro

### Improvements in System.IO.MemoryMappedFiles.Tests.Perf_MemoryMappedFile

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

  • [CreateFromFile - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 21.43 μs | 9.76 μs | 0.46 | 0.12 | False | | |
|
  • [CreateNew - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 18.34 μs | 13.00 μs | 0.71 | 0.04 | False | | |
|
  • [CreateFromFile - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 99.23 μs | 76.19 μs | 0.77 | 0.16 | 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.IO.MemoryMappedFiles.Tests.Perf_MemoryMappedFile*'
```

### System.IO.MemoryMappedFiles.Tests.Perf_MemoryMappedFile.CreateFromFile(capacity: 10000)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.IO.MemoryMappedFiles.Tests.Perf_MemoryMappedFile.CreateNew(capacity: 10000)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.IO.MemoryMappedFiles.Tests.Perf_MemoryMappedFile.CreateFromFile(capacity: 100000)

#### 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 | [ea282a9bba0c233ff6f6410c45b9ba44f738ac76](https://github.com/dotnet/runtime/commit/ea282a9bba0c233ff6f6410c45b9ba44f738ac76)
Compare | [a0757694597c6be2827e9030f690a2b0c262e4cd](https://github.com/dotnet/runtime/commit/a0757694597c6be2827e9030f690a2b0c262e4cd)
Diff | [Diff](https://github.com/dotnet/runtime/compare/ea282a9bba0c233ff6f6410c45b9ba44f738ac76...a0757694597c6be2827e9030f690a2b0c262e4cd)
Configs | AOT:true, CompilationMode:wasm, RunKind:micro

### Improvements in System.IO.Tests.Perf_File

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

  • [WriteAllBytes - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 8.93 μs | 6.61 μs | 0.74 | 0.08 | False | | |
|
  • [WriteAllText - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 25.58 μs | 22.62 μs | 0.88 | 0.24 | False | | |
|
  • [WriteAllBytes - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 16.84 μs | 15.54 μs | 0.92 | 0.14 | 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.IO.Tests.Perf_File*'
```

### System.IO.Tests.Perf_File.WriteAllBytes(size: 4096)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.IO.Tests.Perf_File.WriteAllText(size: 10000)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.IO.Tests.Perf_File.WriteAllBytes(size: 16384)

#### 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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.