1
0

Cache event creation info and context

~1.3s to ~1.1s time savings by re-using some calculations
that will be the same for every event type in the batch

TODO: Find a way to make store_state_group_id_for_event_id batch persist
in the db which brings it down to about 0.8s
This commit is contained in:
Eric Eastwood
2022-01-19 17:42:02 -06:00
parent cc4eb72f2e
commit 491e91dd40
4 changed files with 68 additions and 17 deletions

View File

@@ -69,4 +69,4 @@ fi
# Run the tests!
echo "Images built; running complement"
go test -v -tags synapse_blacklist,msc2403,msc2716 -count=1 $EXTRA_COMPLEMENT_ARGS ./tests/...
go test -v -tags synapse_blacklist,msc2403,msc2716 -count=1 $EXTRA_COMPLEMENT_ARGS ./tests/