dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 106 Improvements on 3/2/2026 10:32:54 PM -08:00

Open
#70,000 3 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 | [1fd4dda3a484193fbc519eede07ac437cb462fa3](https://github.com/dotnet/runtime/commit/1fd4dda3a484193fbc519eede07ac437cb462fa3)
Compare | [0f01e117143befce315101373fe7cfeaf2c9b961](https://github.com/dotnet/runtime/commit/0f01e117143befce315101373fe7cfeaf2c9b961)
Diff | [Diff](https://github.com/dotnet/runtime/compare/1fd4dda3a484193fbc519eede07ac437cb462fa3...0f01e117143befce315101373fe7cfeaf2c9b961)
Configs | CompilationMode:wasm, RunKind:micro

### Improvements in System.Net.Primitives.Tests.CredentialCacheTests

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

  • [GetCredential_Uri - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 16.14 μs | 10.81 μs | 0.67 | 0.06 | False | | |
|
  • [ForEach - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 5.11 μs | 3.31 μs | 0.65 | 0.09 | False | | |
|
  • [ForEach - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.67 μs | 1.69 μs | 0.63 | 0.07 | False | | |
|
  • [ForEach - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 475.49 ns | 294.71 ns | 0.62 | 0.13 | False | | |
|
  • [ForEach - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.70 μs | 1.68 μs | 0.62 | 0.06 | False | | |
|
  • [GetCredential_Uri - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 14.23 μs | 9.33 μs | 0.66 | 0.07 | False | | |
|
  • [GetCredential_HostPort - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 296.81 ns | 189.65 ns | 0.64 | 0.11 | False | | |
|
  • [GetCredential_HostPort - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.12 μs | 637.41 ns | 0.57 | 0.07 | 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.Net.Primitives.Tests.CredentialCacheTests*'
```

### System.Net.Primitives.Tests.CredentialCacheTests.GetCredential_Uri(uriString: "http://notfound", uriCount: 10)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Net.Primitives.Tests.CredentialCacheTests.ForEach(uriCount: 10, hostPortCount: 10)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Net.Primitives.Tests.CredentialCacheTests.ForEach(uriCount: 10, hostPortCount: 0)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Net.Primitives.Tests.CredentialCacheTests.ForEach(uriCount: 0, hostPortCount: 0)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Net.Primitives.Tests.CredentialCacheTests.ForEach(uriCount: 0, hostPortCount: 10)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Net.Primitives.Tests.CredentialCacheTests.GetCredential_Uri(uriString: "http://name5", uriCount: 10)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Net.Primitives.Tests.CredentialCacheTests.GetCredential_HostPort(host: "notfound", hostPortCount: 0)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Net.Primitives.Tests.CredentialCacheTests.GetCredential_HostPort(host: "name5", hostPortCount: 10)

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

### Improvements in System.Text.Json.Serialization.Tests.WriteJson<Dictionary<String, String>>

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

  • [SerializeToUtf8Bytes - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 157.86 μs | 92.82 μs | 0.59 | 0.05 | False | | |
|
  • [SerializeToString - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 178.65 μs | 112.43 μs | 0.63 | 0.05 | False | | |
|
  • [SerializeObjectProperty - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 185.30 μs | 112.90 μs | 0.61 | 0.05 | False | | |
|
  • [SerializeToWriter - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 152.69 μs | 91.67 μs | 0.60 | 0.04 | 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.Text.Json.Serialization.Tests.WriteJson>*'
```

### System.Text.Json.Serialization.Tests.WriteJson<Dictionary<String, String>>.SerializeToUtf8Bytes(Mode: SourceGen)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Json.Serialization.Tests.WriteJson<Dictionary<String, String>>.SerializeToString(Mode: Reflection)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Json.Serialization.Tests.WriteJson<Dictionary<String, String>>.SerializeObjectProperty(Mode: Reflection)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Json.Serialization.Tests.WriteJson<Dictionary<String, String>>.SerializeToWriter(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 | [1fd4dda3a484193fbc519eede07ac437cb462fa3](https://github.com/dotnet/runtime/commit/1fd4dda3a484193fbc519eede07ac437cb462fa3)
Compare | [0f01e117143befce315101373fe7cfeaf2c9b961](https://github.com/dotnet/runtime/commit/0f01e117143befce315101373fe7cfeaf2c9b961)
Diff | [Diff](https://github.com/dotnet/runtime/compare/1fd4dda3a484193fbc519eede07ac437cb462fa3...0f01e117143befce315101373fe7cfeaf2c9b961)
Configs | CompilationMode:wasm, RunKind:micro

### Improvements in Microsoft.Extensions.Logging.ScopesOverheadBenchmark

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

  • [NotFiltered - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 338.67 ns | 247.50 ns | 0.73 | 0.17 | False | | |
|
  • [FilteredByLevel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 107.30 ns | 84.28 ns | 0.79 | 0.11 | False | | |
|
  • [FilteredByLevel_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 211.10 ns | 136.65 ns | 0.65 | 0.07 | False | | |
|
  • [FilteredByLevel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 106.74 ns | 83.06 ns | 0.78 | 0.13 | False | | |
|
  • [FilteredByLevel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 107.81 ns | 82.68 ns | 0.77 | 0.12 | False | | |
|
  • [FilteredByLevel_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 200.70 ns | 137.22 ns | 0.68 | 0.07 | False | | |
|
  • [FilteredByLevel_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 748.71 ns | 499.31 ns | 0.67 | 0.10 | False | | |
|
  • [FilteredByLevel_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 258.23 ns | 168.70 ns | 0.65 | 0.09 | False | | |
|
  • [FilteredByLevel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 106.27 ns | 81.21 ns | 0.76 | 0.13 | False | | |
|
  • [NotFiltered - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 334.88 ns | 250.88 ns | 0.75 | 0.09 | False | | |
|
  • [NotFiltered_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 992.77 ns | 647.78 ns | 0.65 | 0.13 | False | | |

![graph]()
![graph]()
![graph]()
![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 'Microsoft.Extensions.Logging.ScopesOverheadBenchmark*'
```

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.NotFiltered(HasISupportLoggingScopeLogger: True, CaptureScopes: False)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.FilteredByLevel(HasISupportLoggingScopeLogger: False, CaptureScopes: False)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.FilteredByLevel_InsideScope(HasISupportLoggingScopeLogger: True, CaptureScopes: False)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.FilteredByLevel(HasISupportLoggingScopeLogger: False, CaptureScopes: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.FilteredByLevel(HasISupportLoggingScopeLogger: True, CaptureScopes: False)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.FilteredByLevel_InsideScope(HasISupportLoggingScopeLogger: False, CaptureScopes: False)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.FilteredByLevel_InsideScope(HasISupportLoggingScopeLogger: True, CaptureScopes: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.FilteredByLevel_InsideScope(HasISupportLoggingScopeLogger: False, CaptureScopes: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.FilteredByLevel(HasISupportLoggingScopeLogger: True, CaptureScopes: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.NotFiltered(HasISupportLoggingScopeLogger: True, CaptureScopes: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.NotFiltered_InsideScope(HasISupportLoggingScopeLogger: True, CaptureScopes: True)

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

Review the run information and the linked CredentialCacheTests benchmark sources in the dotnet/performance repository, beginning with CredentialCacheTests.cs lines 32-68. Re-run the Ubuntu 22.04 WebAssembly microbenchmarks and compare the reported baseline and test commits. Done is not defined by the issue; triage must first determine whether the measured improvements require any runtime change.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.