Skip to content

[Perf] Regressions in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable #54170

Closed
@DrewScoggins

Description

@DrewScoggins

Run Information

Architecture arm64
OS Windows 10.0.19041
Baseline 5f15498d937653986821d636c04cd03c58d4bb4c
Compare 293d47286161827ecc0d6e96f9eb7b82dafe8307
Diff Diff

Regressions in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable

Benchmark Baseline Test Test/Base Test Quality Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
Scoped - Duration of single invocation 84.69 ns 107.57 ns 1.27 0.34
Transient - Duration of single invocation 160.48 ns 7.33 μs 45.66 0.41

graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable*'

Payloads

Baseline
Compare

Histogram

Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Scoped


Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Transient


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions