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
chore(deps): upgrade pgx to v5 #6916
chore(deps): upgrade pgx to v5 #6916
Conversation
447de3e
to
e765e3b
Compare
f166fd6
to
e0240e6
Compare
Images are ready for the commit at 7e6aae1. To use with deploy scripts, first |
e765e3b
to
3152b48
Compare
e0240e6
to
ccf9ccd
Compare
3152b48
to
30917ac
Compare
8acfd2c
to
1e64117
Compare
ecc8fd5
to
53233d7
Compare
I run benchmarks on e2-standard-8 with following command and then filter results to keep only entries that differs: BENCHTIME=1s BENCHTIMEOUT=0 BENCHCOUNT=30 nohup make go-postgres-bench-tests > results.txt &
|
0eeb37f
to
6383126
Compare
6383126
to
16315c1
Compare
/test |
@dashrews78: The
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test gke-scale-tests |
1 similar comment
/test gke-scale-tests |
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.
This is probably a good time to tackle this. It would probably be worth having @mtodor look at it in a performance environment. (Though that may come after merge so we can incrementally fix any performance fallout)
I think I know why some results are worse. I've profiled Datastore test for CPU and allocations and looks like the 5.4.2 version has a regression in copy from method that allocates more memory then old version. Update to 5.5.0 resolves this issue.
|
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
3cccb20
to
7e6aae1
Compare
@janisz: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Bench results after upgrading to 5.5 looks better. Still there is a room for improvements but it's not that bad.
|
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
Description
Description
Important changes in v5:
CommandTag
is a type[]TextArray
but now it's just a[]string
so only filtering part is needed.'null'
but now it'snull
so I added a change to use{}
withpgutils.EmptyOrMap
Since https://github.com/driftprogramming/pgxpoolmock is not maintained over the last year and does not have pgx v5 support I decide to copy mocker rows file to our repo and clean it up from unused functions.
Checklist
If any of these don't apply, please comment below.
Testing Performed
CI