-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Improve Binary Xml (XmlDictionaryWriter) performance #71478
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
c327b28
Improve perf of XmlBinaryWriter using Unsafe
Daniel-Svensson d57b7f2
Use ReverseEndianness to simplify writes
Daniel-Svensson c214302
Use span in a few places
Daniel-Svensson 0e736f6
Add back old comparison, but only write float as int if it saves space
Daniel-Svensson d1e850b
Use span in array writing to reduce bounds checks
Daniel-Svensson d80b67f
Extract all unsafe code to shared method
Daniel-Svensson d24de76
Fix nodetype type
Daniel-Svensson c98689b
Avoid pinning and unsafe when writing arrays
Daniel-Svensson cf64f69
Merge remote-tracking branch 'upstream/main' into dev
Daniel-Svensson 450e4d8
add back CheckArray
Daniel-Svensson 149b6d9
Fix Assert condition
Daniel-Svensson 2907e0a
Apply suggestions from code review
Daniel-Svensson 86496bb
Fix review comments
Daniel-Svensson ed26c86
Merge remote-tracking branch 'upstream/main' into dev
Daniel-Svensson 657e9b9
use new span ctor
Daniel-Svensson 0a7a7e5
add tests
Daniel-Svensson 963315d
Add tests for very long arrays
Daniel-Svensson c2e11d0
Fixx overload resolution for WriteText method
Daniel-Svensson e832548
Just copy guid arrays on LittleEndian platforms
Daniel-Svensson 1d1818e
Merge remote-tracking branch 'upstream/main' into dev
Daniel-Svensson 571a628
Add testversion of XmlBinaryNodeType with hardcoded values to use sam…
Daniel-Svensson 5488341
call corrreect version of getbuffer
Daniel-Svensson c983179
Merge branch 'main' into dev
Daniel-Svensson ce69dce
Update src/libraries/System.Runtime.Serialization.Xml/tests/Reflectio…
Daniel-Svensson 9281073
fix merge conflict
Daniel-Svensson 798286a
Fix merge conflicts.
StephenMolloy ab3e0cc
Restored Big-Endian functionality. Ugly though.
StephenMolloy 477cf8b
Cleaned up arrays.
StephenMolloy f51e07d
Merge branch 'main' into dev
StephenMolloy 1fb4ba0
Remove leftover using in tests.
StephenMolloy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Extract all unsafe code to shared method
- Loading branch information
commit d80b67fa1e7ac1b6d1d2bc96bfd4470edaecbb85
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.