prysm-pulse/shared/aggregation
Victor Farazdagi c97ea766ca
Attestation aggregation: optimizations and benchmarks (#7938)
* profitablity tests

* cleanup benchmark

* fix deduplication function

* dedup: move method to atts list

* proper substring handling

* refactor validate method

* update benchmarks

* prepare proposer test

* remove redundant code

* reset test

* remove dedup from maxcover - moved to proposer

* remove redundant test

* remove lower level check for bit length

* optimize candidate validation on att aggregation

* restore test

* fix test

* fix test

* remove dedup functionality

* add benchmark

* optimize list usage

* Attestation aggregration: remove redundant dedup routine

* fix func call

* experiment with bitset based cover

* add benchmark

* samplem implementation using Bilist64

* add tests

* remove redundant code

* remove tmp comments

* unskip test

* update benchmarks

* gazelle

* process err

* optimized max-cover

* Max-cover: optimized implementation based on Bitlist64

* gazelle

* re-arrange overlaps check

* minor comments

* add Bitlists64WithMultipleBitSet

* update benchmarks

* gazelle

* add TestAggregateAttestations_rearrangeProcessedAttestations

* minor updates to rearrange method

* add link to design doc

* remove redundant methods

* simplify test

* add TestAggregateAttestations_aggregateAttestations

* fix issues

* fix assignment

* use ToBitlist(), ToBitlist64()

* fixes test

* benchmarks

* fix typo

* allow opt_max_cover opt-int flag

* update benchmarks

* reset e2e

* fix test

* enable opt_max_cover in e2e tests

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-02-04 00:58:33 +00:00
..
attestations Attestation aggregation: optimizations and benchmarks (#7938) 2021-02-04 00:58:33 +00:00
testing Max-cover: optimized implementation based on Bitlist64 (#8352) 2021-01-28 15:55:02 +00:00
aggregation.go Code quality issues - Remove unused code (#6864) 2020-08-05 13:59:46 +02:00
BUILD.bazel Max-cover: optimized implementation based on Bitlist64 (#8352) 2021-01-28 15:55:02 +00:00
maxcover_bench_test.go Max-cover: optimized implementation based on Bitlist64 (#8352) 2021-01-28 15:55:02 +00:00
maxcover_test.go Max-cover: optimized implementation based on Bitlist64 (#8352) 2021-01-28 15:55:02 +00:00
maxcover.go Max-cover: optimized implementation based on Bitlist64 (#8352) 2021-01-28 15:55:02 +00:00