dotnet / dotnet/perf-autofiling-issues

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

Open
#74,403 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 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 | [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 | 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]()
| 24.94 μs | 14.40 μs | 0.58 | 0.26 | False | | |
|
  • [CreateNew - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 22.29 μs | 18.08 μs | 0.81 | 0.22 | False | | |
|
  • [CreateFromFile - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 103.43 μs | 85.96 μs | 0.83 | 0.15 | 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 | 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]()
| 11.12 μs | 8.50 μs | 0.76 | 0.23 | False | | |
|
  • [CopyToOverwrite - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 24.17 μs | 21.97 μs | 0.91 | 0.24 | 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.IO.Tests.Perf_File*'
```

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

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