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 28%] System.Memory.ReadOnlySpan (4) #2323

Open
performanceautofiler bot opened this issue Oct 16, 2020 · 0 comments
Open

[Perf 28%] System.Memory.ReadOnlySpan (4) #2323

performanceautofiler bot opened this issue Oct 16, 2020 · 0 comments

Comments

@performanceautofiler
Copy link

performanceautofiler bot commented Oct 16, 2020

Run Information

Architecture x86
OS Windows 10.0.18362
Baseline effaf28d0ca74ab9ae11fc947f524393e545af0d
Compare 52bbc73347f52dbc26675a48d6e2d4c50f73055b

Regressions in System.Memory.ReadOnlySpan

Benchmark Baseline Test Test/Base Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
IndexOfString 16.92 ns 19.84 ns 1.17
IndexOfString 34.44 ns 37.39 ns 1.09

Related Issue on x64 ubuntu

[Perf -26%] System.Memory.ReadOnlySpan (2)

Related Issue on x64 ubuntu

[Perf 21%] System.Memory.ReadOnlySpan (3)

Related Issue on x64 ubuntu

[Perf 69%] System.Memory.ReadOnlySpan.IndexOfString

Related Issue on x64 ubuntu

[Perf 69%] System.Memory.ReadOnlySpan.IndexOfString

Related Issue on x64 Windows

[Perf 75%] System.Memory.ReadOnlySpan.IndexOfString

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: "だだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだすだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだだ", value: "す", comparisonType: Ordinal)

[16.469 ; 17.396) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[17.396 ; 18.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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", value: "X", comparisonType: Ordinal)

[34.348 ; 35.224) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[35.224 ; 36.724) | @@
[36.724 ; 38.139) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

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