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/arm64: 35 Improvements on 7/24/2024 1:07:26 AM #39322

Closed
performanceautofiler bot opened this issue Aug 1, 2024 · 1 comment
Closed

[Perf] Linux/arm64: 35 Improvements on 7/24/2024 1:07:26 AM #39322

performanceautofiler bot opened this issue Aug 1, 2024 · 1 comment
Labels
ampere arch-arm64 branch-refs/heads/main kind-micro os-linux perf-improvement PGO Applied if there were any profile guided optimization updates in the observed interval. runtime-coreclr

Comments

@performanceautofiler
Copy link

Run Information

Name Value
Architecture arm64
OS ubuntu 22.04
Queue AmpereUbuntu
Baseline 9477e949594c9746b8d99389c4b5ef3065d51fa9
Compare 34f125f8cc673d8a0f2737d760be92161f24699e
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.IO.Compression.Deflate

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
415.77 μs 368.68 μs 0.89 0.01 False
515.00 μs 384.36 μs 0.75 0.01 False
1.85 ms 825.25 μs 0.45 0.03 False
7.61 ms 3.22 ms 0.42 0.01 False
120.69 μs 82.21 μs 0.68 0.01 False
560.20 μs 481.87 μs 0.86 0.01 False
350.76 μs 235.41 μs 0.67 0.03 False
1.66 ms 543.21 μs 0.33 0.01 False
135.81 μs 86.88 μs 0.64 0.01 False
412.26 μs 345.72 μs 0.84 0.01 False
2.57 ms 1.34 ms 0.52 0.02 False

graph
graph
graph
graph
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.IO.Compression.Deflate*'

System.IO.Compression.Deflate.Decompress(level: Fastest, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Decompress(level: Optimal, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Compress(level: Fastest, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Compress(level: Optimal, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Decompress(level: Optimal, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Decompress(level: Fastest, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Compress(level: Fastest, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Compress(level: Optimal, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Decompress(level: Fastest, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Decompress(level: Optimal, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Compress(level: Fastest, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

Docs

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


Run Information

Name Value
Architecture arm64
OS ubuntu 22.04
Queue AmpereUbuntu
Baseline 9477e949594c9746b8d99389c4b5ef3065d51fa9
Compare 34f125f8cc673d8a0f2737d760be92161f24699e
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.IO.Compression.ZLib

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
2.58 ms 1.37 ms 0.53 0.02 False
7.67 ms 3.26 ms 0.42 0.01 False
1.91 ms 846.02 μs 0.44 0.09 False
453.95 μs 350.30 μs 0.77 0.01 False
148.19 μs 88.98 μs 0.60 0.01 False
138.01 μs 84.08 μs 0.61 0.01 False
1.66 ms 544.34 μs 0.33 0.02 False
568.71 μs 394.17 μs 0.69 0.01 False
361.73 μs 238.90 μs 0.66 0.04 False
612.18 μs 492.15 μs 0.80 0.01 False
457.90 μs 373.93 μs 0.82 0.01 False

graph
graph
graph
graph
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.IO.Compression.ZLib*'

System.IO.Compression.ZLib.Compress(level: Fastest, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Compress(level: Optimal, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Compress(level: Fastest, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Decompress(level: Optimal, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Decompress(level: Fastest, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Decompress(level: Optimal, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Compress(level: Optimal, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Decompress(level: Optimal, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Compress(level: Fastest, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Decompress(level: Fastest, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Decompress(level: Fastest, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

Docs

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


Run Information

Name Value
Architecture arm64
OS ubuntu 22.04
Queue AmpereUbuntu
Baseline 9477e949594c9746b8d99389c4b5ef3065d51fa9
Compare 34f125f8cc673d8a0f2737d760be92161f24699e
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Memory.Span<Char>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
5.35 ns 4.17 ns 0.78 0.36 False
63.18 ns 39.09 ns 0.62 0.41 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.Memory.Span&lt;Char&gt;*'

System.Memory.Span<Char>.Clear(Size: 33)

ETL Files

Histogram

JIT Disasms

System.Memory.Span<Char>.Reverse(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 arm64
OS ubuntu 22.04
Queue AmpereUbuntu
Baseline 9477e949594c9746b8d99389c4b5ef3065d51fa9
Compare 34f125f8cc673d8a0f2737d760be92161f24699e
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.IO.Compression.Gzip

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
2.69 ms 1.35 ms 0.50 0.01 False
525.74 μs 403.50 μs 0.77 0.01 False
1.69 ms 556.46 μs 0.33 0.01 False
697.28 μs 531.00 μs 0.76 0.01 False
650.09 μs 432.86 μs 0.67 0.01 False
170.60 μs 99.36 μs 0.58 0.01 False
522.27 μs 380.92 μs 0.73 0.01 False
7.75 ms 3.25 ms 0.42 0.01 False
2.04 ms 894.68 μs 0.44 0.04 False
158.09 μs 95.51 μs 0.60 0.01 False
375.84 μs 246.96 μs 0.66 0.02 False

graph
graph
graph
graph
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.IO.Compression.Gzip*'

System.IO.Compression.Gzip.Compress(level: Fastest, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Decompress(level: Fastest, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Compress(level: Optimal, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Decompress(level: Fastest, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Decompress(level: Optimal, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Decompress(level: Fastest, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Decompress(level: Optimal, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Compress(level: Optimal, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Compress(level: Fastest, file: "alice29.txt")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Decompress(level: Optimal, file: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Compress(level: Fastest, file: "sum")

ETL Files

Histogram

JIT Disasms

Docs

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

@LoopedBard3
Copy link
Member

Improvements due to ZLib usage fix: dotnet/runtime#105352.

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

No branches or pull requests

1 participant