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
Speedup owner search #9964
base: master
Are you sure you want to change the base?
Speedup owner search #9964
Conversation
adrianschroeter
commented
Jul 29, 2020
80ac3ec
to
70705d4
Compare
70705d4
to
9087d27
Compare
96cfc18
to
5bdd85a
Compare
Thank you Adrian! I really appreciate when this gets merged! |
I'm not 100% sure it is related with this PR but since a few days on IBS, packages which were still returned with bugowner who left the company are no longer returned at all. |
5d5743c
to
af67ace
Compare
This breaks |
55a3c38
to
7495f7d
Compare
b2b31c4
to
50714de
Compare
50714de
to
f52b97d
Compare
f52b97d
to
a164463
Compare
a164463
to
57f2211
Compare
57f2211
to
92c8e45
Compare
I rebased on master. |
58d14a9
to
d207a7e
Compare
This was already done in openSUSE#12001, but was not part of the original pull request openSUSE#9964.
Introducing the method |
Using special backend route taking 0.15 instead of 8.5 seconds. We are down from 15 seconds to 2. 1 second of that is python startup and SSL handshake
Supported filters are 'name' and 'project'. This is much faster than the going through the XPath engine when multiple names or projects are specified. The API will use this in the owner search function, which needs to be as fast as possible.
test case got adapted to prove the introduced breakage with some webui optimization commit ada5ac1
Fixes situations where no binary is named like the container name (in some multibuild situations). Allows also faster lookups in best case.
This was already done in openSUSE#12001, but was not part of the original pull request openSUSE#9964.
ffa101f
to
d29a775
Compare