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] Linux/x64: 16 Improvements on 12/6/2023 2:59:22 AM #25597

Open
performanceautofiler bot opened this issue Dec 7, 2023 · 1 comment
Open

[Perf] Linux/x64: 16 Improvements on 12/6/2023 2:59:22 AM #25597

performanceautofiler bot opened this issue Dec 7, 2023 · 1 comment
Labels
arch-wasm arch-x64 branch-refs/heads/main kind-micro os-linux perf-improvement PGO Applied if there were any profile guided optimization updates in the observed interval. untriaged

Comments

@performanceautofiler
Copy link

performanceautofiler bot commented Dec 7, 2023

Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue TigerUbuntu
Baseline c08faf9216976a14f06a11373fbd3aec7671bf7a
Compare ec31705ba2dcde3a7b464ae66741f524282076a9
Diff Diff
Configs CompilationMode:wasm, RunKind:micro

Improvements in PerfLabTests.CastingPerf

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
681.35 ns 480.93 ns 0.71 0.12 False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'PerfLabTests.CastingPerf*'

Payloads

Baseline
Compare

PerfLabTests.CastingPerf.CheckArrayIsVariantGenericInterfaceReflection

ETL Files

Histogram

JIT Disasms

Docs

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


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue TigerUbuntu
Baseline c08faf9216976a14f06a11373fbd3aec7671bf7a
Compare ec31705ba2dcde3a7b464ae66741f524282076a9
Diff Diff
Configs CompilationMode:wasm, RunKind:micro

Improvements in System.Reflection.Attributes

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
1.61 μs 1.27 μs 0.79 0.16 False
1.59 μs 1.26 μs 0.79 0.14 False
1.60 μs 1.29 μs 0.81 0.15 False
1.61 μs 1.30 μs 0.80 0.16 False
1.60 μs 1.27 μs 0.80 0.13 False
1.05 μs 867.10 ns 0.83 0.11 False
1.60 μs 1.29 μs 0.81 0.10 False

graph
graph
graph
graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Reflection.Attributes*'

Payloads

Baseline
Compare

System.Reflection.Attributes.IsDefinedMethodBaseHitInherit

ETL Files

Histogram

JIT Disasms

System.Reflection.Attributes.IsDefinedMethodOverrideMiss

ETL Files

Histogram

JIT Disasms

System.Reflection.Attributes.IsDefinedMethodOverrideHitInherit

ETL Files

Histogram

JIT Disasms

System.Reflection.Attributes.IsDefinedMethodBaseHit

ETL Files

Histogram

JIT Disasms

System.Reflection.Attributes.IsDefinedMethodOverrideHit

ETL Files

Histogram

JIT Disasms

System.Reflection.Attributes.IsDefinedClassHitInherit

ETL Files

Histogram

JIT Disasms

System.Reflection.Attributes.IsDefinedMethodOverrideMissInherit

ETL Files

Histogram

JIT Disasms

Docs

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


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue TigerUbuntu
Baseline c08faf9216976a14f06a11373fbd3aec7671bf7a
Compare ec31705ba2dcde3a7b464ae66741f524282076a9
Diff Diff
Configs CompilationMode:wasm, RunKind:micro

Improvements in System.Collections.CtorFromCollectionNonGeneric<Int32>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
413.92 μs 311.90 μs 0.75 0.16 False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.CtorFromCollectionNonGeneric&lt;Int32&gt;*'

Payloads

Baseline
Compare

System.Collections.CtorFromCollectionNonGeneric<Int32>.Queue(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

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


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue TigerUbuntu
Baseline c08faf9216976a14f06a11373fbd3aec7671bf7a
Compare ec31705ba2dcde3a7b464ae66741f524282076a9
Diff Diff
Configs CompilationMode:wasm, RunKind:micro

Improvements in System.Threading.Tests.Perf_Interlocked

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
110.50 ns 76.37 ns 0.69 0.23 False
127.56 ns 88.70 ns 0.70 0.13 False
110.27 ns 78.18 ns 0.71 0.18 False

graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Threading.Tests.Perf_Interlocked*'

Payloads

Baseline
Compare

System.Threading.Tests.Perf_Interlocked.Decrement_long

ETL Files

Histogram

JIT Disasms

System.Threading.Tests.Perf_Interlocked.Add_long

ETL Files

Histogram

JIT Disasms

System.Threading.Tests.Perf_Interlocked.Increment_long

ETL Files

Histogram

JIT Disasms

Docs

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


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue TigerUbuntu
Baseline c08faf9216976a14f06a11373fbd3aec7671bf7a
Compare ec31705ba2dcde3a7b464ae66741f524282076a9
Diff Diff
Configs CompilationMode:wasm, RunKind:micro

Improvements in System.Collections.CtorFromCollectionNonGeneric<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
366.40 μs 278.35 μs 0.76 0.13 False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.CtorFromCollectionNonGeneric&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.CtorFromCollectionNonGeneric<String>.Queue(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

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


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue TigerUbuntu
Baseline 6249fd2e59ed1308eb7cf976fb48c1ecab5eaa4e
Compare ec31705ba2dcde3a7b464ae66741f524282076a9
Diff Diff
Configs CompilationMode:wasm, RunKind:micro

Improvements in System.Tests.Perf_Enum

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
348.67 ns 240.97 ns 0.69 0.19 False
415.95 ns 319.68 ns 0.77 0.21 False

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Tests.Perf_Enum*'

Payloads

Baseline
Compare

System.Tests.Perf_Enum.ToString_Format_NonFlags(value: Tuesday, format: "d")

ETL Files

Histogram

JIT Disasms

System.Tests.Perf_Enum.ToString_Format_NonFlags(value: Thursday, format: "f")

ETL Files

Histogram

JIT Disasms

Docs

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


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue TigerUbuntu
Baseline c08faf9216976a14f06a11373fbd3aec7671bf7a
Compare ec31705ba2dcde3a7b464ae66741f524282076a9
Diff Diff
Configs CompilationMode:wasm, RunKind:micro

Improvements in PerfLabTests.EnumPerf

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
351.07 ns 252.09 ns 0.72 0.13 False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'PerfLabTests.EnumPerf*'

Payloads

Baseline
Compare

PerfLabTests.EnumPerf.EnumCompareTo(color: Red)

ETL Files

Histogram

JIT Disasms

Docs

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

@lewing
Copy link
Member

lewing commented Dec 7, 2023

this is dotnet/runtime#95545 cc @vargaz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm arch-x64 branch-refs/heads/main kind-micro os-linux perf-improvement PGO Applied if there were any profile guided optimization updates in the observed interval. untriaged
Projects
None yet
Development

No branches or pull requests

1 participant