Files
@ b91c5a6327bd
Branch filter:
Location: kallithea/docs/usage/backup.rst
b91c5a6327bd
498 B
text/prs.fallenstein.rst
comments: optimize notification creation
.append to the sqlalchemy collection is apparently expensive. Setting the
reference the other way around is much faster. Adding a notification for a
single user goes from 0.25 s to 0.001 s.
On a slow repo and a pullrequest with 14 reviewers, adding a comment goes from
8.5 s to 0.8 s.
.append to the sqlalchemy collection is apparently expensive. Setting the
reference the other way around is much faster. Adding a notification for a
single user goes from 0.25 s to 0.001 s.
On a slow repo and a pullrequest with 14 reviewers, adding a comment goes from
8.5 s to 0.8 s.