Skip to content

[Perf -118%] System.Collections.Tests.Perf_BitArray for small inputs (3) #37813

@DrewScoggins

Description

@DrewScoggins

Run Information

Architecture x64
OS Windows 10.0.18362
Changes diff

Regressions in System.Collections.Tests.Perf_BitArray

Benchmark Baseline Test Test/Base Modality Baseline Outlier
BitArrayNot 1.25 ns 2.34 ns 1.87 False
BitArrayIntArrayCtor 143.62 ns 151.32 ns 1.05 False
BitArraySetAll 1.56 ns 5.66 ns 3.62 False

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.Tests.Perf_BitArray*';

Histogram

System.Collections.Tests.Perf_BitArray.BitArrayNot(Size: 4)

[0.372 ; 1.006) | @@@@@@@@@@@@@@
[1.006 ; 1.753) | @@@@@@@
[1.753 ; 2.387) | @@@@@@@@@@@
[2.387 ; 3.012) | @@@

System.Collections.Tests.Perf_BitArray.BitArrayIntArrayCtor(Size: 512)

[136.771 ; 143.213) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[143.213 ; 149.753) | @@
[149.753 ; 153.484) | @@@@@@@@
[153.484 ; 157.663) | @@@@@@@@@@@

System.Collections.Tests.Perf_BitArray.BitArraySetAll(Size: 4)

[0.647 ; 2.210) | @@@@@@@@@@@@@@@@
[2.210 ; 3.772) | 
[3.772 ; 4.562) | 
[4.562 ; 6.125) | @@@@@@@@@@@@@@@@@@@

Docs

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions