Skip to content

[Perf -492%] System.Linq.Tests.Perf_Enumerable.FirstWithPredicate_LastElementMatches #39032

@DrewScoggins

Description

@DrewScoggins

Run Information

Architecture x64
OS Windows 10.0.18362
Changes diff

Regressions in System.Linq.Tests.Perf_Enumerable

Benchmark Baseline Test Test/Base Modality Baseline Outlier
TakeLastHalf 468.70 ns 514.79 ns 1.10 False
FirstWithPredicate_LastElementMatches 663.99 ns 3.94 μs 5.94 Bimodal True

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

Histogram

System.Linq.Tests.Perf_Enumerable.TakeLastHalf(input: List)

[456.467 ; 475.142) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[475.142 ; 490.020) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[490.020 ; 504.707) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[504.707 ; 518.671) | @@@@@@@@@@@@@

System.Linq.Tests.Perf_Enumerable.FirstWithPredicate_LastElementMatches(input: IOrderedEnumerable)

[ 588.698 ;  804.631) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[ 804.631 ; 1020.564) | 
[1020.564 ; 1236.497) | 
[1236.497 ; 1452.431) | 
[1452.431 ; 1668.364) | 
[1668.364 ; 1884.297) | 
[1884.297 ; 2100.231) | 
[2100.231 ; 2316.164) | 
[2316.164 ; 2532.097) | 
[2532.097 ; 2748.030) | 
[2748.030 ; 2963.964) | 
[2963.964 ; 3179.897) | 
[3179.897 ; 3395.830) | 
[3395.830 ; 3611.764) | 
[3611.764 ; 3840.029) | 
[3840.029 ; 4087.029) | @@@@@@

Docs

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions