You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
This is a hot path that reads data from the committee KVStore for each block - we should add a cache at some level. Maybe we should have a committee cache in SeatManager and clear it whenever SybilProtection.Reset() is called? Not necessarily as part of this PR, but then we should create an issue for that.
The extend of this can be easily seen when running a test with a big committee: almost 2/3 of the entire runtime is spent loading the committee.
Steps to reproduce:
go test -run=TestBigCommittee -tags rocksdb,dockertests -v -failfast=true -count=1 -cpuprofile big-committee.profile.out
go tool pprof -http=:8181 big-committee.profile.out
Originally posted by @piotrm50 in #673 (comment)
Might also be an issue in other places
The text was updated successfully, but these errors were encountered: