Skip to content

Few performance regressions in Reflection APIs #65192

@adamsitnik

Description

@adamsitnik

PerfLabTests.GetMember.GetMethod2 has regressed

image

Repro:

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net6.0 net7.0 --filter PerfLabTests.GetMember.GetMethod2

It seems that @performanceautofiler has missed the regression (cc @DrewScoggins ): https://pvscmdupload.blob.core.windows.net/reports/allTestHistory%2frefs%2fheads%2fmain_x64_Windows%2010.0.18362%2fPerfLabTests.GetMember.GetMethod2.html

PerfLabTests.GetMember.GetMethod2

Result Base Diff Ratio Modality Operating System Bit Processor Name
Slower 119488.13 136594.73 0.87 Windows 11 X64 AMD Ryzen Threadripper PRO 3945WX 12-Cores
Same 90441.11 100928.61 0.90 Windows 11 X64 AMD Ryzen 9 5900X
Slower 166580.50 189463.25 0.88 Windows 10 X64 Intel Xeon CPU E5-1650 v4 3.60GHz
Faster 869388.13 261782.02 3.32 Windows 11 X64 Intel Core i5-4300U CPU 1.90GHz (Haswell)
Slower 137948.12 155135.23 0.89 Windows 10 X64 Intel Core i7-7700 CPU 3.60GHz (Kaby Lake)
Same 133620.09 146644.40 0.91 Windows 11 X64 Intel Core i7-8700 CPU 3.20GHz (Coffee Lake)
Slower 137163.27 155914.69 0.88 Windows 11 X64 Intel Core i9-9900T CPU 2.10GHz
Slower 195260.36 221433.42 0.88 Windows 11 X64 Unknown processor
Same 203900.12 223985.71 0.91 Windows 11 X64 Unknown processor
Slower 86168.27 99919.69 0.86 ubuntu 20.04 X64 AMD Ryzen 9 5900X
Same 164698.11 182578.17 0.90 ubuntu 18.04 X64 Intel Xeon CPU E5-1650 v4 3.60GHz
Slower 292295.35 339973.18 0.86 centos 7 X64 Intel Xeon CPU E5530 2.40GHz
Slower 221024.60 256290.31 0.86 ubuntu 18.04 X64 Intel Core i7-2720QM CPU 2.20GHz (Sandy Bridge)
Slower 143181.31 168812.97 0.85 alpine 3.13 X64 Intel Core i7-7700 CPU 3.60GHz (Kaby Lake)
Same 144449.61 156417.25 0.92 several? ubuntu 18.04 X64 Intel Core i7-7700 CPU 3.60GHz (Kaby Lake)
Slower 140866.66 163692.26 0.86 ubuntu 20.04 X64 Intel Core i7-7700 CPU 3.60GHz (Kaby Lake)
Slower 135224.44 159141.56 0.85 ubuntu 20.04 X64 Intel Core i7-8700 CPU 3.20GHz (Coffee Lake)
Slower 238096.51 277244.08 0.86 ubuntu 20.04 Arm64 Unknown processor
Slower 183858.07 241871.69 0.76 Windows 10 Arm64 Microsoft SQ1 3.0 GHz
Slower 201641.43 243910.32 0.83 Windows 11 Arm64 Microsoft SQ1 3.0 GHz
Slower 133531.28 154029.39 0.87 Windows 11 X86 AMD Ryzen Threadripper PRO 3945WX 12-Cores
Slower 196800.36 221606.92 0.89 several? Windows 10 X86 Intel Xeon CPU E5-1650 v4 3.60GHz
Same 452580.18 471818.56 0.96 Windows 10 Arm Microsoft SQ1 3.0 GHz
Same 224995.36 235071.24 0.96 macOS Big Sur 11.6.3 X64 Intel Core i5-4278U CPU 2.60GHz (Haswell)
Slower 188971.69 214833.37 0.88 macOS Big Sur 11.4 X64 Intel Core i7-5557U CPU 3.10GHz (Broadwell)

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