Skip to content

Regressions in Microsoft.Extensions.DependencyInjection.GetService #54351

Closed
@DrewScoggins

Description

@DrewScoggins

Run Information

Architecture x64
OS ubuntu 18.04
Baseline a4b3772d1ada339220145843138d4c622134adeb
Compare 43b1f2c165257faae4d6a4aa886b701b63d2d5c0
Diff Diff

Regressions in Microsoft.Extensions.DependencyInjection.GetService

Benchmark Baseline Test Test/Base Test Quality Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
ServiceScopeProvider - Duration of single invocation 21.97 ns 38.43 ns 1.75 0.26
ServiceScope - Duration of single invocation 45.32 ns 60.61 ns 1.34 0.19

graph
graph
Historical Data in Reporting System

Repro

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

Payloads

Baseline
Compare

Histogram

Microsoft.Extensions.DependencyInjection.GetService.ServiceScopeProvider


Microsoft.Extensions.DependencyInjection.GetService.ServiceScope


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