ProtocolKeyRegistration
creates performance bottleneck in aggregator
#1187
Labels
performances 🥇
Performances
Issue
During our stress test benchmarks of the aggregator, we have noticed that a bottleneck probably exists with the
ProtocolKeyRegistration
which is done for each new signature sent to the aggregator. Its creation is resource intensive and leads to quadratic computations. This could be easily fixed by memoizing theProtocolKeyRegistration
which is the same for all the signatures during an epochTo do
ProtocolMultiSigner
(orSignerBuilder
) for the current epochProtocolMultiSigner
in the multi signer functionsverify_single_signature
andcreate_multi_signature
500
signers in the aggregator has significantly droppedThe text was updated successfully, but these errors were encountered: