Skip to content

[Perf -14%] System.Memory.Span<Char>.IndexOfValue #1075

@performanceautofiler

Description

@performanceautofiler

Run Information

Architecture x64
OS Windows 10.0.18362
Changes diff

Regressions in System.Memory.Span

Benchmark Baseline Test Test/Base Modality Baseline Outlier
IndexOfValue 14.15 ns 15.82 ns 1.12 Bimodal False
SequenceCompareTo 25.20 ns 27.77 ns 1.10 False

Related Issue on x64 ubuntu

[Perf -35%] System.Memory.Span.IndexOfValue

Related Issue on x86 Windows

[Perf -11%] System.Memory.Span (2)

graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'System.Memory.Span<Char>*';
Details

Histogram

System.Memory.Span.IndexOfValue(Size: 512)

[13.396 ; 13.676) | @@@
[13.676 ; 14.034) | @@@@@@@@@@@
[14.034 ; 14.394) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[14.394 ; 14.694) | @@@@@@@@@
[14.694 ; 15.055) | @@@@@@@@@@@@@@@@@@@@@
[15.055 ; 15.518) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[15.518 ; 16.074) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[16.074 ; 16.406) | @@@@@@@@@@@@@@@@@@@@@@@@
[16.406 ; 16.767) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[16.767 ; 17.120) | @@@@@@@@@@@@@@
[17.120 ; 17.476) | @

System.Memory.Span.SequenceCompareTo(Size: 512)

[24.639 ; 25.587) | @@@@@@@@@@@@@@@@@@@@@@@@@@
[25.587 ; 26.382) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[26.382 ; 27.155) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[27.155 ; 28.191) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[28.191 ; 29.212) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@
[29.212 ; 30.009) | @@@@@
[30.009 ; 30.787) | @@
[30.787 ; 31.471) | @

Docs

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions