Review TYPO3_7-6 Abandoned

50773[BUGFIX] Avoid redundant SQL requests in ReferenceIndex

Claus Due CR 0 V 0 Hard +242 −92 updated 05/05/17, 01:32

Commit message

This patch changes methods inside ReferenceIndex to allow
them to receive an array (existing record) rather than a UID
which each method would load from DB to read record or
record fields.

Wall time reduction is ~40% for copy pages operations.

Memory usage reduction is ~10% for the same.

SQL request count reduction is 1,500 for a copy operation
on 25 pages with approximately 100 content elements total.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1