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 -11%] System.Memory.Span<Char> (2) #1092

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

[Perf -11%] System.Memory.Span<Char> (2) #1092

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

Comments

@performanceautofiler
Copy link

Run Information

Architecture x86
OS Windows 10.0.18362
Changes diff

Regressions in System.Memory.Span

Benchmark Baseline Test Test/Base Modality Baseline Outlier
BinarySearch 12.79 ns 14.69 ns 1.15 Bimodal True
Clear 31.58 ns 33.73 ns 1.07 True

Related Issue on x64 Windows

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

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.BinarySearch(Size: 512)

[12.706 ; 13.298) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[13.298 ; 13.722) | @@@@@
[13.722 ; 14.380) | 
[14.380 ; 14.713) | @@@@@@@@@@
[14.713 ; 15.304) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[15.304 ; 15.848) | @@@@@@@@@@@

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

[30.777 ; 31.698) | @@@@@@
[31.698 ; 32.881) | @@@@@@@@@@@@@@@@
[32.881 ; 34.027) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[34.027 ; 35.654) | @@@

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