prepareBeaconCommitteeSubnet performance bottleneck #2456
Labels
prio-high
Resolve issues as soon as possible.
scope-performance
Performance issue and ideas to improve performance.
Describe the bug
prepareBeaconCommitteeSubnet
takes too much potentially breaking the validator's workflow. In average it takes about 12 seconds but this snapshot it takes 4s. The cost comes fromcomputeSubnetForSlot()
Expected behavior
prepareBeaconCommitteeSubnet
should almost be free since that information should already be cached in the epoch context.The text was updated successfully, but these errors were encountered: