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

Regressions in System.IO.Tests.BinaryReaderTests #93743

Closed
performanceautofiler bot opened this issue Oct 19, 2023 · 5 comments
Closed

Regressions in System.IO.Tests.BinaryReaderTests #93743

performanceautofiler bot opened this issue Oct 19, 2023 · 5 comments
Labels
arch-arm64 area-System.IO os-linux Linux OS (any supported distro) runtime-coreclr specific to the CoreCLR runtime tenet-performance Performance related issue tenet-performance-benchmarks Issue from performance benchmark
Milestone

Comments

@performanceautofiler
Copy link

performanceautofiler bot commented Oct 19, 2023

Run Information

Name Value
Architecture arm64
OS ubuntu 20.04
Queue AmpereUbuntu
Baseline 851c274cc50544bf11a59e1011dbc594ca7010b0
Compare 5233eea73e60915d849b945dccec150bc57827c6
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Regressions in System.IO.Tests.BinaryReaderTests

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
5.29 ns 6.29 ns 1.19 0.08 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.IO.Tests.BinaryReaderTests*'

Payloads

Baseline
Compare

System.IO.Tests.BinaryReaderTests.ReadHalf

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because we could not find enough baseline builds for window checking.
IsChangePoint: Marked as a change because one of 10/13/2023 7:46:10 PM, 10/18/2023 4:42:02 PM falls between 10/9/2023 8:09:24 PM and 10/18/2023 4:42:02 PM.
IsRegressionStdDev: Marked as regression because -15.773360937890658 (T) = (0 -6.424371170856452) / Math.Sqrt((0.0010989257886529443 / (11)) + (0.03524672407763912 / (7))) is less than -2.1199052992212764 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (11) + (7) - 2, .025) and -0.21350717532034122 = (5.29405289190857 - 6.424371170856452) / 5.29405289190857 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Docs

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

@performanceautofiler performanceautofiler bot added arch-arm64 os-linux Linux OS (any supported distro) runtime-coreclr specific to the CoreCLR runtime untriaged New issue has not been triaged by the area owner labels Oct 19, 2023
@EgorBo EgorBo changed the title [Perf] Linux/arm64: 1 Regression on 10/14/2023 5:18:12 AM Regressions in System.IO.Tests.BinaryReaderTests Oct 19, 2023
@EgorBo EgorBo removed the untriaged New issue has not been triaged by the area owner label Oct 19, 2023
@EgorBo EgorBo transferred this issue from dotnet/perf-autofiling-issues Oct 19, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 19, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Oct 19, 2023
@EgorBo
Copy link
Member

EgorBo commented Oct 19, 2023

Also dotnet/perf-autofiling-issues#23338

Regressed by #80331 cc @teo-tsirpanis

@EgorBo EgorBo added area-System.IO tenet-performance Performance related issue tenet-performance-benchmarks Issue from performance benchmark and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Oct 19, 2023
@ghost
Copy link

ghost commented Oct 19, 2023

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

Issue Details

Run Information

Name Value
Architecture arm64
OS ubuntu 20.04
Queue AmpereUbuntu
Baseline 851c274cc50544bf11a59e1011dbc594ca7010b0
Compare 5233eea73e60915d849b945dccec150bc57827c6
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Regressions in System.IO.Tests.BinaryReaderTests

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
5.29 ns 6.29 ns 1.19 0.08 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.IO.Tests.BinaryReaderTests*'

Payloads

Baseline
Compare

System.IO.Tests.BinaryReaderTests.ReadHalf

ETL Files

Histogram

Description of detection logic

IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsRegressionBase: Marked as regression because the compare was 5% greater than the baseline, and the value was not too small.
IsRegressionChecked: Marked as regression because the three check build points were 0.05 greater than the baseline.
IsRegressionWindowed: Marked as regression because we could not find enough baseline builds for window checking.
IsChangePoint: Marked as a change because one of 10/13/2023 7:46:10 PM, 10/18/2023 4:42:02 PM falls between 10/9/2023 8:09:24 PM and 10/18/2023 4:42:02 PM.
IsRegressionStdDev: Marked as regression because -15.773360937890658 (T) = (0 -6.424371170856452) / Math.Sqrt((0.0010989257886529443 / (11)) + (0.03524672407763912 / (7))) is less than -2.1199052992212764 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (11) + (7) - 2, .025) and -0.21350717532034122 = (5.29405289190857 - 6.424371170856452) / 5.29405289190857 is less than -0.05.
IsImprovementBase: Marked as not an improvement because the compare was not 5% less than the baseline, or the value was too small.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.

JIT Disasms

Docs

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

Author: performanceautofiler[bot]
Assignees: -
Labels:

arch-arm64, area-System.IO, os-linux, tenet-performance, tenet-performance-benchmarks, untriaged, runtime-coreclr

Milestone: -

@teo-tsirpanis
Copy link
Contributor

Weird, on Linux it improved. 🤔

@adamsitnik adamsitnik added this to the 9.0.0 milestone Oct 20, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Oct 20, 2023
@adamsitnik
Copy link
Member

Weird, on Linux it improved.

It has improved for all OSes on x64, but regressed on arm64.

@adamsitnik
Copy link
Member

I think it's OK to accept this tradeoff.

@adamsitnik adamsitnik closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-System.IO os-linux Linux OS (any supported distro) runtime-coreclr specific to the CoreCLR runtime tenet-performance Performance related issue tenet-performance-benchmarks Issue from performance benchmark
Projects
None yet
Development

No branches or pull requests

3 participants