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

System.IO.Tests.BinaryWriterExtendedTests.WriteAsciiString regressed on 32 bit platforms #66840

Open
adamsitnik opened this issue Mar 18, 2022 · 1 comment

Comments

@adamsitnik
Copy link
Member

System.IO.Tests.BinaryWriterExtendedTests.WriteAsciiString(StringLengthInChars: 32) has regressed 15-25% on 32 bit platforms.

Reporting system:

image

Repro:

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net6.0 net7.0 --filter System.IO.Tests.BinaryWriterExtendedTests.WriteAsciiString --architecture x86
Result Base Diff Ratio Operating System Bit
Same 12.85 14.88 0.86 Windows 11 X64
Same 9.67 10.33 0.94 Windows 11 X64
Faster 103.76 23.35 4.44 Windows 11 X64
Same 13.05 14.25 0.92 Windows 10 X64
Same 16.41 16.58 0.99 Windows 11 X64
Same 20.63 20.80 0.99 Windows 11 X64
Same 9.78 10.06 0.97 ubuntu 18.04 X64
Same 9.60 10.15 0.95 ubuntu 20.04 X64
Same 16.58 17.15 0.97 ubuntu 18.04 X64
Same 23.54 24.92 0.94 ubuntu 18.04 X64
Same 19.76 21.63 0.91 pop 20.04 X64
Same 13.86 14.45 0.96 alpine 3.13 X64
Same 14.08 14.53 0.97 debian 11 X64
Same 14.64 13.55 1.08 macOS Monterey 12.2.1 Arm64
Same 24.86 23.80 1.04 Windows 10 Arm64
Same 23.57 24.48 0.96 Windows 11 Arm64
Slower 20.62 25.47 0.81 Windows 10 X86
Slower 18.79 23.28 0.81 Windows 10 X86
Slower 15.79 20.93 0.75 Windows 10 X86
Slower 45.60 53.93 0.85 Windows 10 Arm
Same 22.41 22.01 1.02 macOS Big Sur 11.6.3 X64
Same 18.05 18.33 0.99 macOS Monterey 12.2.1 X64
Same 19.46 19.72 0.99 macOS Monterey 12.2.1 X64
@ghost
Copy link

ghost commented Mar 18, 2022

Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.

Issue Details

System.IO.Tests.BinaryWriterExtendedTests.WriteAsciiString(StringLengthInChars: 32) has regressed 15-25% on 32 bit platforms.

Reporting system:

image

Repro:

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net6.0 net7.0 --filter System.IO.Tests.BinaryWriterExtendedTests.WriteAsciiString --architecture x86
Result Base Diff Ratio Operating System Bit
Same 12.85 14.88 0.86 Windows 11 X64
Same 9.67 10.33 0.94 Windows 11 X64
Faster 103.76 23.35 4.44 Windows 11 X64
Same 13.05 14.25 0.92 Windows 10 X64
Same 16.41 16.58 0.99 Windows 11 X64
Same 20.63 20.80 0.99 Windows 11 X64
Same 9.78 10.06 0.97 ubuntu 18.04 X64
Same 9.60 10.15 0.95 ubuntu 20.04 X64
Same 16.58 17.15 0.97 ubuntu 18.04 X64
Same 23.54 24.92 0.94 ubuntu 18.04 X64
Same 19.76 21.63 0.91 pop 20.04 X64
Same 13.86 14.45 0.96 alpine 3.13 X64
Same 14.08 14.53 0.97 debian 11 X64
Same 14.64 13.55 1.08 macOS Monterey 12.2.1 Arm64
Same 24.86 23.80 1.04 Windows 10 Arm64
Same 23.57 24.48 0.96 Windows 11 Arm64
Slower 20.62 25.47 0.81 Windows 10 X86
Slower 18.79 23.28 0.81 Windows 10 X86
Slower 15.79 20.93 0.75 Windows 10 X86
Slower 45.60 53.93 0.85 Windows 10 Arm
Same 22.41 22.01 1.02 macOS Big Sur 11.6.3 X64
Same 18.05 18.33 0.99 macOS Monterey 12.2.1 X64
Same 19.46 19.72 0.99 macOS Monterey 12.2.1 X64
Author: adamsitnik
Assignees: -
Labels:

arch-arm32, arch-x86, area-System.IO, tenet-performance

Milestone: -

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

2 participants