dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 8 Improvements on 12/2/2025 5:35:46 PM +00:00

Open
#68,740 0 comments 0 reactions 0 assignees View on GitHub
arch-wasm arch-x64 branch-refs/heads/main kind-micro os-linux perf-improvement 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 | [3871ff9b61e5278606e21d1624a1419d11384380](https://github.com/dotnet/runtime/commit/3871ff9b61e5278606e21d1624a1419d11384380)
Compare | [f204e02d03afb032f4221eae696800bcb766a778](https://github.com/dotnet/runtime/commit/f204e02d03afb032f4221eae696800bcb766a778)
Diff | [Diff](https://github.com/dotnet/runtime/compare/3871ff9b61e5278606e21d1624a1419d11384380...f204e02d03afb032f4221eae696800bcb766a778)
Configs | CompilationMode:wasm, RunKind:micro

### Improvements in System.Text.Perf_Utf8Encoding

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

  • [GetByteCount - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 134.94 μs | 44.77 μs | 0.33 | 0.01 | False | | |
|
  • [GetBytes - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 266.64 μs | 188.40 μs | 0.71 | 0.00 | False | | |
|
  • [GetByteCount - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 296.48 μs | 97.58 μs | 0.33 | 0.01 | False | | |
|
  • [GetBytes - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 426.99 μs | 335.07 μs | 0.78 | 0.00 | False | | |
|
  • [GetByteCount - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 117.14 μs | 38.89 μs | 0.33 | 0.01 | False | | |
|
  • [GetByteCount - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 147.74 μs | 49.00 μs | 0.33 | 0.01 | False | | |
|
  • [GetBytes - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 542.43 μs | 334.11 μs | 0.62 | 0.00 | False | | |
|
  • [GetBytes - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 354.15 μs | 254.11 μs | 0.72 | 0.00 | False | | |

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

### System.Text.Perf_Utf8Encoding.GetByteCount(Input: Chinese)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Perf_Utf8Encoding.GetBytes(Input: Cyrillic)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Perf_Utf8Encoding.GetByteCount(Input: EnglishMostlyAscii)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Perf_Utf8Encoding.GetBytes(Input: Chinese)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Perf_Utf8Encoding.GetByteCount(Input: Cyrillic)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Perf_Utf8Encoding.GetByteCount(Input: Greek)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Perf_Utf8Encoding.GetBytes(Input: EnglishMostlyAscii)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Perf_Utf8Encoding.GetBytes(Input: Greek)

#### 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 System.Text.Perf_Utf8Encoding benchmark entries in src/benchmarks/micro/libraries/System.Text.Encoding/Perf.Utf8Encoding.cs and compare the linked baseline and test runs. Review the reported GetByteCount and GetBytes results for the wasm configuration; the issue does not define a specific change or acceptance test, so triage must establish what action is needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.