964417d8ba
We have a few tests that access `MockPubKeys`. Adding a cache provides a minor speedup, as repeated pubkey computations are avoided. 64 cache hits: EF - Capella - Unittests - Light client - Sync protocol 64 cache hits: EF - Altair - Unittests - Light client - Sync protocol 256 cache hits: EF - Capella - Unittests - Light client - Sync protocol 256 cache hits: EF - Altair - Unittests - Light client - Sync protocol 2297 cache hits: Attestation pool processing [Preset: mainnet] 512 cache hits: Beacon chain DB [Preset: mainnet] 32 cache hits: Block processor [Preset: mainnet] 1082 cache hits: Validator change pool testing suite 192 cache hits: Gossip validation [Preset: mainnet] 32 cache hits: Gossip validation - Extra 192 cache hits: Spec helpers 32 cache hits: Light client processor [Preset: mainnet] 96 cache hits: Light client [Preset: mainnet] 192 cache hits: Beacon state [Preset: mainnet] 37 cache hits: state diff tests [Preset: mainnet] 160 cache hits: Block pool processing [Preset: mainnet] 32 cache hits: Block pool altair processing [Preset: mainnet] 96 cache hits: chain DAG finalization tests [Preset: mainnet] 32 cache hits: Old database versions [Preset: mainnet] 64 cache hits: Diverging hardforks 96 cache hits: Backfill 32 cache hits: Starting states 32 cache hits: Latest valid hash [Preset: mainnet] 32 cache hits: Pruning 5912 cache hits total per `make -j test`. |
||
---|---|---|
.. | ||
mock_deposits.nim | ||
mock_genesis.nim |