This PR makes the necessary adjustments to deal with the revamped snappy API. In practical terms for nimbus-eth2, there are performance increases to gossip processing, database reading and writing as well as era file processing. Exporting `.era` files for example, a snappy-heavy operation, almost halves in total processing time: Pre: ``` Average, StdDev, Min, Max, Samples, Test 39.088, 8.735, 23.619, 53.301, 50, tState 237.079, 46.692, 165.620, 355.481, 49, tBlocks ``` Post: ``` All time are ms Average, StdDev, Min, Max, Samples, Test 25.350, 5.303, 15.351, 41.856, 50, tState 141.238, 24.164, 99.990, 199.329, 49, tBlocks ``` |
||
---|---|---|
.. | ||
consensus_spec | ||
fork_choice | ||
fuzzing | ||
helpers | ||
mocking | ||
simulation | ||
slashing_protection | ||
spec_block_processing | ||
spec_epoch_processing | ||
all_tests.nim | ||
nim.cfg | ||
test_action_tracker.nim | ||
test_attestation_pool.nim | ||
test_beacon_chain_db.nim | ||
test_beacon_time.nim | ||
test_block_dag.nim | ||
test_block_processor.nim | ||
test_block_quarantine.nim | ||
test_blockchain_dag.nim | ||
test_datatypes.nim | ||
test_discovery.nim | ||
test_engine_authentication.nim | ||
test_eth1_monitor.nim | ||
test_eth2_ssz_serialization.nim | ||
test_exit_pool.nim | ||
test_forks.nim | ||
test_gossip_transition.nim | ||
test_gossip_validation.nim | ||
test_helpers.nim | ||
test_honest_validator.nim | ||
test_interop.nim | ||
test_keymanager_api.nim | ||
test_keystore.nim | ||
test_keystore_management.nim | ||
test_light_client.nim | ||
test_light_client_processor.nim | ||
test_message_signatures.nim | ||
test_peer_pool.nim | ||
test_spec.nim | ||
test_statediff.nim | ||
test_sync_committee_pool.nim | ||
test_sync_manager.nim | ||
test_zero_signature.nim | ||
testblockutil.nim | ||
testdbutil.nim | ||
teststateutil.nim | ||
testutil.nim |