Skip to content

Potential performance regression in Array.Sort for arrays of reference types #59149

@adamsitnik

Description

@adamsitnik
git clone https://github.com/dotnet/performance.git
py .\scripts\benchmarks_ci.py -f net5.0 net6.0 --filter "System.Collections.Sort<IntClass>.Array" --bdn-arguments "--miniterationcount 100 --maxiterationcount 101 --outliers dontremove --memoryrandomization true"

Both Windows and Unix are affected:

https://pvscmdupload.blob.core.windows.net/reports/allTestHistory%2frefs%2fheads%2fmain_x64_Windows%2010.0.18362%2fSystem.Collections.Sort(IntClass).Array(Size%3a%20512).html

image

https://pvscmdupload.blob.core.windows.net/reports/allTestHistory%2frefs%2fheads%2fmain_x64_ubuntu%2018.04%2fSystem.Collections.Sort(IntClass).Array(Size%3a%20512).html

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions