dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 91 Improvements on 3/2/2026 10:32:54 PM +00:00

Open
#69,989 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.Collections.CtorGivenSizeNonGeneric

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

  • [Stack - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 152.16 ns | 139.68 ns | 0.92 | 0.15 | False | | |
|
  • [Queue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 169.25 ns | 142.31 ns | 0.84 | 0.13 | False | | |
|
  • [Hashtable - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 791.98 ns | 643.71 ns | 0.81 | 0.20 | False | | |
|
  • [ArrayList - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 154.31 ns | 128.22 ns | 0.83 | 0.11 | 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.Collections.CtorGivenSizeNonGeneric*'
```

### System.Collections.CtorGivenSizeNonGeneric.Stack(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorGivenSizeNonGeneric.Queue(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorGivenSizeNonGeneric.Hashtable(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorGivenSizeNonGeneric.ArrayList(Size: 512)

#### 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.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.46 μs | 10.81 μs | 0.66 | 0.06 | False | | |
|
  • [ForEach - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 5.17 μs | 3.31 μs | 0.64 | 0.09 | False | | |
|
  • [ForEach - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.77 μs | 1.69 μs | 0.61 | 0.07 | False | | |
|
  • [ForEach - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 488.40 ns | 294.71 ns | 0.60 | 0.13 | False | | |
|
  • [ForEach - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.63 μs | 1.68 μs | 0.64 | 0.06 | False | | |
|
  • [GetCredential_Uri - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 14.58 μs | 9.33 μs | 0.64 | 0.07 | False | | |
|
  • [GetCredential_HostPort - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 323.60 ns | 189.65 ns | 0.59 | 0.11 | False | | |
|
  • [GetCredential_HostPort - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.08 μs | 637.41 ns | 0.59 | 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]()
| 156.39 μs | 92.82 μs | 0.59 | 0.05 | False | | |
|
  • [SerializeToString - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 180.84 μs | 112.43 μs | 0.62 | 0.05 | False | | |
|
  • [SerializeObjectProperty - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 184.25 μs | 112.90 μs | 0.61 | 0.05 | False | | |
|
  • [SerializeToWriter - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 151.30 μs | 91.67 μs | 0.61 | 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]()
| 363.29 ns | 247.50 ns | 0.68 | 0.17 | False | | |
|
  • [FilteredByLevel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 125.32 ns | 84.28 ns | 0.67 | 0.11 | False | | |
|
  • [FilteredByLevel_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 217.56 ns | 136.65 ns | 0.63 | 0.07 | False | | |
|
  • [FilteredByLevel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 122.97 ns | 83.06 ns | 0.68 | 0.13 | False | | |
|
  • [FilteredByLevel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 122.80 ns | 82.68 ns | 0.67 | 0.12 | False | | |
|
  • [FilteredByLevel_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 217.89 ns | 137.22 ns | 0.63 | 0.07 | False | | |
|
  • [FilteredByLevel_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 733.56 ns | 499.31 ns | 0.68 | 0.10 | False | | |
|
  • [FilteredByLevel_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 313.78 ns | 168.70 ns | 0.54 | 0.09 | False | | |
|
  • [FilteredByLevel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 123.46 ns | 81.21 ns | 0.66 | 0.13 | False | | |
|
  • [NotFiltered - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 356.45 ns | 250.88 ns | 0.70 | 0.09 | False | | |
|
  • [NotFiltered_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.01 μs | 647.78 ns | 0.64 | 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)

---

### 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 MicroBenchmarks.Serializers.Xml_FromStream<XmlElement>

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

  • [DataContractSerializer_BinaryXml_ - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 9.69 μs | 6.55 μs | 0.68 | 0.04 | False | | |
|
  • [XmlSerializer_ - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 33.57 μs | 22.31 μs | 0.66 | 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 'MicroBenchmarks.Serializers.Xml_FromStream*'
```

### MicroBenchmarks.Serializers.Xml_FromStream<XmlElement>.DataContractSerializer_BinaryXml_

#### ETL Files

#### Histogram

#### JIT Disasms

### MicroBenchmarks.Serializers.Xml_FromStream<XmlElement>.XmlSerializer_

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