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 -8%] System.Memory.ReadOnlySpan (2) #1071

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

[Perf -8%] System.Memory.ReadOnlySpan (2) #1071

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

Benchmark Baseline Test Test/Base Modality Baseline Outlier
IndexOfString 19.13 ns 20.62 ns 1.08 False
IndexOfString 16.26 ns 17.52 ns 1.08 True

Related Issue on x64 ubuntu

[Perf -14%] System.Memory.ReadOnlySpan (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.ReadOnlySpan*';

Histogram

System.Memory.ReadOnlySpan.IndexOfString(input: "Hello WorldbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbareallyreallylongHello WorldbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbareallyreallylongHello Worldbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbareallyreallylong!xyz", value: "~", comparisonType: Ordinal)

[18.968 ; 19.366) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[19.366 ; 19.868) | @@@@@@@@@@@@@@@@@@@@@@@@@
[19.868 ; 20.740) | @@@@@@@@@@@

System.Memory.ReadOnlySpan.IndexOfString(input: "だだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだすだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだ", value: "す", comparisonType: Ordinal)

[16.156 ; 16.715) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[16.715 ; 17.060) | 
[17.060 ; 17.609) | @@@@@@@@@

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

0 participants