Review main Merged

78354[TASK] Speed up page tree

Christian Eßl CR +2 V +2 Normal +58 −59 updated 04/12/23, 04:41

Commit message

Further speed up the page tree for large sites by initially preparing
the quoted fields instead of newly quoting them for each single db
query.

Test scenario:
- 160 sites (page trees)
- Each site has 30 pages on the first two levels, divided into 5
  branches.
- Rendering time of tree ~9.8s
- Of those, 1.8s is just for repeatedly quoting the same field array.

Also introduce stricter typing to the class, primarily to make
clear, that the fields array must not be modified after construction.

Review

  • Code review CR +2

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

  • Verified V +2

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

Issues 1

Files 1