-
Notifications
You must be signed in to change notification settings - Fork 877
Perf improvements #5245
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
Perf improvements #5245
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
4e7c9d3
Lazily allocate parameters
NinoFloris c6c356c
Take original CommandText if possible
NinoFloris be5f542
Improve Ensure and ReadMessage allocation profile
NinoFloris 9925cdb
Some safe simplifications on TryFastRead and data row reads
NinoFloris 1e614a8
Fix connector not being broken
NinoFloris fb000cb
Move data row method into process message
NinoFloris f868fa0
Allow TryRead in even more cases
NinoFloris 363910e
Improve some more code
NinoFloris 1514ebd
Properly handle errors in TryRead
NinoFloris c0c3154
Improve parse speed for resultset reading
NinoFloris 8bb8ee1
Improve forward seeking in non-sequential mode
NinoFloris e4920d5
Small speedups
NinoFloris 1b05b7c
Fix resuming non-sequential reads
NinoFloris 8d75faa
Improve NextResult perf
NinoFloris 86368da
Store prepared statement name as bytes
NinoFloris ef80569
Connection open speedups
NinoFloris 77688ac
Modernized (and slightly faster) command complete message
NinoFloris 149b215
Remove unused read methods
NinoFloris 28ea806
Fixes
NinoFloris 571e0ee
Move some more code around
NinoFloris 9cb01fc
Have separate sync and async methods for Commit
NinoFloris 4afd699
Remove sign extension
NinoFloris a3d05ce
Remove unused write buffer methods
NinoFloris b708278
Inline multiplexing WriteCommand
NinoFloris 4446a20
Make metrics and counter collection pay for play
NinoFloris 9a91c98
Replace UtcNow with cpu clock time
NinoFloris 71693e4
Move TypeToConvert to be a field on PgConverterInfo
NinoFloris 058b4e7
Don't lookup FieldDescription if we have a matching cached column inf…
NinoFloris 5232c85
Reset only the absolute minimum amount of fields
NinoFloris 174e892
Re-use property values where possible
NinoFloris 04a3547
Write directly into oid/rows backing fields
NinoFloris be3127a
Add fast-path to RentArray
NinoFloris 2c6d9f0
Move to timestamp ticks
NinoFloris e64441d
Rename and add comment
NinoFloris ecbcb9f
Address feedback
NinoFloris 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
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
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
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
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
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
Oops, something went wrong.
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.