Use a prefetch for zones
Related to #701 (closed): This divides by half the time spent on ListCorpusElements
when top_level
is False.
See https://notes.vpn/k56It1gMQHWPvW14xu9wGg# for a benchmark on all corpora that shows the enhancements.
Edited by Erwan Rouchet
Merge request reports
Activity
After discussion, let's try the following:
- remove
corpus
in order - replace
type__slug
bytype_id
- support
type
as UUID (maybe another MR) - remove join on type
Edited by Bastien Abadie- remove
added 9 commits
-
c5c65835...cabba7ae - 7 commits from branch
master
- a1962ea0 - Use a prefetch for zones
- 0cf579f4 - Update query counts
-
c5c65835...cabba7ae - 7 commits from branch
requested review from @babadie
mentioned in commit e3bf8746
Please register or sign in to reply