Skip to content

[Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection #89104

Description

@performanceautofiler

Run Information

NameValue
Architecturex64
OSWindows 10.0.19042
QueueOwlWindows
Baselineb9c99648783d0c28afdee394a93516c0bd228165
Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
DiffDiff
ConfigsCompilationMode:tiered, RunKind:micro

Regressions in Microsoft.Extensions.DependencyInjection.TimeToFirstService

BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
Transient - Duration of single invocation
📝 - Benchmark Source
2.07 μs2.81 μs1.360.03False
Scoped - Duration of single invocation
📝 - Benchmark Source
2.21 μs3.74 μs1.700.01False
Singleton - Duration of single invocation
📝 - Benchmark Source
2.14 μs2.86 μs1.330.03False
Transient - Duration of single invocation
📝 - Benchmark Source
2.07 μs2.79 μs1.350.02False
Singleton - Duration of single invocation
📝 - Benchmark Source
2.14 μs2.86 μs1.340.01False
Singleton - Duration of single invocation
📝 - Benchmark Source
2.15 μs2.86 μs1.330.02False
Transient - Duration of single invocation
📝 - Benchmark Source
2.06 μs2.81 μs1.360.01False
Transient - Duration of single invocation
📝 - Benchmark Source
2.04 μs3.04 μs1.490.02False
Scoped - Duration of single invocation
📝 - Benchmark Source
2.19 μs3.68 μs1.680.01False
Singleton - Duration of single invocation
📝 - Benchmark Source
2.12 μs2.85 μs1.340.01False
Scoped - Duration of single invocation
📝 - Benchmark Source
2.18 μs4.43 μs2.030.01False
Scoped - Duration of single invocation
📝 - Benchmark Source
2.22 μs3.70 μs1.670.02False

graph
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

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

Payloads

Baseline
Compare

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "ILEmit")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 2.8074656687937947 > 2.169533256426224.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -58.719093257450126 (T) = (0 -2792.851037422641) / Math.Sqrt((352.60395059866795 / (25)) + (543.8548409516927 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3469069695147478 = (2073.529279033151 - 2792.851037422641) / 2073.529279033151 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Expressions")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 3.7449060919169086 > 2.313329304203398.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -54.923040510076426 (T) = (0 -3697.0819345898108) / Math.Sqrt((537.825920760676 / (25)) + (2789.87435868882 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.662069476493108 = (2224.384712479341 - 3697.0819345898108) / 2224.384712479341 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Dynamic")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 2.85680345824012 > 2.252353329493443.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -31.263725112178555 (T) = (0 -2830.783672344858) / Math.Sqrt((432.5965154995103 / (25)) + (1861.7552338641817 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3204047668454227 = (2143.875683748007 - 2830.783672344858) / 2143.875683748007 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Dynamic")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 2.7852518123062144 > 2.1674703674283275.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -39.18403923643714 (T) = (0 -2796.1699528407926) / Math.Sqrt((601.8852429331239 / (25)) + (1258.76112347285 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.347574743169357 = (2074.964648168226 - 2796.1699528407926) / 2074.964648168226 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Runtime")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 2.8638615516169157 > 2.236946583419647.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -13.674900818646606 (T) = (0 -2867.3547131966916) / Math.Sqrt((693.2125990057299 / (25)) + (10946.757199621194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.33467176812110977 = (2148.3594556234775 - 2867.3547131966916) / 2148.3594556234775 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "ILEmit")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 2.860767285628019 > 2.2581899871910105.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -28.459806100580693 (T) = (0 -2814.6439064723313) / Math.Sqrt((394.51806269517533 / (25)) + (1602.6110112794086 / (3))) is less than -2.055529438636913 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (3) - 2, .025) and -0.3108366661755923 = (2147.211761083968 - 2814.6439064723313) / 2147.211761083968 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Expressions")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 2.8059250772847997 > 2.156217797528226.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -109.30110293957469 (T) = (0 -2792.969034167149) / Math.Sqrt((582.6300813353151 / (25)) + (82.0607472504304 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3496327992981993 = (2069.428836954374 - 2792.969034167149) / 2069.428836954374 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Runtime")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 3.039595297918162 > 2.1777183476809574.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -11.301501377442008 (T) = (0 -2841.6026985209705) / Math.Sqrt((474.54920924768743 / (25)) + (18310.227520502194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3691923776596196 = (2075.3860048345896 - 2841.6026985209705) / 2075.3860048345896 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "ILEmit")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 3.676834172199614 > 2.3172891684729664.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -35.680484435747516 (T) = (0 -3670.6950226613326) / Math.Sqrt((1349.1500413067165 / (25)) + (6340.841753427479 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6489291581903674 = (2226.108383388508 - 3670.6950226613326) / 2226.108383388508 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Expressions")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 2.846683093547583 > 2.228866049088209.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -30.937862344587977 (T) = (0 -2832.288570055267) / Math.Sqrt((412.0683729006819 / (25)) + (1919.365963300643 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.321619113764339 = (2143.0444978872324 - 2832.288570055267) / 2143.0444978872324 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Dynamic")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 4.426027441140356 > 2.3147573900974505.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -9.688500845345093 (T) = (0 -3906.8244227089135) / Math.Sqrt((390.3164674535471 / (25)) + (122453.70127502766 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.7668145123735033 = (2211.2250014635456 - 3906.8244227089135) / 2211.2250014635456 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Runtime")

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 3.70442340470864 > 2.3019733705636787.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -11.795904307933982 (T) = (0 -3572.4373834456756) / Math.Sqrt((510.8867420414421 / (25)) + (53140.550141296815 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6151848665431371 = (2211.7823522526583 - 3572.4373834456756) / 2211.7823522526583 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Docs

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


Run Information

NameValue
Architecturex64
OSWindows 10.0.19042
QueueOwlWindows
Baselineb9c99648783d0c28afdee394a93516c0bd228165
Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
DiffDiff
ConfigsCompilationMode:tiered, RunKind:micro

Regressions in Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark

BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
CreateInstance - Duration of single invocation
📝 - Benchmark Source
656.05 ns1.13 μs1.710.20False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

Payloads

Baseline
Compare

Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark.CreateInstance

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 1.1250784875784876 > 713.5991620104128.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -21.584278836659305 (T) = (0 -1139.3568733174607) / Math.Sqrt((1034.8133213404726 / (25)) + (1509.4652706212294 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.633100549870702 = (697.6648641797759 - 1139.3568733174607) / 697.6648641797759 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Docs

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


Run Information

NameValue
Architecturex64
OSWindows 10.0.19042
QueueOwlWindows
Baselineb9c99648783d0c28afdee394a93516c0bd228165
Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
DiffDiff
ConfigsCompilationMode:tiered, RunKind:micro

Regressions in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable

BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
Scoped - Duration of single invocation
📝 - Benchmark Source
31.63 ns115.12 ns3.640.27False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

Payloads

Baseline
Compare

Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Scoped

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 115.11620215701704 > 33.50270896524814.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -35.204332932944325 (T) = (0 -118.81883672568196) / Math.Sqrt((4.423021630949348 / (25)) + (23.338142593740454 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.655525944638927 = (32.50389643655456 - 118.81883672568196) / 32.50389643655456 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Docs

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


Run Information

NameValue
Architecturex64
OSWindows 10.0.19042
QueueOwlWindows
Baselineb9c99648783d0c28afdee394a93516c0bd228165
Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
DiffDiff
ConfigsCompilationMode:tiered, RunKind:micro

Regressions in Microsoft.Extensions.DependencyInjection.GetService

BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
Scoped - Duration of single invocation
📝 - Benchmark Source
31.57 ns112.68 ns3.570.19False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

Payloads

Baseline
Compare

Microsoft.Extensions.DependencyInjection.GetService.Scoped

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because 112.679349578373 > 33.08173716511241.
IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
IsRegressionStdDev: Marked as regression because -159.52245262501265 (T) = (0 -112.13476230036886) / Math.Sqrt((0.6216975524946721 / (25)) + (0.9190557309194967 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.54430120386857 = (31.638045372096162 - 112.13476230036886) / 31.638045372096162 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Docs

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    , 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
     blocks
    (function() {
    function addCopyButtons() {
    document.querySelectorAll('pre code').forEach(function(codeBlock) {
    if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
    codeBlock.parentElement.setAttribute('data-copy-added', 'true');
    var btn = document.createElement('button');
    btn.textContent = 'Copy';
    btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
    btn.onmouseover = function() { this.style.opacity = '1'; };
    btn.onmouseout = function() { this.style.opacity = '0.7'; };
    btn.onclick = function() {
    navigator.clipboard.writeText(codeBlock.textContent).then(function() {
    btn.textContent = 'Copied!';
    setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
    });
    };
    codeBlock.parentElement.style.position = 'relative';
    codeBlock.parentElement.appendChild(btn);
    });
    }
    addCopyButtons();
    // Re-run on dynamic content
    var observer = new MutationObserver(addCopyButtons);
    observer.observe(document.body, { childList: true, subtree: true });
    })();
    }
    } catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
    })();
    (function(){
    try {
    var __m = "github.com";
    var __re = new RegExp('^' + "github\\.com" + '
    [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection · Issue #89104 · dotnet/runtime · GitHub
    Skip to content

    [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection #89104

    Description

    @performanceautofiler

    Run Information

    NameValue
    Architecturex64
    OSWindows 10.0.19042
    QueueOwlWindows
    Baselineb9c99648783d0c28afdee394a93516c0bd228165
    Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
    DiffDiff
    ConfigsCompilationMode:tiered, RunKind:micro

    Regressions in Microsoft.Extensions.DependencyInjection.TimeToFirstService

    BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
    Transient - Duration of single invocation
    📝 - Benchmark Source
    2.07 μs2.81 μs1.360.03False
    Scoped - Duration of single invocation
    📝 - Benchmark Source
    2.21 μs3.74 μs1.700.01False
    Singleton - Duration of single invocation
    📝 - Benchmark Source
    2.14 μs2.86 μs1.330.03False
    Transient - Duration of single invocation
    📝 - Benchmark Source
    2.07 μs2.79 μs1.350.02False
    Singleton - Duration of single invocation
    📝 - Benchmark Source
    2.14 μs2.86 μs1.340.01False
    Singleton - Duration of single invocation
    📝 - Benchmark Source
    2.15 μs2.86 μs1.330.02False
    Transient - Duration of single invocation
    📝 - Benchmark Source
    2.06 μs2.81 μs1.360.01False
    Transient - Duration of single invocation
    📝 - Benchmark Source
    2.04 μs3.04 μs1.490.02False
    Scoped - Duration of single invocation
    📝 - Benchmark Source
    2.19 μs3.68 μs1.680.01False
    Singleton - Duration of single invocation
    📝 - Benchmark Source
    2.12 μs2.85 μs1.340.01False
    Scoped - Duration of single invocation
    📝 - Benchmark Source
    2.18 μs4.43 μs2.030.01False
    Scoped - Duration of single invocation
    📝 - Benchmark Source
    2.22 μs3.70 μs1.670.02False

    graph
    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

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

    Payloads

    Baseline
    Compare

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "ILEmit")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 2.8074656687937947 > 2.169533256426224.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -58.719093257450126 (T) = (0 -2792.851037422641) / Math.Sqrt((352.60395059866795 / (25)) + (543.8548409516927 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3469069695147478 = (2073.529279033151 - 2792.851037422641) / 2073.529279033151 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Expressions")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 3.7449060919169086 > 2.313329304203398.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -54.923040510076426 (T) = (0 -3697.0819345898108) / Math.Sqrt((537.825920760676 / (25)) + (2789.87435868882 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.662069476493108 = (2224.384712479341 - 3697.0819345898108) / 2224.384712479341 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Dynamic")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 2.85680345824012 > 2.252353329493443.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -31.263725112178555 (T) = (0 -2830.783672344858) / Math.Sqrt((432.5965154995103 / (25)) + (1861.7552338641817 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3204047668454227 = (2143.875683748007 - 2830.783672344858) / 2143.875683748007 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Dynamic")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 2.7852518123062144 > 2.1674703674283275.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -39.18403923643714 (T) = (0 -2796.1699528407926) / Math.Sqrt((601.8852429331239 / (25)) + (1258.76112347285 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.347574743169357 = (2074.964648168226 - 2796.1699528407926) / 2074.964648168226 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Runtime")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 2.8638615516169157 > 2.236946583419647.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -13.674900818646606 (T) = (0 -2867.3547131966916) / Math.Sqrt((693.2125990057299 / (25)) + (10946.757199621194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.33467176812110977 = (2148.3594556234775 - 2867.3547131966916) / 2148.3594556234775 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "ILEmit")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 2.860767285628019 > 2.2581899871910105.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -28.459806100580693 (T) = (0 -2814.6439064723313) / Math.Sqrt((394.51806269517533 / (25)) + (1602.6110112794086 / (3))) is less than -2.055529438636913 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (3) - 2, .025) and -0.3108366661755923 = (2147.211761083968 - 2814.6439064723313) / 2147.211761083968 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Expressions")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 2.8059250772847997 > 2.156217797528226.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -109.30110293957469 (T) = (0 -2792.969034167149) / Math.Sqrt((582.6300813353151 / (25)) + (82.0607472504304 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3496327992981993 = (2069.428836954374 - 2792.969034167149) / 2069.428836954374 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Runtime")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 3.039595297918162 > 2.1777183476809574.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -11.301501377442008 (T) = (0 -2841.6026985209705) / Math.Sqrt((474.54920924768743 / (25)) + (18310.227520502194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3691923776596196 = (2075.3860048345896 - 2841.6026985209705) / 2075.3860048345896 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "ILEmit")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 3.676834172199614 > 2.3172891684729664.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -35.680484435747516 (T) = (0 -3670.6950226613326) / Math.Sqrt((1349.1500413067165 / (25)) + (6340.841753427479 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6489291581903674 = (2226.108383388508 - 3670.6950226613326) / 2226.108383388508 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Expressions")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 2.846683093547583 > 2.228866049088209.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -30.937862344587977 (T) = (0 -2832.288570055267) / Math.Sqrt((412.0683729006819 / (25)) + (1919.365963300643 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.321619113764339 = (2143.0444978872324 - 2832.288570055267) / 2143.0444978872324 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Dynamic")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 4.426027441140356 > 2.3147573900974505.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -9.688500845345093 (T) = (0 -3906.8244227089135) / Math.Sqrt((390.3164674535471 / (25)) + (122453.70127502766 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.7668145123735033 = (2211.2250014635456 - 3906.8244227089135) / 2211.2250014635456 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Runtime")

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 3.70442340470864 > 2.3019733705636787.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -11.795904307933982 (T) = (0 -3572.4373834456756) / Math.Sqrt((510.8867420414421 / (25)) + (53140.550141296815 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6151848665431371 = (2211.7823522526583 - 3572.4373834456756) / 2211.7823522526583 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Docs

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


    Run Information

    NameValue
    Architecturex64
    OSWindows 10.0.19042
    QueueOwlWindows
    Baselineb9c99648783d0c28afdee394a93516c0bd228165
    Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
    DiffDiff
    ConfigsCompilationMode:tiered, RunKind:micro

    Regressions in Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark

    BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
    CreateInstance - Duration of single invocation
    📝 - Benchmark Source
    656.05 ns1.13 μs1.710.20False

    graph
    Test Report

    Repro

    General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

    Payloads

    Baseline
    Compare

    Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark.CreateInstance

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 1.1250784875784876 > 713.5991620104128.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -21.584278836659305 (T) = (0 -1139.3568733174607) / Math.Sqrt((1034.8133213404726 / (25)) + (1509.4652706212294 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.633100549870702 = (697.6648641797759 - 1139.3568733174607) / 697.6648641797759 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Docs

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


    Run Information

    NameValue
    Architecturex64
    OSWindows 10.0.19042
    QueueOwlWindows
    Baselineb9c99648783d0c28afdee394a93516c0bd228165
    Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
    DiffDiff
    ConfigsCompilationMode:tiered, RunKind:micro

    Regressions in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable

    BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
    Scoped - Duration of single invocation
    📝 - Benchmark Source
    31.63 ns115.12 ns3.640.27False

    graph
    Test Report

    Repro

    General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

    Payloads

    Baseline
    Compare

    Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Scoped

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 115.11620215701704 > 33.50270896524814.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -35.204332932944325 (T) = (0 -118.81883672568196) / Math.Sqrt((4.423021630949348 / (25)) + (23.338142593740454 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.655525944638927 = (32.50389643655456 - 118.81883672568196) / 32.50389643655456 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Docs

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


    Run Information

    NameValue
    Architecturex64
    OSWindows 10.0.19042
    QueueOwlWindows
    Baselineb9c99648783d0c28afdee394a93516c0bd228165
    Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
    DiffDiff
    ConfigsCompilationMode:tiered, RunKind:micro

    Regressions in Microsoft.Extensions.DependencyInjection.GetService

    BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
    Scoped - Duration of single invocation
    📝 - Benchmark Source
    31.57 ns112.68 ns3.570.19False

    graph
    Test Report

    Repro

    General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

    Payloads

    Baseline
    Compare

    Microsoft.Extensions.DependencyInjection.GetService.Scoped

    ETL Files

    Histogram

    Description of detection logic

    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
    IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
    IsRegressionWindowed: Marked as regression because 112.679349578373 > 33.08173716511241.
    IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
    IsRegressionStdDev: Marked as regression because -159.52245262501265 (T) = (0 -112.13476230036886) / Math.Sqrt((0.6216975524946721 / (25)) + (0.9190557309194967 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.54430120386857 = (31.638045372096162 - 112.13476230036886) / 31.638045372096162 is less than -0.05.
    IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
    IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
    

    JIT Disasms

    Docs

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

    Metadata

    Metadata

    Assignees

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      , 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection · Issue #89104 · dotnet/runtime · GitHub
      Skip to content

      [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection #89104

      Description

      @performanceautofiler

      Run Information

      NameValue
      Architecturex64
      OSWindows 10.0.19042
      QueueOwlWindows
      Baselineb9c99648783d0c28afdee394a93516c0bd228165
      Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
      DiffDiff
      ConfigsCompilationMode:tiered, RunKind:micro

      Regressions in Microsoft.Extensions.DependencyInjection.TimeToFirstService

      BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
      Transient - Duration of single invocation
      📝 - Benchmark Source
      2.07 μs2.81 μs1.360.03False
      Scoped - Duration of single invocation
      📝 - Benchmark Source
      2.21 μs3.74 μs1.700.01False
      Singleton - Duration of single invocation
      📝 - Benchmark Source
      2.14 μs2.86 μs1.330.03False
      Transient - Duration of single invocation
      📝 - Benchmark Source
      2.07 μs2.79 μs1.350.02False
      Singleton - Duration of single invocation
      📝 - Benchmark Source
      2.14 μs2.86 μs1.340.01False
      Singleton - Duration of single invocation
      📝 - Benchmark Source
      2.15 μs2.86 μs1.330.02False
      Transient - Duration of single invocation
      📝 - Benchmark Source
      2.06 μs2.81 μs1.360.01False
      Transient - Duration of single invocation
      📝 - Benchmark Source
      2.04 μs3.04 μs1.490.02False
      Scoped - Duration of single invocation
      📝 - Benchmark Source
      2.19 μs3.68 μs1.680.01False
      Singleton - Duration of single invocation
      📝 - Benchmark Source
      2.12 μs2.85 μs1.340.01False
      Scoped - Duration of single invocation
      📝 - Benchmark Source
      2.18 μs4.43 μs2.030.01False
      Scoped - Duration of single invocation
      📝 - Benchmark Source
      2.22 μs3.70 μs1.670.02False

      graph
      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

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

      Payloads

      Baseline
      Compare

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "ILEmit")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 2.8074656687937947 > 2.169533256426224.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -58.719093257450126 (T) = (0 -2792.851037422641) / Math.Sqrt((352.60395059866795 / (25)) + (543.8548409516927 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3469069695147478 = (2073.529279033151 - 2792.851037422641) / 2073.529279033151 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Expressions")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 3.7449060919169086 > 2.313329304203398.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -54.923040510076426 (T) = (0 -3697.0819345898108) / Math.Sqrt((537.825920760676 / (25)) + (2789.87435868882 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.662069476493108 = (2224.384712479341 - 3697.0819345898108) / 2224.384712479341 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Dynamic")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 2.85680345824012 > 2.252353329493443.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -31.263725112178555 (T) = (0 -2830.783672344858) / Math.Sqrt((432.5965154995103 / (25)) + (1861.7552338641817 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3204047668454227 = (2143.875683748007 - 2830.783672344858) / 2143.875683748007 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Dynamic")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 2.7852518123062144 > 2.1674703674283275.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -39.18403923643714 (T) = (0 -2796.1699528407926) / Math.Sqrt((601.8852429331239 / (25)) + (1258.76112347285 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.347574743169357 = (2074.964648168226 - 2796.1699528407926) / 2074.964648168226 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Runtime")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 2.8638615516169157 > 2.236946583419647.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -13.674900818646606 (T) = (0 -2867.3547131966916) / Math.Sqrt((693.2125990057299 / (25)) + (10946.757199621194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.33467176812110977 = (2148.3594556234775 - 2867.3547131966916) / 2148.3594556234775 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "ILEmit")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 2.860767285628019 > 2.2581899871910105.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -28.459806100580693 (T) = (0 -2814.6439064723313) / Math.Sqrt((394.51806269517533 / (25)) + (1602.6110112794086 / (3))) is less than -2.055529438636913 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (3) - 2, .025) and -0.3108366661755923 = (2147.211761083968 - 2814.6439064723313) / 2147.211761083968 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Expressions")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 2.8059250772847997 > 2.156217797528226.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -109.30110293957469 (T) = (0 -2792.969034167149) / Math.Sqrt((582.6300813353151 / (25)) + (82.0607472504304 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3496327992981993 = (2069.428836954374 - 2792.969034167149) / 2069.428836954374 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Runtime")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 3.039595297918162 > 2.1777183476809574.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -11.301501377442008 (T) = (0 -2841.6026985209705) / Math.Sqrt((474.54920924768743 / (25)) + (18310.227520502194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3691923776596196 = (2075.3860048345896 - 2841.6026985209705) / 2075.3860048345896 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "ILEmit")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 3.676834172199614 > 2.3172891684729664.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -35.680484435747516 (T) = (0 -3670.6950226613326) / Math.Sqrt((1349.1500413067165 / (25)) + (6340.841753427479 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6489291581903674 = (2226.108383388508 - 3670.6950226613326) / 2226.108383388508 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Expressions")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 2.846683093547583 > 2.228866049088209.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -30.937862344587977 (T) = (0 -2832.288570055267) / Math.Sqrt((412.0683729006819 / (25)) + (1919.365963300643 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.321619113764339 = (2143.0444978872324 - 2832.288570055267) / 2143.0444978872324 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Dynamic")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 4.426027441140356 > 2.3147573900974505.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -9.688500845345093 (T) = (0 -3906.8244227089135) / Math.Sqrt((390.3164674535471 / (25)) + (122453.70127502766 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.7668145123735033 = (2211.2250014635456 - 3906.8244227089135) / 2211.2250014635456 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Runtime")

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 3.70442340470864 > 2.3019733705636787.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -11.795904307933982 (T) = (0 -3572.4373834456756) / Math.Sqrt((510.8867420414421 / (25)) + (53140.550141296815 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6151848665431371 = (2211.7823522526583 - 3572.4373834456756) / 2211.7823522526583 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Docs

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


      Run Information

      NameValue
      Architecturex64
      OSWindows 10.0.19042
      QueueOwlWindows
      Baselineb9c99648783d0c28afdee394a93516c0bd228165
      Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
      DiffDiff
      ConfigsCompilationMode:tiered, RunKind:micro

      Regressions in Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark

      BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
      CreateInstance - Duration of single invocation
      📝 - Benchmark Source
      656.05 ns1.13 μs1.710.20False

      graph
      Test Report

      Repro

      General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

      Payloads

      Baseline
      Compare

      Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark.CreateInstance

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 1.1250784875784876 > 713.5991620104128.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -21.584278836659305 (T) = (0 -1139.3568733174607) / Math.Sqrt((1034.8133213404726 / (25)) + (1509.4652706212294 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.633100549870702 = (697.6648641797759 - 1139.3568733174607) / 697.6648641797759 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Docs

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


      Run Information

      NameValue
      Architecturex64
      OSWindows 10.0.19042
      QueueOwlWindows
      Baselineb9c99648783d0c28afdee394a93516c0bd228165
      Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
      DiffDiff
      ConfigsCompilationMode:tiered, RunKind:micro

      Regressions in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable

      BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
      Scoped - Duration of single invocation
      📝 - Benchmark Source
      31.63 ns115.12 ns3.640.27False

      graph
      Test Report

      Repro

      General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

      Payloads

      Baseline
      Compare

      Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Scoped

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 115.11620215701704 > 33.50270896524814.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -35.204332932944325 (T) = (0 -118.81883672568196) / Math.Sqrt((4.423021630949348 / (25)) + (23.338142593740454 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.655525944638927 = (32.50389643655456 - 118.81883672568196) / 32.50389643655456 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Docs

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


      Run Information

      NameValue
      Architecturex64
      OSWindows 10.0.19042
      QueueOwlWindows
      Baselineb9c99648783d0c28afdee394a93516c0bd228165
      Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
      DiffDiff
      ConfigsCompilationMode:tiered, RunKind:micro

      Regressions in Microsoft.Extensions.DependencyInjection.GetService

      BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
      Scoped - Duration of single invocation
      📝 - Benchmark Source
      31.57 ns112.68 ns3.570.19False

      graph
      Test Report

      Repro

      General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

      Payloads

      Baseline
      Compare

      Microsoft.Extensions.DependencyInjection.GetService.Scoped

      ETL Files

      Histogram

      Description of detection logic

      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
      IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
      IsRegressionWindowed: Marked as regression because 112.679349578373 > 33.08173716511241.
      IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
      IsRegressionStdDev: Marked as regression because -159.52245262501265 (T) = (0 -112.13476230036886) / Math.Sqrt((0.6216975524946721 / (25)) + (0.9190557309194967 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.54430120386857 = (31.638045372096162 - 112.13476230036886) / 31.638045372096162 is less than -0.05.
      IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
      IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
      

      JIT Disasms

      Docs

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

      Metadata

      Metadata

      Assignees

      Type

      No type

      Projects

      No projects

        Milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        , 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection · Issue #89104 · dotnet/runtime · GitHub
        Skip to content

        [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection #89104

        Description

        @performanceautofiler

        Run Information

        NameValue
        Architecturex64
        OSWindows 10.0.19042
        QueueOwlWindows
        Baselineb9c99648783d0c28afdee394a93516c0bd228165
        Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
        DiffDiff
        ConfigsCompilationMode:tiered, RunKind:micro

        Regressions in Microsoft.Extensions.DependencyInjection.TimeToFirstService

        BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
        Transient - Duration of single invocation
        📝 - Benchmark Source
        2.07 μs2.81 μs1.360.03False
        Scoped - Duration of single invocation
        📝 - Benchmark Source
        2.21 μs3.74 μs1.700.01False
        Singleton - Duration of single invocation
        📝 - Benchmark Source
        2.14 μs2.86 μs1.330.03False
        Transient - Duration of single invocation
        📝 - Benchmark Source
        2.07 μs2.79 μs1.350.02False
        Singleton - Duration of single invocation
        📝 - Benchmark Source
        2.14 μs2.86 μs1.340.01False
        Singleton - Duration of single invocation
        📝 - Benchmark Source
        2.15 μs2.86 μs1.330.02False
        Transient - Duration of single invocation
        📝 - Benchmark Source
        2.06 μs2.81 μs1.360.01False
        Transient - Duration of single invocation
        📝 - Benchmark Source
        2.04 μs3.04 μs1.490.02False
        Scoped - Duration of single invocation
        📝 - Benchmark Source
        2.19 μs3.68 μs1.680.01False
        Singleton - Duration of single invocation
        📝 - Benchmark Source
        2.12 μs2.85 μs1.340.01False
        Scoped - Duration of single invocation
        📝 - Benchmark Source
        2.18 μs4.43 μs2.030.01False
        Scoped - Duration of single invocation
        📝 - Benchmark Source
        2.22 μs3.70 μs1.670.02False

        graph
        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

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

        Payloads

        Baseline
        Compare

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "ILEmit")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 2.8074656687937947 > 2.169533256426224.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -58.719093257450126 (T) = (0 -2792.851037422641) / Math.Sqrt((352.60395059866795 / (25)) + (543.8548409516927 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3469069695147478 = (2073.529279033151 - 2792.851037422641) / 2073.529279033151 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Expressions")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 3.7449060919169086 > 2.313329304203398.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -54.923040510076426 (T) = (0 -3697.0819345898108) / Math.Sqrt((537.825920760676 / (25)) + (2789.87435868882 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.662069476493108 = (2224.384712479341 - 3697.0819345898108) / 2224.384712479341 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Dynamic")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 2.85680345824012 > 2.252353329493443.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -31.263725112178555 (T) = (0 -2830.783672344858) / Math.Sqrt((432.5965154995103 / (25)) + (1861.7552338641817 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3204047668454227 = (2143.875683748007 - 2830.783672344858) / 2143.875683748007 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Dynamic")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 2.7852518123062144 > 2.1674703674283275.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -39.18403923643714 (T) = (0 -2796.1699528407926) / Math.Sqrt((601.8852429331239 / (25)) + (1258.76112347285 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.347574743169357 = (2074.964648168226 - 2796.1699528407926) / 2074.964648168226 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Runtime")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 2.8638615516169157 > 2.236946583419647.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -13.674900818646606 (T) = (0 -2867.3547131966916) / Math.Sqrt((693.2125990057299 / (25)) + (10946.757199621194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.33467176812110977 = (2148.3594556234775 - 2867.3547131966916) / 2148.3594556234775 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "ILEmit")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 2.860767285628019 > 2.2581899871910105.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -28.459806100580693 (T) = (0 -2814.6439064723313) / Math.Sqrt((394.51806269517533 / (25)) + (1602.6110112794086 / (3))) is less than -2.055529438636913 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (3) - 2, .025) and -0.3108366661755923 = (2147.211761083968 - 2814.6439064723313) / 2147.211761083968 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Expressions")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 2.8059250772847997 > 2.156217797528226.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -109.30110293957469 (T) = (0 -2792.969034167149) / Math.Sqrt((582.6300813353151 / (25)) + (82.0607472504304 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3496327992981993 = (2069.428836954374 - 2792.969034167149) / 2069.428836954374 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Runtime")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 3.039595297918162 > 2.1777183476809574.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -11.301501377442008 (T) = (0 -2841.6026985209705) / Math.Sqrt((474.54920924768743 / (25)) + (18310.227520502194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3691923776596196 = (2075.3860048345896 - 2841.6026985209705) / 2075.3860048345896 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "ILEmit")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 3.676834172199614 > 2.3172891684729664.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -35.680484435747516 (T) = (0 -3670.6950226613326) / Math.Sqrt((1349.1500413067165 / (25)) + (6340.841753427479 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6489291581903674 = (2226.108383388508 - 3670.6950226613326) / 2226.108383388508 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Expressions")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 2.846683093547583 > 2.228866049088209.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -30.937862344587977 (T) = (0 -2832.288570055267) / Math.Sqrt((412.0683729006819 / (25)) + (1919.365963300643 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.321619113764339 = (2143.0444978872324 - 2832.288570055267) / 2143.0444978872324 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Dynamic")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 4.426027441140356 > 2.3147573900974505.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -9.688500845345093 (T) = (0 -3906.8244227089135) / Math.Sqrt((390.3164674535471 / (25)) + (122453.70127502766 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.7668145123735033 = (2211.2250014635456 - 3906.8244227089135) / 2211.2250014635456 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Runtime")

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 3.70442340470864 > 2.3019733705636787.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -11.795904307933982 (T) = (0 -3572.4373834456756) / Math.Sqrt((510.8867420414421 / (25)) + (53140.550141296815 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6151848665431371 = (2211.7823522526583 - 3572.4373834456756) / 2211.7823522526583 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Docs

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


        Run Information

        NameValue
        Architecturex64
        OSWindows 10.0.19042
        QueueOwlWindows
        Baselineb9c99648783d0c28afdee394a93516c0bd228165
        Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
        DiffDiff
        ConfigsCompilationMode:tiered, RunKind:micro

        Regressions in Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark

        BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
        CreateInstance - Duration of single invocation
        📝 - Benchmark Source
        656.05 ns1.13 μs1.710.20False

        graph
        Test Report

        Repro

        General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

        Payloads

        Baseline
        Compare

        Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark.CreateInstance

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 1.1250784875784876 > 713.5991620104128.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -21.584278836659305 (T) = (0 -1139.3568733174607) / Math.Sqrt((1034.8133213404726 / (25)) + (1509.4652706212294 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.633100549870702 = (697.6648641797759 - 1139.3568733174607) / 697.6648641797759 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Docs

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


        Run Information

        NameValue
        Architecturex64
        OSWindows 10.0.19042
        QueueOwlWindows
        Baselineb9c99648783d0c28afdee394a93516c0bd228165
        Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
        DiffDiff
        ConfigsCompilationMode:tiered, RunKind:micro

        Regressions in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable

        BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
        Scoped - Duration of single invocation
        📝 - Benchmark Source
        31.63 ns115.12 ns3.640.27False

        graph
        Test Report

        Repro

        General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

        Payloads

        Baseline
        Compare

        Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Scoped

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 115.11620215701704 > 33.50270896524814.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -35.204332932944325 (T) = (0 -118.81883672568196) / Math.Sqrt((4.423021630949348 / (25)) + (23.338142593740454 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.655525944638927 = (32.50389643655456 - 118.81883672568196) / 32.50389643655456 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Docs

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


        Run Information

        NameValue
        Architecturex64
        OSWindows 10.0.19042
        QueueOwlWindows
        Baselineb9c99648783d0c28afdee394a93516c0bd228165
        Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
        DiffDiff
        ConfigsCompilationMode:tiered, RunKind:micro

        Regressions in Microsoft.Extensions.DependencyInjection.GetService

        BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
        Scoped - Duration of single invocation
        📝 - Benchmark Source
        31.57 ns112.68 ns3.570.19False

        graph
        Test Report

        Repro

        General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

        Payloads

        Baseline
        Compare

        Microsoft.Extensions.DependencyInjection.GetService.Scoped

        ETL Files

        Histogram

        Description of detection logic

        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
        IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
        IsRegressionWindowed: Marked as regression because 112.679349578373 > 33.08173716511241.
        IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
        IsRegressionStdDev: Marked as regression because -159.52245262501265 (T) = (0 -112.13476230036886) / Math.Sqrt((0.6216975524946721 / (25)) + (0.9190557309194967 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.54430120386857 = (31.638045372096162 - 112.13476230036886) / 31.638045372096162 is less than -0.05.
        IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
        IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
        

        JIT Disasms

        Docs

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

        Metadata

        Metadata

        Assignees

        Type

        No type

        Projects

        No projects

          Milestone

          Relationships

          None yet

          Development

          No branches or pull requests

          Issue actions

          , 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection · Issue #89104 · dotnet/runtime · GitHub
          Skip to content

          [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection #89104

          Description

          @performanceautofiler

          Run Information

          NameValue
          Architecturex64
          OSWindows 10.0.19042
          QueueOwlWindows
          Baselineb9c99648783d0c28afdee394a93516c0bd228165
          Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
          DiffDiff
          ConfigsCompilationMode:tiered, RunKind:micro

          Regressions in Microsoft.Extensions.DependencyInjection.TimeToFirstService

          BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
          Transient - Duration of single invocation
          📝 - Benchmark Source
          2.07 μs2.81 μs1.360.03False
          Scoped - Duration of single invocation
          📝 - Benchmark Source
          2.21 μs3.74 μs1.700.01False
          Singleton - Duration of single invocation
          📝 - Benchmark Source
          2.14 μs2.86 μs1.330.03False
          Transient - Duration of single invocation
          📝 - Benchmark Source
          2.07 μs2.79 μs1.350.02False
          Singleton - Duration of single invocation
          📝 - Benchmark Source
          2.14 μs2.86 μs1.340.01False
          Singleton - Duration of single invocation
          📝 - Benchmark Source
          2.15 μs2.86 μs1.330.02False
          Transient - Duration of single invocation
          📝 - Benchmark Source
          2.06 μs2.81 μs1.360.01False
          Transient - Duration of single invocation
          📝 - Benchmark Source
          2.04 μs3.04 μs1.490.02False
          Scoped - Duration of single invocation
          📝 - Benchmark Source
          2.19 μs3.68 μs1.680.01False
          Singleton - Duration of single invocation
          📝 - Benchmark Source
          2.12 μs2.85 μs1.340.01False
          Scoped - Duration of single invocation
          📝 - Benchmark Source
          2.18 μs4.43 μs2.030.01False
          Scoped - Duration of single invocation
          📝 - Benchmark Source
          2.22 μs3.70 μs1.670.02False

          graph
          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

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

          Payloads

          Baseline
          Compare

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "ILEmit")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 2.8074656687937947 > 2.169533256426224.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -58.719093257450126 (T) = (0 -2792.851037422641) / Math.Sqrt((352.60395059866795 / (25)) + (543.8548409516927 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3469069695147478 = (2073.529279033151 - 2792.851037422641) / 2073.529279033151 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Expressions")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 3.7449060919169086 > 2.313329304203398.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -54.923040510076426 (T) = (0 -3697.0819345898108) / Math.Sqrt((537.825920760676 / (25)) + (2789.87435868882 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.662069476493108 = (2224.384712479341 - 3697.0819345898108) / 2224.384712479341 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Dynamic")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 2.85680345824012 > 2.252353329493443.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -31.263725112178555 (T) = (0 -2830.783672344858) / Math.Sqrt((432.5965154995103 / (25)) + (1861.7552338641817 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3204047668454227 = (2143.875683748007 - 2830.783672344858) / 2143.875683748007 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Dynamic")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 2.7852518123062144 > 2.1674703674283275.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -39.18403923643714 (T) = (0 -2796.1699528407926) / Math.Sqrt((601.8852429331239 / (25)) + (1258.76112347285 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.347574743169357 = (2074.964648168226 - 2796.1699528407926) / 2074.964648168226 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Runtime")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 2.8638615516169157 > 2.236946583419647.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -13.674900818646606 (T) = (0 -2867.3547131966916) / Math.Sqrt((693.2125990057299 / (25)) + (10946.757199621194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.33467176812110977 = (2148.3594556234775 - 2867.3547131966916) / 2148.3594556234775 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "ILEmit")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 2.860767285628019 > 2.2581899871910105.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -28.459806100580693 (T) = (0 -2814.6439064723313) / Math.Sqrt((394.51806269517533 / (25)) + (1602.6110112794086 / (3))) is less than -2.055529438636913 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (3) - 2, .025) and -0.3108366661755923 = (2147.211761083968 - 2814.6439064723313) / 2147.211761083968 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Expressions")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 2.8059250772847997 > 2.156217797528226.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -109.30110293957469 (T) = (0 -2792.969034167149) / Math.Sqrt((582.6300813353151 / (25)) + (82.0607472504304 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3496327992981993 = (2069.428836954374 - 2792.969034167149) / 2069.428836954374 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Runtime")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 3.039595297918162 > 2.1777183476809574.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -11.301501377442008 (T) = (0 -2841.6026985209705) / Math.Sqrt((474.54920924768743 / (25)) + (18310.227520502194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3691923776596196 = (2075.3860048345896 - 2841.6026985209705) / 2075.3860048345896 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "ILEmit")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 3.676834172199614 > 2.3172891684729664.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -35.680484435747516 (T) = (0 -3670.6950226613326) / Math.Sqrt((1349.1500413067165 / (25)) + (6340.841753427479 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6489291581903674 = (2226.108383388508 - 3670.6950226613326) / 2226.108383388508 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Expressions")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 2.846683093547583 > 2.228866049088209.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -30.937862344587977 (T) = (0 -2832.288570055267) / Math.Sqrt((412.0683729006819 / (25)) + (1919.365963300643 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.321619113764339 = (2143.0444978872324 - 2832.288570055267) / 2143.0444978872324 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Dynamic")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 4.426027441140356 > 2.3147573900974505.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -9.688500845345093 (T) = (0 -3906.8244227089135) / Math.Sqrt((390.3164674535471 / (25)) + (122453.70127502766 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.7668145123735033 = (2211.2250014635456 - 3906.8244227089135) / 2211.2250014635456 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Runtime")

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 3.70442340470864 > 2.3019733705636787.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -11.795904307933982 (T) = (0 -3572.4373834456756) / Math.Sqrt((510.8867420414421 / (25)) + (53140.550141296815 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6151848665431371 = (2211.7823522526583 - 3572.4373834456756) / 2211.7823522526583 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Docs

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


          Run Information

          NameValue
          Architecturex64
          OSWindows 10.0.19042
          QueueOwlWindows
          Baselineb9c99648783d0c28afdee394a93516c0bd228165
          Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
          DiffDiff
          ConfigsCompilationMode:tiered, RunKind:micro

          Regressions in Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark

          BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
          CreateInstance - Duration of single invocation
          📝 - Benchmark Source
          656.05 ns1.13 μs1.710.20False

          graph
          Test Report

          Repro

          General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

          Payloads

          Baseline
          Compare

          Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark.CreateInstance

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 1.1250784875784876 > 713.5991620104128.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -21.584278836659305 (T) = (0 -1139.3568733174607) / Math.Sqrt((1034.8133213404726 / (25)) + (1509.4652706212294 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.633100549870702 = (697.6648641797759 - 1139.3568733174607) / 697.6648641797759 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Docs

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


          Run Information

          NameValue
          Architecturex64
          OSWindows 10.0.19042
          QueueOwlWindows
          Baselineb9c99648783d0c28afdee394a93516c0bd228165
          Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
          DiffDiff
          ConfigsCompilationMode:tiered, RunKind:micro

          Regressions in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable

          BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
          Scoped - Duration of single invocation
          📝 - Benchmark Source
          31.63 ns115.12 ns3.640.27False

          graph
          Test Report

          Repro

          General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

          Payloads

          Baseline
          Compare

          Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Scoped

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 115.11620215701704 > 33.50270896524814.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -35.204332932944325 (T) = (0 -118.81883672568196) / Math.Sqrt((4.423021630949348 / (25)) + (23.338142593740454 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.655525944638927 = (32.50389643655456 - 118.81883672568196) / 32.50389643655456 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Docs

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


          Run Information

          NameValue
          Architecturex64
          OSWindows 10.0.19042
          QueueOwlWindows
          Baselineb9c99648783d0c28afdee394a93516c0bd228165
          Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
          DiffDiff
          ConfigsCompilationMode:tiered, RunKind:micro

          Regressions in Microsoft.Extensions.DependencyInjection.GetService

          BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
          Scoped - Duration of single invocation
          📝 - Benchmark Source
          31.57 ns112.68 ns3.570.19False

          graph
          Test Report

          Repro

          General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

          Payloads

          Baseline
          Compare

          Microsoft.Extensions.DependencyInjection.GetService.Scoped

          ETL Files

          Histogram

          Description of detection logic

          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
          IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
          IsRegressionWindowed: Marked as regression because 112.679349578373 > 33.08173716511241.
          IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
          IsRegressionStdDev: Marked as regression because -159.52245262501265 (T) = (0 -112.13476230036886) / Math.Sqrt((0.6216975524946721 / (25)) + (0.9190557309194967 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.54430120386857 = (31.638045372096162 - 112.13476230036886) / 31.638045372096162 is less than -0.05.
          IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
          IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
          

          JIT Disasms

          Docs

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

          Metadata

          Metadata

          Assignees

          Type

          No type

          Projects

          No projects

            Milestone

            Relationships

            None yet

            Development

            No branches or pull requests

            Issue actions

            , 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection · Issue #89104 · dotnet/runtime · GitHub
            Skip to content

            [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection #89104

            Description

            @performanceautofiler

            Run Information

            NameValue
            Architecturex64
            OSWindows 10.0.19042
            QueueOwlWindows
            Baselineb9c99648783d0c28afdee394a93516c0bd228165
            Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
            DiffDiff
            ConfigsCompilationMode:tiered, RunKind:micro

            Regressions in Microsoft.Extensions.DependencyInjection.TimeToFirstService

            BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
            Transient - Duration of single invocation
            📝 - Benchmark Source
            2.07 μs2.81 μs1.360.03False
            Scoped - Duration of single invocation
            📝 - Benchmark Source
            2.21 μs3.74 μs1.700.01False
            Singleton - Duration of single invocation
            📝 - Benchmark Source
            2.14 μs2.86 μs1.330.03False
            Transient - Duration of single invocation
            📝 - Benchmark Source
            2.07 μs2.79 μs1.350.02False
            Singleton - Duration of single invocation
            📝 - Benchmark Source
            2.14 μs2.86 μs1.340.01False
            Singleton - Duration of single invocation
            📝 - Benchmark Source
            2.15 μs2.86 μs1.330.02False
            Transient - Duration of single invocation
            📝 - Benchmark Source
            2.06 μs2.81 μs1.360.01False
            Transient - Duration of single invocation
            📝 - Benchmark Source
            2.04 μs3.04 μs1.490.02False
            Scoped - Duration of single invocation
            📝 - Benchmark Source
            2.19 μs3.68 μs1.680.01False
            Singleton - Duration of single invocation
            📝 - Benchmark Source
            2.12 μs2.85 μs1.340.01False
            Scoped - Duration of single invocation
            📝 - Benchmark Source
            2.18 μs4.43 μs2.030.01False
            Scoped - Duration of single invocation
            📝 - Benchmark Source
            2.22 μs3.70 μs1.670.02False

            graph
            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

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

            Payloads

            Baseline
            Compare

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "ILEmit")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 2.8074656687937947 > 2.169533256426224.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -58.719093257450126 (T) = (0 -2792.851037422641) / Math.Sqrt((352.60395059866795 / (25)) + (543.8548409516927 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3469069695147478 = (2073.529279033151 - 2792.851037422641) / 2073.529279033151 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Expressions")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 3.7449060919169086 > 2.313329304203398.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -54.923040510076426 (T) = (0 -3697.0819345898108) / Math.Sqrt((537.825920760676 / (25)) + (2789.87435868882 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.662069476493108 = (2224.384712479341 - 3697.0819345898108) / 2224.384712479341 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Dynamic")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 2.85680345824012 > 2.252353329493443.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -31.263725112178555 (T) = (0 -2830.783672344858) / Math.Sqrt((432.5965154995103 / (25)) + (1861.7552338641817 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3204047668454227 = (2143.875683748007 - 2830.783672344858) / 2143.875683748007 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Dynamic")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 2.7852518123062144 > 2.1674703674283275.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -39.18403923643714 (T) = (0 -2796.1699528407926) / Math.Sqrt((601.8852429331239 / (25)) + (1258.76112347285 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.347574743169357 = (2074.964648168226 - 2796.1699528407926) / 2074.964648168226 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Runtime")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 2.8638615516169157 > 2.236946583419647.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -13.674900818646606 (T) = (0 -2867.3547131966916) / Math.Sqrt((693.2125990057299 / (25)) + (10946.757199621194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.33467176812110977 = (2148.3594556234775 - 2867.3547131966916) / 2148.3594556234775 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "ILEmit")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 2.860767285628019 > 2.2581899871910105.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -28.459806100580693 (T) = (0 -2814.6439064723313) / Math.Sqrt((394.51806269517533 / (25)) + (1602.6110112794086 / (3))) is less than -2.055529438636913 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (3) - 2, .025) and -0.3108366661755923 = (2147.211761083968 - 2814.6439064723313) / 2147.211761083968 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Expressions")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 2.8059250772847997 > 2.156217797528226.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -109.30110293957469 (T) = (0 -2792.969034167149) / Math.Sqrt((582.6300813353151 / (25)) + (82.0607472504304 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3496327992981993 = (2069.428836954374 - 2792.969034167149) / 2069.428836954374 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Runtime")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 3.039595297918162 > 2.1777183476809574.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -11.301501377442008 (T) = (0 -2841.6026985209705) / Math.Sqrt((474.54920924768743 / (25)) + (18310.227520502194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3691923776596196 = (2075.3860048345896 - 2841.6026985209705) / 2075.3860048345896 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "ILEmit")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 3.676834172199614 > 2.3172891684729664.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -35.680484435747516 (T) = (0 -3670.6950226613326) / Math.Sqrt((1349.1500413067165 / (25)) + (6340.841753427479 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6489291581903674 = (2226.108383388508 - 3670.6950226613326) / 2226.108383388508 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Expressions")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 2.846683093547583 > 2.228866049088209.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -30.937862344587977 (T) = (0 -2832.288570055267) / Math.Sqrt((412.0683729006819 / (25)) + (1919.365963300643 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.321619113764339 = (2143.0444978872324 - 2832.288570055267) / 2143.0444978872324 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Dynamic")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 4.426027441140356 > 2.3147573900974505.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -9.688500845345093 (T) = (0 -3906.8244227089135) / Math.Sqrt((390.3164674535471 / (25)) + (122453.70127502766 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.7668145123735033 = (2211.2250014635456 - 3906.8244227089135) / 2211.2250014635456 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Runtime")

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 3.70442340470864 > 2.3019733705636787.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -11.795904307933982 (T) = (0 -3572.4373834456756) / Math.Sqrt((510.8867420414421 / (25)) + (53140.550141296815 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6151848665431371 = (2211.7823522526583 - 3572.4373834456756) / 2211.7823522526583 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Docs

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


            Run Information

            NameValue
            Architecturex64
            OSWindows 10.0.19042
            QueueOwlWindows
            Baselineb9c99648783d0c28afdee394a93516c0bd228165
            Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
            DiffDiff
            ConfigsCompilationMode:tiered, RunKind:micro

            Regressions in Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark

            BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
            CreateInstance - Duration of single invocation
            📝 - Benchmark Source
            656.05 ns1.13 μs1.710.20False

            graph
            Test Report

            Repro

            General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

            Payloads

            Baseline
            Compare

            Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark.CreateInstance

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 1.1250784875784876 > 713.5991620104128.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -21.584278836659305 (T) = (0 -1139.3568733174607) / Math.Sqrt((1034.8133213404726 / (25)) + (1509.4652706212294 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.633100549870702 = (697.6648641797759 - 1139.3568733174607) / 697.6648641797759 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Docs

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


            Run Information

            NameValue
            Architecturex64
            OSWindows 10.0.19042
            QueueOwlWindows
            Baselineb9c99648783d0c28afdee394a93516c0bd228165
            Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
            DiffDiff
            ConfigsCompilationMode:tiered, RunKind:micro

            Regressions in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable

            BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
            Scoped - Duration of single invocation
            📝 - Benchmark Source
            31.63 ns115.12 ns3.640.27False

            graph
            Test Report

            Repro

            General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

            Payloads

            Baseline
            Compare

            Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Scoped

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 115.11620215701704 > 33.50270896524814.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -35.204332932944325 (T) = (0 -118.81883672568196) / Math.Sqrt((4.423021630949348 / (25)) + (23.338142593740454 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.655525944638927 = (32.50389643655456 - 118.81883672568196) / 32.50389643655456 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Docs

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


            Run Information

            NameValue
            Architecturex64
            OSWindows 10.0.19042
            QueueOwlWindows
            Baselineb9c99648783d0c28afdee394a93516c0bd228165
            Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
            DiffDiff
            ConfigsCompilationMode:tiered, RunKind:micro

            Regressions in Microsoft.Extensions.DependencyInjection.GetService

            BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
            Scoped - Duration of single invocation
            📝 - Benchmark Source
            31.57 ns112.68 ns3.570.19False

            graph
            Test Report

            Repro

            General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

            Payloads

            Baseline
            Compare

            Microsoft.Extensions.DependencyInjection.GetService.Scoped

            ETL Files

            Histogram

            Description of detection logic

            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
            IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
            IsRegressionWindowed: Marked as regression because 112.679349578373 > 33.08173716511241.
            IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
            IsRegressionStdDev: Marked as regression because -159.52245262501265 (T) = (0 -112.13476230036886) / Math.Sqrt((0.6216975524946721 / (25)) + (0.9190557309194967 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.54430120386857 = (31.638045372096162 - 112.13476230036886) / 31.638045372096162 is less than -0.05.
            IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
            IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
            

            JIT Disasms

            Docs

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

            Metadata

            Metadata

            Assignees

            Type

            No type

            Projects

            No projects

              Milestone

              Relationships

              None yet

              Development

              No branches or pull requests

              Issue actions

              , 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection · Issue #89104 · dotnet/runtime · GitHub
              Skip to content

              [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection #89104

              Description

              @performanceautofiler

              Run Information

              NameValue
              Architecturex64
              OSWindows 10.0.19042
              QueueOwlWindows
              Baselineb9c99648783d0c28afdee394a93516c0bd228165
              Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
              DiffDiff
              ConfigsCompilationMode:tiered, RunKind:micro

              Regressions in Microsoft.Extensions.DependencyInjection.TimeToFirstService

              BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
              Transient - Duration of single invocation
              📝 - Benchmark Source
              2.07 μs2.81 μs1.360.03False
              Scoped - Duration of single invocation
              📝 - Benchmark Source
              2.21 μs3.74 μs1.700.01False
              Singleton - Duration of single invocation
              📝 - Benchmark Source
              2.14 μs2.86 μs1.330.03False
              Transient - Duration of single invocation
              📝 - Benchmark Source
              2.07 μs2.79 μs1.350.02False
              Singleton - Duration of single invocation
              📝 - Benchmark Source
              2.14 μs2.86 μs1.340.01False
              Singleton - Duration of single invocation
              📝 - Benchmark Source
              2.15 μs2.86 μs1.330.02False
              Transient - Duration of single invocation
              📝 - Benchmark Source
              2.06 μs2.81 μs1.360.01False
              Transient - Duration of single invocation
              📝 - Benchmark Source
              2.04 μs3.04 μs1.490.02False
              Scoped - Duration of single invocation
              📝 - Benchmark Source
              2.19 μs3.68 μs1.680.01False
              Singleton - Duration of single invocation
              📝 - Benchmark Source
              2.12 μs2.85 μs1.340.01False
              Scoped - Duration of single invocation
              📝 - Benchmark Source
              2.18 μs4.43 μs2.030.01False
              Scoped - Duration of single invocation
              📝 - Benchmark Source
              2.22 μs3.70 μs1.670.02False

              graph
              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

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

              Payloads

              Baseline
              Compare

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "ILEmit")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 2.8074656687937947 > 2.169533256426224.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -58.719093257450126 (T) = (0 -2792.851037422641) / Math.Sqrt((352.60395059866795 / (25)) + (543.8548409516927 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3469069695147478 = (2073.529279033151 - 2792.851037422641) / 2073.529279033151 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Expressions")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 3.7449060919169086 > 2.313329304203398.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -54.923040510076426 (T) = (0 -3697.0819345898108) / Math.Sqrt((537.825920760676 / (25)) + (2789.87435868882 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.662069476493108 = (2224.384712479341 - 3697.0819345898108) / 2224.384712479341 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Dynamic")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 2.85680345824012 > 2.252353329493443.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -31.263725112178555 (T) = (0 -2830.783672344858) / Math.Sqrt((432.5965154995103 / (25)) + (1861.7552338641817 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3204047668454227 = (2143.875683748007 - 2830.783672344858) / 2143.875683748007 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Dynamic")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 2.7852518123062144 > 2.1674703674283275.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -39.18403923643714 (T) = (0 -2796.1699528407926) / Math.Sqrt((601.8852429331239 / (25)) + (1258.76112347285 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.347574743169357 = (2074.964648168226 - 2796.1699528407926) / 2074.964648168226 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Runtime")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 2.8638615516169157 > 2.236946583419647.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -13.674900818646606 (T) = (0 -2867.3547131966916) / Math.Sqrt((693.2125990057299 / (25)) + (10946.757199621194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.33467176812110977 = (2148.3594556234775 - 2867.3547131966916) / 2148.3594556234775 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "ILEmit")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 2.860767285628019 > 2.2581899871910105.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -28.459806100580693 (T) = (0 -2814.6439064723313) / Math.Sqrt((394.51806269517533 / (25)) + (1602.6110112794086 / (3))) is less than -2.055529438636913 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (3) - 2, .025) and -0.3108366661755923 = (2147.211761083968 - 2814.6439064723313) / 2147.211761083968 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Expressions")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 2.8059250772847997 > 2.156217797528226.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -109.30110293957469 (T) = (0 -2792.969034167149) / Math.Sqrt((582.6300813353151 / (25)) + (82.0607472504304 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3496327992981993 = (2069.428836954374 - 2792.969034167149) / 2069.428836954374 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Runtime")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 3.039595297918162 > 2.1777183476809574.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -11.301501377442008 (T) = (0 -2841.6026985209705) / Math.Sqrt((474.54920924768743 / (25)) + (18310.227520502194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3691923776596196 = (2075.3860048345896 - 2841.6026985209705) / 2075.3860048345896 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "ILEmit")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 3.676834172199614 > 2.3172891684729664.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -35.680484435747516 (T) = (0 -3670.6950226613326) / Math.Sqrt((1349.1500413067165 / (25)) + (6340.841753427479 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6489291581903674 = (2226.108383388508 - 3670.6950226613326) / 2226.108383388508 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Expressions")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 2.846683093547583 > 2.228866049088209.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -30.937862344587977 (T) = (0 -2832.288570055267) / Math.Sqrt((412.0683729006819 / (25)) + (1919.365963300643 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.321619113764339 = (2143.0444978872324 - 2832.288570055267) / 2143.0444978872324 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Dynamic")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 4.426027441140356 > 2.3147573900974505.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -9.688500845345093 (T) = (0 -3906.8244227089135) / Math.Sqrt((390.3164674535471 / (25)) + (122453.70127502766 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.7668145123735033 = (2211.2250014635456 - 3906.8244227089135) / 2211.2250014635456 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Runtime")

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 3.70442340470864 > 2.3019733705636787.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -11.795904307933982 (T) = (0 -3572.4373834456756) / Math.Sqrt((510.8867420414421 / (25)) + (53140.550141296815 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6151848665431371 = (2211.7823522526583 - 3572.4373834456756) / 2211.7823522526583 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Docs

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


              Run Information

              NameValue
              Architecturex64
              OSWindows 10.0.19042
              QueueOwlWindows
              Baselineb9c99648783d0c28afdee394a93516c0bd228165
              Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
              DiffDiff
              ConfigsCompilationMode:tiered, RunKind:micro

              Regressions in Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark

              BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
              CreateInstance - Duration of single invocation
              📝 - Benchmark Source
              656.05 ns1.13 μs1.710.20False

              graph
              Test Report

              Repro

              General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

              Payloads

              Baseline
              Compare

              Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark.CreateInstance

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 1.1250784875784876 > 713.5991620104128.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -21.584278836659305 (T) = (0 -1139.3568733174607) / Math.Sqrt((1034.8133213404726 / (25)) + (1509.4652706212294 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.633100549870702 = (697.6648641797759 - 1139.3568733174607) / 697.6648641797759 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Docs

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


              Run Information

              NameValue
              Architecturex64
              OSWindows 10.0.19042
              QueueOwlWindows
              Baselineb9c99648783d0c28afdee394a93516c0bd228165
              Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
              DiffDiff
              ConfigsCompilationMode:tiered, RunKind:micro

              Regressions in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable

              BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
              Scoped - Duration of single invocation
              📝 - Benchmark Source
              31.63 ns115.12 ns3.640.27False

              graph
              Test Report

              Repro

              General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

              Payloads

              Baseline
              Compare

              Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Scoped

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 115.11620215701704 > 33.50270896524814.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -35.204332932944325 (T) = (0 -118.81883672568196) / Math.Sqrt((4.423021630949348 / (25)) + (23.338142593740454 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.655525944638927 = (32.50389643655456 - 118.81883672568196) / 32.50389643655456 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Docs

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


              Run Information

              NameValue
              Architecturex64
              OSWindows 10.0.19042
              QueueOwlWindows
              Baselineb9c99648783d0c28afdee394a93516c0bd228165
              Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
              DiffDiff
              ConfigsCompilationMode:tiered, RunKind:micro

              Regressions in Microsoft.Extensions.DependencyInjection.GetService

              BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
              Scoped - Duration of single invocation
              📝 - Benchmark Source
              31.57 ns112.68 ns3.570.19False

              graph
              Test Report

              Repro

              General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

              Payloads

              Baseline
              Compare

              Microsoft.Extensions.DependencyInjection.GetService.Scoped

              ETL Files

              Histogram

              Description of detection logic

              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
              IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
              IsRegressionWindowed: Marked as regression because 112.679349578373 > 33.08173716511241.
              IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
              IsRegressionStdDev: Marked as regression because -159.52245262501265 (T) = (0 -112.13476230036886) / Math.Sqrt((0.6216975524946721 / (25)) + (0.9190557309194967 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.54430120386857 = (31.638045372096162 - 112.13476230036886) / 31.638045372096162 is less than -0.05.
              IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
              IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
              

              JIT Disasms

              Docs

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

              Metadata

              Metadata

              Assignees

              Type

              No type

              Projects

              No projects

                Milestone

                Relationships

                None yet

                Development

                No branches or pull requests

                Issue actions

                , 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection · Issue #89104 · dotnet/runtime · GitHub
                Skip to content

                [Perf] Windows/x64: 15 Regressions in Microsoft.Extensions.DependencyInjection #89104

                Description

                @performanceautofiler

                Run Information

                NameValue
                Architecturex64
                OSWindows 10.0.19042
                QueueOwlWindows
                Baselineb9c99648783d0c28afdee394a93516c0bd228165
                Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
                DiffDiff
                ConfigsCompilationMode:tiered, RunKind:micro

                Regressions in Microsoft.Extensions.DependencyInjection.TimeToFirstService

                BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
                Transient - Duration of single invocation
                📝 - Benchmark Source
                2.07 μs2.81 μs1.360.03False
                Scoped - Duration of single invocation
                📝 - Benchmark Source
                2.21 μs3.74 μs1.700.01False
                Singleton - Duration of single invocation
                📝 - Benchmark Source
                2.14 μs2.86 μs1.330.03False
                Transient - Duration of single invocation
                📝 - Benchmark Source
                2.07 μs2.79 μs1.350.02False
                Singleton - Duration of single invocation
                📝 - Benchmark Source
                2.14 μs2.86 μs1.340.01False
                Singleton - Duration of single invocation
                📝 - Benchmark Source
                2.15 μs2.86 μs1.330.02False
                Transient - Duration of single invocation
                📝 - Benchmark Source
                2.06 μs2.81 μs1.360.01False
                Transient - Duration of single invocation
                📝 - Benchmark Source
                2.04 μs3.04 μs1.490.02False
                Scoped - Duration of single invocation
                📝 - Benchmark Source
                2.19 μs3.68 μs1.680.01False
                Singleton - Duration of single invocation
                📝 - Benchmark Source
                2.12 μs2.85 μs1.340.01False
                Scoped - Duration of single invocation
                📝 - Benchmark Source
                2.18 μs4.43 μs2.030.01False
                Scoped - Duration of single invocation
                📝 - Benchmark Source
                2.22 μs3.70 μs1.670.02False

                graph
                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

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

                Payloads

                Baseline
                Compare

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "ILEmit")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 2.8074656687937947 > 2.169533256426224.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -58.719093257450126 (T) = (0 -2792.851037422641) / Math.Sqrt((352.60395059866795 / (25)) + (543.8548409516927 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3469069695147478 = (2073.529279033151 - 2792.851037422641) / 2073.529279033151 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Expressions")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 3.7449060919169086 > 2.313329304203398.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -54.923040510076426 (T) = (0 -3697.0819345898108) / Math.Sqrt((537.825920760676 / (25)) + (2789.87435868882 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.662069476493108 = (2224.384712479341 - 3697.0819345898108) / 2224.384712479341 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Dynamic")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 2.85680345824012 > 2.252353329493443.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -31.263725112178555 (T) = (0 -2830.783672344858) / Math.Sqrt((432.5965154995103 / (25)) + (1861.7552338641817 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3204047668454227 = (2143.875683748007 - 2830.783672344858) / 2143.875683748007 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Dynamic")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 2.7852518123062144 > 2.1674703674283275.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -39.18403923643714 (T) = (0 -2796.1699528407926) / Math.Sqrt((601.8852429331239 / (25)) + (1258.76112347285 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.347574743169357 = (2074.964648168226 - 2796.1699528407926) / 2074.964648168226 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Runtime")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 2.8638615516169157 > 2.236946583419647.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -13.674900818646606 (T) = (0 -2867.3547131966916) / Math.Sqrt((693.2125990057299 / (25)) + (10946.757199621194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.33467176812110977 = (2148.3594556234775 - 2867.3547131966916) / 2148.3594556234775 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "ILEmit")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 2.860767285628019 > 2.2581899871910105.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -28.459806100580693 (T) = (0 -2814.6439064723313) / Math.Sqrt((394.51806269517533 / (25)) + (1602.6110112794086 / (3))) is less than -2.055529438636913 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (3) - 2, .025) and -0.3108366661755923 = (2147.211761083968 - 2814.6439064723313) / 2147.211761083968 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Expressions")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 2.8059250772847997 > 2.156217797528226.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -109.30110293957469 (T) = (0 -2792.969034167149) / Math.Sqrt((582.6300813353151 / (25)) + (82.0607472504304 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3496327992981993 = (2069.428836954374 - 2792.969034167149) / 2069.428836954374 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Transient(Mode: "Runtime")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 3.039595297918162 > 2.1777183476809574.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -11.301501377442008 (T) = (0 -2841.6026985209705) / Math.Sqrt((474.54920924768743 / (25)) + (18310.227520502194 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.3691923776596196 = (2075.3860048345896 - 2841.6026985209705) / 2075.3860048345896 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "ILEmit")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 3.676834172199614 > 2.3172891684729664.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -35.680484435747516 (T) = (0 -3670.6950226613326) / Math.Sqrt((1349.1500413067165 / (25)) + (6340.841753427479 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6489291581903674 = (2226.108383388508 - 3670.6950226613326) / 2226.108383388508 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Singleton(Mode: "Expressions")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 2.846683093547583 > 2.228866049088209.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -30.937862344587977 (T) = (0 -2832.288570055267) / Math.Sqrt((412.0683729006819 / (25)) + (1919.365963300643 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.321619113764339 = (2143.0444978872324 - 2832.288570055267) / 2143.0444978872324 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Dynamic")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 4.426027441140356 > 2.3147573900974505.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -9.688500845345093 (T) = (0 -3906.8244227089135) / Math.Sqrt((390.3164674535471 / (25)) + (122453.70127502766 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.7668145123735033 = (2211.2250014635456 - 3906.8244227089135) / 2211.2250014635456 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Microsoft.Extensions.DependencyInjection.TimeToFirstService.Scoped(Mode: "Runtime")

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 3.70442340470864 > 2.3019733705636787.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -11.795904307933982 (T) = (0 -3572.4373834456756) / Math.Sqrt((510.8867420414421 / (25)) + (53140.550141296815 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.6151848665431371 = (2211.7823522526583 - 3572.4373834456756) / 2211.7823522526583 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Docs

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


                Run Information

                NameValue
                Architecturex64
                OSWindows 10.0.19042
                QueueOwlWindows
                Baselineb9c99648783d0c28afdee394a93516c0bd228165
                Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
                DiffDiff
                ConfigsCompilationMode:tiered, RunKind:micro

                Regressions in Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark

                BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
                CreateInstance - Duration of single invocation
                📝 - Benchmark Source
                656.05 ns1.13 μs1.710.20False

                graph
                Test Report

                Repro

                General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

                Payloads

                Baseline
                Compare

                Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesBenchmark.CreateInstance

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 1.1250784875784876 > 713.5991620104128.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -21.584278836659305 (T) = (0 -1139.3568733174607) / Math.Sqrt((1034.8133213404726 / (25)) + (1509.4652706212294 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -0.633100549870702 = (697.6648641797759 - 1139.3568733174607) / 697.6648641797759 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Docs

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


                Run Information

                NameValue
                Architecturex64
                OSWindows 10.0.19042
                QueueOwlWindows
                Baselineb9c99648783d0c28afdee394a93516c0bd228165
                Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
                DiffDiff
                ConfigsCompilationMode:tiered, RunKind:micro

                Regressions in Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable

                BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
                Scoped - Duration of single invocation
                📝 - Benchmark Source
                31.63 ns115.12 ns3.640.27False

                graph
                Test Report

                Repro

                General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

                Payloads

                Baseline
                Compare

                Microsoft.Extensions.DependencyInjection.GetServiceIEnumerable.Scoped

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 115.11620215701704 > 33.50270896524814.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -35.204332932944325 (T) = (0 -118.81883672568196) / Math.Sqrt((4.423021630949348 / (25)) + (23.338142593740454 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.655525944638927 = (32.50389643655456 - 118.81883672568196) / 32.50389643655456 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Docs

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


                Run Information

                NameValue
                Architecturex64
                OSWindows 10.0.19042
                QueueOwlWindows
                Baselineb9c99648783d0c28afdee394a93516c0bd228165
                Compare9409e2d5019dc46a7a8fd1c59b19a95ddaa3106e
                DiffDiff
                ConfigsCompilationMode:tiered, RunKind:micro

                Regressions in Microsoft.Extensions.DependencyInjection.GetService

                BenchmarkBaselineTestTest/BaseTest QualityEdge DetectorBaseline IRCompare IRIR Ratio
                Scoped - Duration of single invocation
                📝 - Benchmark Source
                31.57 ns112.68 ns3.570.19False

                graph
                Test Report

                Repro

                General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

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

                Payloads

                Baseline
                Compare

                Microsoft.Extensions.DependencyInjection.GetService.Scoped

                ETL Files

                Histogram

                Description of detection logic

                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
                IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
                IsRegressionWindowed: Marked as regression because 112.679349578373 > 33.08173716511241.
                IsChangePoint: Marked as a change because one of 5/19/2023 10:30:38 AM, 7/13/2023 3:01:51 PM, 7/17/2023 10:23:26 PM falls between 7/8/2023 10:33:35 PM and 7/17/2023 10:23:26 PM.
                IsRegressionStdDev: Marked as regression because -159.52245262501265 (T) = (0 -112.13476230036886) / Math.Sqrt((0.6216975524946721 / (25)) + (0.9190557309194967 / (4))) is less than -2.051830516474954 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (25) + (4) - 2, .025) and -2.54430120386857 = (31.638045372096162 - 112.13476230036886) / 31.638045372096162 is less than -0.05.
                IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
                IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
                

                JIT Disasms

                Docs

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

                Metadata

                Metadata

                Assignees

                Type

                No type

                Projects

                No projects

                  Milestone

                  Relationships

                  None yet

                  Development

                  No branches or pull requests

                  Issue actions