-
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
Perf improvements #5245
Conversation
684d797 to
cf1bd06
Compare
cf1bd06 to
3a829d8
Compare
3a829d8 to
45dd271
Compare
# Conflicts: # src/Npgsql/NpgsqlCommand.cs
Improves code flow for the hot path
# Conflicts: # src/Npgsql/Internal/NpgsqlConnector.FrontendMessages.cs
718d14a to
ae76ddb
Compare
vonzshik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a bit of free time, here's partial (16/33) review, will probably finish either this evening or tomorrow.
# Conflicts: # src/Npgsql/Internal/NpgsqlConnector.FrontendMessages.cs
# Conflicts: # src/Npgsql/Internal/NpgsqlReadBuffer.cs
# Conflicts: # src/Npgsql/Internal/PgReader.cs
# Conflicts: # src/Npgsql/NpgsqlDataReader.cs
8ec9157 to
2c6d9f0
Compare
vonzshik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
33/33, just left to refine it a bit.
|
And here are some perf numbers for fortunes/single_query platform: Fortunes
Single query
Fortunes, before the perf PR (5c10602)Fortunes, after the perf PR (4b5b897)Single query, before the perf PR (5c10602)Single query, after the perf PR (4b5b897)fortunes-5c106023.json |
Based on handler rework, splits out the non-essential perf improvements for easier reviewing.