HomeSoftware Heritage

misc/origin_save: Improve save requests page retrieval performance

Description

misc/origin_save: Improve save requests page retrieval performance

Improve the overall performance when one wants to display a specific page of
the save code now requests list by:

  • Applying possibly costly operations (like finding the visit date) only on the save requests to display (the whole list was considered previously)
  • Implementing search feature using Django model instead of pure Python

Also add missing tests.

Details

Provenance
anlambertAuthored on Jan 6 2021, 6:21 PM
anlambertPushed on Jan 7 2021, 11:41 AM
Differential Revision
D4816: misc/origin_save: Improve save requests page retrieval performance
Parents
rDWAPPS917b46684bae: Add indexes to the Save Code Now tables.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 18208
Build 28104: test-and-buildJenkins console · Jenkins