Skip to content

[Perf -13%] Microsoft.Extensions.Primitives.StringSegmentBenchmark.EndsWith #40866

@DrewScoggins

Description

@DrewScoggins

Run Information

Architecture x64
OS Windows 10.0.18362
Changes diff

Regressions in Microsoft.Extensions.Primitives.StringSegmentBenchmark

Benchmark Baseline Test Test/Base Modality Baseline Outlier
EndsWith 9.44 ns 10.78 ns 1.14 Bimodal True

graph
Historical Data in Reporting System

Repro

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

Histogram

Microsoft.Extensions.Primitives.StringSegmentBenchmark.EndsWith

[ 8.933 ;  9.178) | @@@@@@@@@@@@@@@@@@@@@@@@@@
[ 9.178 ;  9.457) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[ 9.457 ;  9.762) | @
[ 9.762 ; 10.041) | @@@@@@@@@@@@@@@@@@@@@@@
[10.041 ; 10.332) | @
[10.332 ; 10.589) | @@
[10.589 ; 10.868) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Docs

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions