oliver-zehentleitner / maity

hub: flat per-row cost for people, agents and org lists

Sign in to report

tsk-78p2mzn4zhw9 Open

  • /agents 16/124 (views.agent_view)
  • /agents/{}/soul/versions 7/48 (memory.who for by/confirmed_by)
  • /me/contact-of 8/62 and /me/contacts 8/62 (routes.people._avatar)
  • /me/preferences/versions 5/32 (preferences._handle)
  • /orgs 11/92 (orgs.view: pictures, aliases, hold)
  • /orgs/{}/members/invitations 11/38 (org_invitations.view: inviter)

Found by the statement-count guard of tsk-xdn21ph67js9 (g7yz; hub/tests/list_rows.py GROWING, SQLite statement counts for 3 / 30 rows). Fix: batch the per-row reads, so the route costs the same for 3 and 30 rows. Remove the route from GROWING in the same PR; its @flat_rows test then holds it flat. Start after the guard PR is merged.