Merge lp:~james-w/canonical-identity-provider/fast-team-memberships into lp:canonical-identity-provider/release
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | Natalia Bidart |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1024 |
Proposed branch: | lp:~james-w/canonical-identity-provider/fast-team-memberships |
Merge into: | lp:canonical-identity-provider/release |
Diff against target: |
30 lines (+5/-11) 1 file modified
src/identityprovider/models/team.py (+5/-11) |
To merge this branch: | bzr merge lp:~james-w/canonical-identity-provider/fast-team-memberships |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Natalia Bidart (community) | Approve | ||
Ricardo Kirkner (community) | Approve | ||
Review via email: mp+181851@code.launchpad.net |
Commit message
Rewrite the team participation query to run much faster.
This version ran the sample query in 3ms, vs. >11000ms for the old query.
Thanks to wgrant and nessita for figuring out how to make it fast.
Description of the change
Hi,
This should be a huge speedup to team participation queries, thanks to
wgrant and nessita.
Thanks,
James
To post a comment you must log in.
LGTM