dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 6 Improvements on 7/23/2026 8:26:45 AM +00:00

Open
#76,952 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 | [dc3757e67b2d6eb7d6db7e052574a02c3d445432](https://github.com/dotnet/runtime/commit/dc3757e67b2d6eb7d6db7e052574a02c3d445432)
Compare | [7ffec088158c895276b85cf176e37904f7d53a56](https://github.com/dotnet/runtime/commit/7ffec088158c895276b85cf176e37904f7d53a56)
Diff | [Diff](https://github.com/dotnet/runtime/compare/dc3757e67b2d6eb7d6db7e052574a02c3d445432...7ffec088158c895276b85cf176e37904f7d53a56)
Configs | CompilationMode:wasm, RunKind:micro

### Improvements in System.Text.Json.Serialization.Tests.ReadJson<BinaryDataPayload>

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

  • [DeserializeFromUtf8Bytes - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 6.51 μs | 5.33 μs | 0.82 | 0.05 | False | | |
|
  • [DeserializeFromString - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 7.56 μs | 6.40 μs | 0.85 | 0.09 | 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.Text.Json.Serialization.Tests.ReadJson*'
```

### System.Text.Json.Serialization.Tests.ReadJson<BinaryDataPayload>.DeserializeFromUtf8Bytes(Mode: Reflection)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Json.Serialization.Tests.ReadJson<BinaryDataPayload>.DeserializeFromString(Mode: Reflection)

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

### Improvements in System.Text.Json.Serialization.Tests.WriteJson<BinaryDataPayload>

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

  • [SerializeToWriter - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.81 μs | 2.10 μs | 0.55 | 0.06 | False | | |
|
  • [SerializeObjectProperty - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 7.92 μs | 6.29 μs | 0.79 | 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.Text.Json.Serialization.Tests.WriteJson*'
```

### System.Text.Json.Serialization.Tests.WriteJson<BinaryDataPayload>.SerializeToWriter(Mode: SourceGen)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Json.Serialization.Tests.WriteJson<BinaryDataPayload>.SerializeObjectProperty(Mode: SourceGen)

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

### Improvements in System.Text.Json.Tests.Perf_Base64

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

  • [WriteByteArrayAsBase64_NoEscaping - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 799.80 ns | 663.51 ns | 0.83 | 0.16 | False | | |

![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.Json.Tests.Perf_Base64*'
```

### System.Text.Json.Tests.Perf_Base64.WriteByteArrayAsBase64_NoEscaping(NumberOfBytes: 100)

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

### Improvements in System.Text.Json.Reader.Tests.Perf_Base64

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

  • [ReadBase64EncodedByteArray_NoEscaping - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.93 μs | 2.88 μs | 0.73 | 0.13 | False | | |

![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.Json.Reader.Tests.Perf_Base64*'
```

### System.Text.Json.Reader.Tests.Perf_Base64.ReadBase64EncodedByteArray_NoEscaping(NumberOfBytes: 1000)

#### 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 linked in the report: src/benchmarks/micro/libraries/System.Text.Json/Serializer/ReadJson.cs and WriteJson.cs. Run the provided benchmarks_ci.py filters, then compare the reported baseline and test results using the linked test reports and the repository's benchmarking and profiling workflow documentation. Done is not defined beyond investigating the reported performance changes.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.