Closed
Description
Run Information
Architecture | x86 |
---|---|
OS | Windows 10.0.18362 |
Baseline | d839aacdb43cd1b5d6957a05ba4539d411938829 |
Compare | dcd1e03ab42ea52d488f6874f40403f5f6069818 |
Diff | Diff |
Improvemnts in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable
Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio | Baseline ETL | Compare ETL |
---|---|---|---|---|---|---|---|---|---|---|
Transient - Duration of single invocation | 7.50 μs | 108.27 ns | 0.01 | 0.07 | True | |||||
Scoped - Duration of single invocation | 104.65 ns | 83.93 ns | 0.80 | 0.10 | True |
Historical Data in Reporting System
Repro
git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net6.0 --filter 'Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable*'
Payloads
Histogram
Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Transient
Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Scoped
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository
Architecture | x86 |
---|---|
OS | Windows 10.0.18362 |
Baseline | d839aacdb43cd1b5d6957a05ba4539d411938829 |
Compare | dcd1e03ab42ea52d488f6874f40403f5f6069818 |
Diff | Diff |
Improvemnts in Microsoft.Extensions.DependencyInjection.GetService
Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio | Baseline ETL | Compare ETL |
---|---|---|---|---|---|---|---|---|---|---|
ServiceScopeProvider - Duration of single invocation | 47.57 ns | 42.45 ns | 0.89 | 0.26 | False | |||||
ServiceScope - Duration of single invocation | 69.63 ns | 60.59 ns | 0.87 | 0.22 | False |
Historical Data in Reporting System
Repro
git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net6.0 --filter 'Microsoft.Extensions.DependencyInjection.GetService*'
Payloads
Histogram
Microsoft.Extensions.DependencyInjection.GetService.ServiceScopeProvider
Microsoft.Extensions.DependencyInjection.GetService.ServiceScope
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository