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

Improve Binary Xml (XmlDictionaryWriter) performance #71478

Merged
merged 30 commits into from Apr 1, 2023
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c327b28
Improve perf of XmlBinaryWriter using Unsafe
Daniel-Svensson Jun 28, 2022
d57b7f2
Use ReverseEndianness to simplify writes
Daniel-Svensson Jun 28, 2022
c214302
Use span in a few places
Daniel-Svensson Jun 28, 2022
0e736f6
Add back old comparison, but only write float as int if it saves space
Daniel-Svensson Jun 29, 2022
d1e850b
Use span in array writing to reduce bounds checks
Daniel-Svensson Jun 29, 2022
d80b67f
Extract all unsafe code to shared method
Daniel-Svensson Jun 30, 2022
d24de76
Fix nodetype type
Daniel-Svensson Jun 30, 2022
c98689b
Avoid pinning and unsafe when writing arrays
Daniel-Svensson Jul 1, 2022
cf64f69
Merge remote-tracking branch 'upstream/main' into dev
Daniel-Svensson Jul 3, 2022
450e4d8
add back CheckArray
Daniel-Svensson Jul 3, 2022
149b6d9
Fix Assert condition
Daniel-Svensson Jul 4, 2022
2907e0a
Apply suggestions from code review
Daniel-Svensson Jul 8, 2022
86496bb
Fix review comments
Daniel-Svensson Jul 8, 2022
ed26c86
Merge remote-tracking branch 'upstream/main' into dev
Daniel-Svensson Jul 8, 2022
657e9b9
use new span ctor
Daniel-Svensson Jul 8, 2022
0a7a7e5
add tests
Daniel-Svensson Jul 25, 2022
963315d
Add tests for very long arrays
Daniel-Svensson Jul 25, 2022
c2e11d0
Fixx overload resolution for WriteText method
Daniel-Svensson Jul 26, 2022
e832548
Just copy guid arrays on LittleEndian platforms
Daniel-Svensson Aug 3, 2022
1d1818e
Merge remote-tracking branch 'upstream/main' into dev
Daniel-Svensson Aug 14, 2022
571a628
Add testversion of XmlBinaryNodeType with hardcoded values to use sam…
Daniel-Svensson Aug 14, 2022
5488341
call corrreect version of getbuffer
Daniel-Svensson Aug 15, 2022
c983179
Merge branch 'main' into dev
Daniel-Svensson Aug 16, 2022
ce69dce
Update src/libraries/System.Runtime.Serialization.Xml/tests/Reflectio…
Daniel-Svensson Aug 16, 2022
9281073
fix merge conflict
Daniel-Svensson Aug 16, 2022
798286a
Fix merge conflicts.
StephenMolloy Mar 16, 2023
ab3e0cc
Restored Big-Endian functionality. Ugly though.
StephenMolloy Mar 16, 2023
477cf8b
Cleaned up arrays.
StephenMolloy Mar 17, 2023
f51e07d
Merge branch 'main' into dev
StephenMolloy Mar 25, 2023
1fb4ba0
Remove leftover using in tests.
StephenMolloy Mar 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view