Skip to content

[Perf] Regression in GetHue and GetSaturation #49161

@DrewScoggins

Description

@DrewScoggins

Run Information

Architecture arm64
OS ubuntu 18.04
Baseline c7fa2955e3f860f8070adea115f7277281228a2e
Compare ee3f7daed083477689a4c6240025afa45ffa3352

Regressions in System.Drawing.Tests.Perf_Color

Benchmark Baseline Test Test/Base Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
GetHue 2.85 μs 3.83 μs 1.34
GetSaturation 2.66 μs 3.34 μs 1.25

graph
graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'System.Drawing.Tests.Perf_Color*'
Details

.

Payloads

Baseline
Compare

Histogram

System.Drawing.Tests.Perf_Color.GetHue

[2250.445 ; 2319.859) | @@@@@
[2319.859 ; 2389.273) | 
[2389.273 ; 2458.687) | 
[2458.687 ; 2528.101) | 
[2528.101 ; 2597.515) | 
[2597.515 ; 2666.929) | 
[2666.929 ; 2776.940) | @@
[2776.940 ; 2844.675) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[2844.675 ; 2914.089) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[2914.089 ; 2984.335) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[2984.335 ; 3094.568) | @@@@@@
[3094.568 ; 3163.982) | 
[3163.982 ; 3233.396) | 
[3233.396 ; 3302.810) | 
[3302.810 ; 3418.114) | @
[3418.114 ; 3487.528) | 
[3487.528 ; 3556.942) | 
[3556.942 ; 3626.356) | 
[3626.356 ; 3695.770) | 
[3695.770 ; 3870.175) | @@@@@@@@@@@@@

System.Drawing.Tests.Perf_Color.GetSaturation

[1996.174 ; 2051.575) | @@@@
[2051.575 ; 2104.848) | @
[2104.848 ; 2160.249) | 
[2160.249 ; 2215.650) | 
[2215.650 ; 2271.051) | 
[2271.051 ; 2326.452) | 
[2326.452 ; 2381.853) | 
[2381.853 ; 2437.254) | 
[2437.254 ; 2492.655) | 
[2492.655 ; 2564.862) | @@@@@@@@@@@@@@@@@
[2564.862 ; 2620.263) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[2620.263 ; 2682.709) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[2682.709 ; 2739.098) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[2739.098 ; 2806.151) | @@
[2806.151 ; 2862.841) | @
[2862.841 ; 2973.643) | 
[2973.643 ; 3039.207) | 
[3039.207 ; 3156.006) | @
[3156.006 ; 3266.807) | 
[3266.807 ; 3365.991) | @@@@@@@@@@@@@

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions