Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
performanceautofiler bot opened this issue Jul 21, 2020 · 0 comments
Closed

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

performanceautofiler bot opened this issue Jul 21, 2020 · 0 comments

Comments

@performanceautofiler
Copy link

performanceautofiler bot commented Jul 21, 2020

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant