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 -10%] System.Collections.CtorGivenSize<Int32> (8) #3177

Open
performanceautofiler bot opened this issue Nov 3, 2020 · 0 comments
Open

[Perf -10%] System.Collections.CtorGivenSize<Int32> (8) #3177

performanceautofiler bot opened this issue Nov 3, 2020 · 0 comments

Comments

@performanceautofiler
Copy link

Run Information

Architecture x64
OS Windows 10.0.18362
Baseline bdd25a2eb910d87847c0fcc47bfe31b4dc1a576e
Compare b6f791d1984f998384267b8b6683bd02f64747f2

Regressions in System.Collections.CtorGivenSize

Benchmark Baseline Test Test/Base Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
Queue 86.05 ns 97.18 ns 1.13 436.9992059481701 501.9205450819116 1.1485616867263633 Trace Trace
ConcurrentDictionary 220.10 ns 237.97 ns 1.08 1481.3269180413722 1608.8453389830509 1.0860839152982416 Trace Trace
SortedList 175.47 ns 187.42 ns 1.07 847.2717495896304 968.2490988572744 1.142784589862979 Trace Trace
HashSet 346.94 ns 384.33 ns 1.11 2030.9717260493398 2271.595613740629 1.1184772218170422 Trace Trace
List 87.20 ns 94.86 ns 1.09 430.37138152192756 489.7935094354786 1.1380717456244787 Trace Trace
Stack 86.37 ns 96.89 ns 1.12 436.7188631137745 493.88077176316267 1.130889488587298 Trace Trace
Array 81.29 ns 88.73 ns 1.09 376.32671211411935 432.50153878342445 1.1492714305442935 Trace Trace
Dictionary 437.98 ns 478.90 ns 1.09 2921.9984616460383 3222.0138702860377 1.1026747318925667 Trace Trace

Related Issue on x64 ubuntu

[Perf -13%] System.Collections.CtorGivenSize.Queue

Related Issue on x86 Windows

[Perf -7%] System.Collections.CtorGivenSize (8)

graph
graph
graph
graph
graph
graph
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.Collections.CtorGivenSize<Int32>*'

Histogram

System.Collections.CtorGivenSize.Queue(Size: 512)

[83.595 ; 85.568) | @@@@@@@@@@@@@@@@@@@
[85.568 ; 88.662) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[88.662 ; 90.975) | @@@@@@@@@@@@@@@@@@@@@@@@@@
[90.975 ; 92.879) | 
[92.879 ; 96.179) | @@@@@@
[96.179 ; 99.500) | @@@@

System.Collections.CtorGivenSize.ConcurrentDictionary(Size: 512)

[214.000 ; 219.766) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[219.766 ; 224.874) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[224.874 ; 232.337) | 
[232.337 ; 241.782) | @@@@@@@@

System.Collections.CtorGivenSize.SortedList(Size: 512)

[169.180 ; 173.083) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[173.083 ; 178.830) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[178.830 ; 185.547) | @
[185.547 ; 194.634) | @@@@@@@@

System.Collections.CtorGivenSize.HashSet(Size: 512)

[339.843 ; 347.441) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[347.441 ; 359.001) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[359.001 ; 367.647) | @
[367.647 ; 378.678) | 
[378.678 ; 391.155) | @@@@@@@@

System.Collections.CtorGivenSize.List(Size: 512)

[80.612 ; 83.737) | @@@@@@@@@@@@@@@@@@@@@@@@@
[83.737 ; 86.225) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[86.225 ; 89.230) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[89.230 ; 91.194) | @@
[91.194 ; 93.701) | @
[93.701 ; 99.261) | @@@@@@@

System.Collections.CtorGivenSize.Stack(Size: 512)

[81.787 ; 83.701) | @@@@@@@
[83.701 ; 86.051) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[86.051 ; 88.981) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[88.981 ; 91.524) | @@@@@@@@@@@@@@@@
[91.524 ; 94.559) | @@
[94.559 ; 97.195) | @@@@@@

System.Collections.CtorGivenSize.Array(Size: 512)

[77.379 ; 79.507) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[79.507 ; 82.229) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[82.229 ; 84.280) | @@
[84.280 ; 87.269) | 
[87.269 ; 91.396) | @@@@@@@@

System.Collections.CtorGivenSize.Dictionary(Size: 512)

[427.558 ; 443.798) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[443.798 ; 454.268) | @@@@@@@@
[454.268 ; 464.028) | 
[464.028 ; 474.584) | 
[474.584 ; 490.184) | @@@@@@@@

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

DrewScoggins pushed a commit that referenced this issue Aug 4, 2023
* Update dependencies from https://github.com/dotnet/runtime build 20230727.3

Microsoft.Extensions.Logging , Microsoft.NET.ILLink , Microsoft.NET.ILLink.Tasks , System.Threading.Channels
 From Version 8.0.0-rc.1.23377.1 -> To Version 8.0.0-rc.1.23377.3

* Update dependencies from https://github.com/dotnet/runtime build 20230727.7

Microsoft.Extensions.Logging , Microsoft.NET.ILLink , Microsoft.NET.ILLink.Tasks , System.Threading.Channels
 From Version 8.0.0-rc.1.23377.1 -> To Version 8.0.0-rc.1.23377.7

* Update dependencies from https://github.com/dotnet/runtime build 20230727.8

Microsoft.Extensions.Logging , Microsoft.NET.ILLink , Microsoft.NET.ILLink.Tasks , System.Threading.Channels
 From Version 8.0.0-rc.1.23377.1 -> To Version 8.0.0-rc.1.23377.8

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Jiri Cincura ↹ <[email protected]>
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