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: 41 Improvements on 7/9/2024 12:32:58 AM #38373

Closed
performanceautofiler bot opened this issue Jul 16, 2024 · 2 comments
Closed

[Perf] Linux/x64: 41 Improvements on 7/9/2024 12:32:58 AM #38373

performanceautofiler bot opened this issue Jul 16, 2024 · 2 comments

Comments

@performanceautofiler
Copy link

Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 101c0daf5aa76451304704481a0d82d328498950
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
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
70.13 μs 47.35 μs 0.68 0.01 True
511.39 μs 360.69 μs 0.71 0.01 True
1.61 ms 580.05 μs 0.36 0.02 True
323.63 μs 262.06 μs 0.81 0.01 True
7.14 ms 2.63 ms 0.37 0.01 True
490.15 μs 263.05 μs 0.54 0.01 True
1.17 ms 255.34 μs 0.22 0.03 True
139.51 μs 107.77 μs 0.77 0.40 False
2.30 ms 1.78 ms 0.77 0.01 True

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.Decompress(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.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.Compress(level: Optimal, file: "alice29.txt")

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: Optimal, file: "sum")

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Compress(level: Optimal, 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 x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 101c0daf5aa76451304704481a0d82d328498950
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
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
57.31 μs 47.30 μs 0.83 0.01 True
2.27 ms 1.78 ms 0.78 0.02 True
438.02 μs 252.98 μs 0.58 0.01 True
51.37 μs 45.76 μs 0.89 0.01 True
287.20 μs 260.69 μs 0.91 0.01 True
126.63 μs 111.10 μs 0.88 0.31 False
1.56 ms 576.46 μs 0.37 0.04 True
7.09 ms 2.62 ms 0.37 0.01 True

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: "sum")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Deflate.Compress(level: Optimal, 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.Decompress(level: Optimal, 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: "sum")

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

Docs

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


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 101c0daf5aa76451304704481a0d82d328498950
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
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
146.58 μs 111.39 μs 0.76 0.18 False
1.18 ms 254.51 μs 0.22 0.04 True
371.31 μs 261.64 μs 0.70 0.01 True
551.12 μs 252.85 μs 0.46 0.01 True
1.66 ms 600.92 μs 0.36 0.04 True
377.98 μs 284.52 μs 0.75 0.01 True
80.95 μs 45.69 μs 0.56 0.01 True
569.93 μs 359.76 μs 0.63 0.01 True
85.83 μs 47.41 μs 0.55 0.01 True
2.36 ms 1.78 ms 0.75 0.01 True
2.21 ms 930.14 μs 0.42 0.01 True

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: "sum")

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: Optimal, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Decompress(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: Fastest, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.Decompress(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: Fastest, file: "sum")

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Gzip.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 x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 27d1ab03931cba67583bea79900e89687be9eb02
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.ComponentModel.Tests.Perf_TypeDescriptorTests

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
60.78 ns 51.75 ns 0.85 0.06 False
63.64 ns 52.77 ns 0.83 0.06 False
50.36 ns 31.25 ns 0.62 0.08 False
81.43 ns 70.73 ns 0.87 0.06 False
62.10 ns 52.75 ns 0.85 0.08 False
64.81 ns 53.03 ns 0.82 0.09 False
61.49 ns 52.49 ns 0.85 0.10 False
47.46 ns 38.73 ns 0.82 0.05 False

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.ComponentModel.Tests.Perf_TypeDescriptorTests*'

System.ComponentModel.Tests.Perf_TypeDescriptorTests.GetConverter(typeToConvert: typeof(System.Guid))

ETL Files

Histogram

JIT Disasms

System.ComponentModel.Tests.Perf_TypeDescriptorTests.GetConverter(typeToConvert: typeof(System.ComponentModel.Tests.SomeValueType?))

ETL Files

Histogram

JIT Disasms

System.ComponentModel.Tests.Perf_TypeDescriptorTests.GetConverter(typeToConvert: typeof(System.ComponentModel.Tests.IDerived))

ETL Files

Histogram

JIT Disasms

System.ComponentModel.Tests.Perf_TypeDescriptorTests.GetConverter(typeToConvert: typeof(System.ComponentModel.Tests.SomeEnum))

ETL Files

Histogram

JIT Disasms

System.ComponentModel.Tests.Perf_TypeDescriptorTests.GetConverter(typeToConvert: typeof(System.ComponentModel.Tests.DerivedClass))

ETL Files

Histogram

JIT Disasms

System.ComponentModel.Tests.Perf_TypeDescriptorTests.GetConverter(typeToConvert: typeof(int?))

ETL Files

Histogram

JIT Disasms

System.ComponentModel.Tests.Perf_TypeDescriptorTests.GetConverter(typeToConvert: typeof(System.Enum))

ETL Files

Histogram

JIT Disasms

System.ComponentModel.Tests.Perf_TypeDescriptorTests.GetConverter(typeToConvert: typeof(string))

ETL Files

Histogram

JIT Disasms

Docs

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

Copy link
Author

Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 101c0daf5aa76451304704481a0d82d328498950
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
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
7.58 ns 5.80 ns 0.77 0.28 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.Memory.Span&lt;Char&gt;*'

System.Memory.Span<Char>.IndexOfValue(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 ViperUbuntu
Baseline 27d1ab03931cba67583bea79900e89687be9eb02
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Memory.Span<Byte>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
8.90 ns 7.50 ns 0.84 0.31 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.Memory.Span&lt;Byte&gt;*'

System.Memory.Span<Byte>.SequenceEqual(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 ViperUbuntu
Baseline 101c0daf5aa76451304704481a0d82d328498950
Compare 82600adc0ee243a5ecb0d97e3242de89b0fcfa59
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.IO.Compression.Brotli

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
511.45 ms 478.63 ms 0.94 0.01 False
512.83 ms 478.38 ms 0.93 0.01 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.IO.Compression.Brotli*'

System.IO.Compression.Brotli.Compress_WithoutState(level: Optimal, file: "TestDocument.pdf")

ETL Files

Histogram

JIT Disasms

System.IO.Compression.Brotli.Compress_WithState(level: Optimal, 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 x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 101c0daf5aa76451304704481a0d82d328498950
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in Exceptions.Handling

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
6.81 μs 6.36 μs 0.93 0.04 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 'Exceptions.Handling*'

Exceptions.Handling.ThrowAndCatchDeepRecursive(kind: Software)

ETL Files

Histogram

JIT Disasms

Docs

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

@AndyAyersMS
Copy link
Member

Compress/decompress is dotnet/runtime#104454

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant