validateSignature 19ms per call / 80 seconds spent in total
get deviceKeyChain should be cached - 67ms per call / 700ms spent in total
message selector is slow if there's even a single waiting halo message in candidates - as an optimization we should try verifying echo messages first and then the halo ones.
Invitation profiling
Wait time between redeeming an invitation and first feed starting replication - 20 seconds
Note: the browser window for the new member should be a separate browser context: either a different profile from all other members or a new incognito window
I’ve noticed that HALO might be causing long startup times in teamwork each HALO message takes 150-300ms to process
Profiles:
Startup from snapshot: Profile-20201102T134100.json.zip
Joining party: invitation.json.zip
Slow functions
validateSignature
19ms per call / 80 seconds spent in totalget deviceKeyChain
should be cached - 67ms per call / 700ms spent in totalmessage selector is slow if there's even a single waiting halo message in candidates - as an optimization we should try verifying echo messages first and then the halo ones.
Invitation profiling
Wait time between redeeming an invitation and first feed starting replication - 20 seconds