Monorepo for Tangled โ€” https://tangled.org

appview/db: improve repo-languages query #584

merged
opened by oppi.li targeting master from push-xvuvxolnykpl

switch from corelated query to window function. practically, this gives us a 10x speedup for this portion of the function. we can go further by running each subquery for GetRepos concurrently, but the potential wins here is in the order of ~2ms.

Signed-off-by: oppiliappan me@oppi.li

0
by oppi.li 0 comments
expand 1 commit
appview/db: improve repo-languages query
pull request successfully merged
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:qfpnj4og54vl56wngdriaxug/sh.tangled.repo.pull/3lzixk6k3pg22