-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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: 4 Regressions on 5/3/2024 3:54:35 PM #102044
Comments
Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis |
Looks related to #101761 |
The problem here is that we have a very large struct |
A big chunk of time is spent inside the explicit memory barrier here. |
cc @jkotas @MichalStrehovsky so looks like unconditional full memory barrier (no-op on x64) might make the bulk move slower than individual helpers (where I found a few tricks to speed up the copy algorithm, just not sure that will be enough. Maybe we should adjust the logic that decides when to emit the bulk helper, e.g. to: if (gcPointers >= 4 && gcSize >= fullSize/2)
// insert the barrier |
Run Information
Regressions in System.Text.Json.Tests.Utf8JsonReaderCommentsTests
Test Report
Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md
System.Text.Json.Tests.Utf8JsonReaderCommentsTests.Utf8JsonReaderCommentParsing(CommentHandling: Skip, SegmentSize: 0, TestCase: ShortSingleLine)
ETL Files
Histogram
JIT Disasms
System.Text.Json.Tests.Utf8JsonReaderCommentsTests.Utf8JsonReaderCommentParsing(CommentHandling: Allow, SegmentSize: 0, TestCase: ShortSingleLine)
ETL Files
Histogram
JIT Disasms
System.Text.Json.Tests.Utf8JsonReaderCommentsTests.Utf8JsonReaderCommentParsing(CommentHandling: Allow, SegmentSize: 100, TestCase: ShortMultiLine)
ETL Files
Histogram
JIT Disasms
System.Text.Json.Tests.Utf8JsonReaderCommentsTests.Utf8JsonReaderCommentParsing(CommentHandling: Skip, SegmentSize: 0, TestCase: ShortMultiLine)
ETL Files
Histogram
JIT Disasms
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository
The text was updated successfully, but these errors were encountered: