Skip to content

[Perf] Regressions in IndexOf #54165

@DrewScoggins

Description

@DrewScoggins

Run Information

Architecture x64
OS Windows 10.0.18362
Baseline 4a73cb9af55814e26b78f22d30bd35faa60c31a3
Compare 6ab1cee00ba41b308009c88864aba46b0f61f061
Diff Diff

Regressions in System.Globalization.Tests.StringSearch

Benchmark Baseline Test Test/Base Test Quality Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
LastIndexOf_Word_NotFound - Duration of single invocation 556.53 ns 592.84 ns 1.07 0.01
LastIndexOf_Word_NotFound - Duration of single invocation 556.77 ns 592.91 ns 1.06 0.00
IndexOf_Word_NotFound - Duration of single invocation 560.81 ns 594.70 ns 1.06 0.00
LastIndexOf_Word_NotFound - Duration of single invocation 556.54 ns 590.50 ns 1.06 0.00
IndexOf_Word_NotFound - Duration of single invocation 560.67 ns 596.84 ns 1.06 0.00
IndexOf_Word_NotFound - Duration of single invocation 560.08 ns 596.92 ns 1.07 0.00

graph
graph
graph
graph
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.Globalization.Tests.StringSearch*'

Payloads

Baseline
Compare

Histogram

System.Globalization.Tests.StringSearch.LastIndexOf_Word_NotFound(Options: (en-US, IgnoreNonSpace, False))


System.Globalization.Tests.StringSearch.LastIndexOf_Word_NotFound(Options: (en-US, None, False))


System.Globalization.Tests.StringSearch.IndexOf_Word_NotFound(Options: (, None, False))


System.Globalization.Tests.StringSearch.LastIndexOf_Word_NotFound(Options: (, None, False))


System.Globalization.Tests.StringSearch.IndexOf_Word_NotFound(Options: (en-US, IgnoreNonSpace, False))


System.Globalization.Tests.StringSearch.IndexOf_Word_NotFound(Options: (en-US, None, False))


Docs

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

### Run Information
Architecture x64
OS Windows 10.0.18362
Baseline 4a73cb9af55814e26b78f22d30bd35faa60c31a3
Compare 6ab1cee00ba41b308009c88864aba46b0f61f061
Diff Diff

Regressions in System.Memory.ReadOnlySpan

Benchmark Baseline Test Test/Base Test Quality Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
IndexOfString - Duration of single invocation 231.36 ns 245.69 ns 1.06 0.00

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.ReadOnlySpan*'

Payloads

Baseline
Compare

Histogram

System.Memory.ReadOnlySpan.IndexOfString(input: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", value: "x", comparisonType: InvariantCultureIgnoreCase)


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