Skip to content

[Perf -35%] System.Memory.Span<Char>.IndexOfValue #39722

Closed
@DrewScoggins

Description

@DrewScoggins

Run Information

Architecture x64
OS ubuntu 18.04
Changes diff

Regressions in System.Memory.Span

Benchmark Baseline Test Test/Base Modality Baseline Outlier
IndexOfValue 11.56 ns 15.57 ns 1.35 Bimodal False

Related Issue on x64 Windows

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

Related Issue on x86 Windows

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

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>*';

Histogram

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

[10.151 ; 10.937) | @@@@@
[10.937 ; 11.666) | @@@@@@@@@@@@
[11.666 ; 12.565) | @@@@@@@@@@@@@@@@@@@@@@@@@@@
[12.565 ; 13.174) | @@@
[13.174 ; 14.111) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[14.111 ; 14.945) | @@@@@@@@@
[14.945 ; 15.674) | @@@@@@@@@@@@@@@@@@@@@@

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