rDrama/files
TLSM 007f0a3f02 Optimize comment pagination in post_id, viewmore
Against a clean seeded DB, reduces `GET /post/1/` from 63 queries to
26 by removing redundancies and slow lazy-loaded queries during
top comment pagination.

Also applies eager loading to /viewmore/ with the expected reduction
from 5*(N comments) queries to ~12/request.

For testing locally, use a newly seeded DB to ensure
Comment.descendant_count is populated.

Ref: #485
2023-02-08 15:50:24 -06:00
..
assets Cleanup sidebar sizing style kludges 2023-02-04 04:13:18 -06:00
classes awards: remove all award definitions 2023-02-07 07:03:36 -06:00
commands Optimize comment pagination in post_id, viewmore 2023-02-08 15:50:24 -06:00
helpers Optimize comment pagination in post_id, viewmore 2023-02-08 15:50:24 -06:00
mail Split SITE_NAME into computer-readable SITE_ID and human-readable SITE_TITLE. 2022-07-31 18:53:18 -05:00
routes Optimize comment pagination in post_id, viewmore 2023-02-08 15:50:24 -06:00
templates Hide flair if should_hide_username in comments 2023-02-08 14:49:27 -06:00
tests [themotte/rDrama#451] Passing in the db connection as an optional param makes things easier 2023-01-13 19:33:56 -08:00
__init__.py Initial e2e testing 2022-05-13 02:55:29 -05:00
__main__.py Merge remote-tracking branch 'origin/frost' into themotte-issue-451 2023-01-12 22:09:07 -08:00
cli.py [#72] Ensure seed_db command is actually imported when calling into flask 2022-06-09 01:34:46 -07:00