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] Windows/x64: 40 Improvements on 7/9/2024 12:32:58 AM #38330

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

[Perf] Windows/x64: 40 Improvements on 7/9/2024 12:32:58 AM #38330

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

Comments

@performanceautofiler
Copy link

Run Information

Name Value
Architecture x64
OS Windows 10.0.22631
Queue ViperWindows
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
87.64 μs 56.17 μs 0.64 0.01 True
89.03 μs 58.12 μs 0.65 0.02 True
2.16 ms 1.20 ms 0.56 0.01 True
2.78 ms 2.55 ms 0.92 0.01 False
383.41 μs 259.89 μs 0.68 0.42 False
349.73 μs 269.38 μs 0.77 0.01 True
5.18 ms 2.93 ms 0.57 0.01 True
614.57 μs 498.47 μs 0.81 0.02 True
445.23 μs 396.17 μs 0.89 0.01 True
343.00 μs 284.63 μs 0.83 0.01 True
1.52 ms 787.85 μs 0.52 0.01 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Test Report

Repro

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

git clone https:/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.IO.Compression.ZLib*'

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

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

System.IO.Compression.ZLib.Decompress(level: Optimal, 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.Compress(level: Optimal, 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

System.IO.Compression.ZLib.Compress(level: Fastest, 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 Windows 10.0.22631
Queue ViperWindows
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
2.75 ms 2.56 ms 0.93 0.01 False
316.58 μs 267.69 μs 0.85 0.01 True
312.29 μs 281.22 μs 0.90 0.01 True
5.13 ms 2.93 ms 0.57 0.01 True
342.68 μs 256.94 μs 0.75 0.40 False
74.62 μs 56.08 μs 0.75 0.05 True
2.13 ms 1.20 ms 0.56 0.01 True
75.58 μs 56.99 μs 0.75 0.04 True
1.49 ms 787.57 μs 0.53 0.01 True
601.41 μs 494.36 μs 0.82 0.02 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Test Report

Repro

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

git clone https:/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.IO.Compression.Deflate*'

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

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

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

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: "alice29.txt")

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

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

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 Windows 10.0.22631
Queue ViperWindows
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
319.21 μs 283.52 μs 0.89 0.01 True
5.13 ms 2.93 ms 0.57 0.01 True
79.42 μs 57.14 μs 0.72 0.02 True
2.76 ms 2.56 ms 0.93 0.01 False
321.49 μs 269.56 μs 0.84 0.01 True
601.20 μs 493.57 μs 0.82 0.01 True
80.29 μs 57.07 μs 0.71 0.02 True
353.36 μs 252.68 μs 0.72 0.41 False
1.49 ms 782.18 μs 0.52 0.01 True
2.13 ms 1.19 ms 0.56 0.01 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Test Report

Repro

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

git clone https:/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.IO.Compression.Gzip*'

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

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.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 Windows 10.0.22631
Queue ViperWindows
Baseline 101c0daf5aa76451304704481a0d82d328498950
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Numerics.Tensors.Tests.Perf_NumberTensorPrimitives<Int32>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
12.34 ns 10.95 ns 0.89 0.21 False

graph
Test Report

Repro

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

git clone https:/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Numerics.Tensors.Tests.Perf_NumberTensorPrimitives&lt;Int32&gt;*'

System.Numerics.Tensors.Tests.Perf_NumberTensorPrimitives<Int32>.BitwiseAnd_Scalar(BufferLength: 128)

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 Windows 10.0.22631
Queue ViperWindows
Baseline 101c0daf5aa76451304704481a0d82d328498950
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Linq.Tests.Perf_Enumerable

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
19.08 ns 8.21 ns 0.43 0.17 False
5.26 ns 4.06 ns 0.77 0.12 False

graph
graph
Test Report

Repro

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

git clone https:/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Linq.Tests.Perf_Enumerable*'

System.Linq.Tests.Perf_Enumerable.Contains_ElementNotFound(input: ICollection)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.SequenceEqual(input1: Array, input2: Array)

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 Windows 10.0.22631
Queue ViperWindows
Baseline 101c0daf5aa76451304704481a0d82d328498950
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Numerics.Tensors.Tests.Perf_FloatingPointTensorPrimitives<Single>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
24.08 ns 20.56 ns 0.85 0.10 False
12.38 ns 10.00 ns 0.81 0.42 False
517.84 ns 113.58 ns 0.22 0.53 False
21.50 ns 13.14 ns 0.61 0.31 False

graph
graph
graph
graph
Test Report

Repro

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

git clone https:/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Numerics.Tensors.Tests.Perf_FloatingPointTensorPrimitives&lt;Single&gt;*'

System.Numerics.Tensors.Tests.Perf_FloatingPointTensorPrimitives<Single>.FusedMultiplyAdd_Vectors(BufferLength: 128)

ETL Files

Histogram

JIT Disasms

System.Numerics.Tensors.Tests.Perf_FloatingPointTensorPrimitives<Single>.Truncate(BufferLength: 128)

ETL Files

Histogram

JIT Disasms

System.Numerics.Tensors.Tests.Perf_FloatingPointTensorPrimitives<Single>.Round(BufferLength: 3079)

ETL Files

Histogram

JIT Disasms

System.Numerics.Tensors.Tests.Perf_FloatingPointTensorPrimitives<Single>.Round(BufferLength: 128)

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 Windows 10.0.22631
Queue ViperWindows
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.55 ns 6.22 ns 0.82 0.13 False

graph
Test Report

Repro

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

git clone https:/dotnet/performance.git
py .\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 Windows 10.0.22631
Queue ViperWindows
Baseline 101c0daf5aa76451304704481a0d82d328498950
Compare 1164d2fe49449a914cc86f3b59973be7a60668fd
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Memory.Span<Int32>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
34.11 ns 26.86 ns 0.79 0.19 False

graph
Test Report

Repro

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

git clone https:/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Memory.Span&lt;Int32&gt;*'

System.Memory.Span<Int32>.SequenceEqual(Size: 512)

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