nimbus-eth2/tests
Jacek Sieka 61538fa581 speed up shuffling
Replace shuffling function with zrnt version - `get_shuffled_seq` in
particular puts more strain on the GC by allocating superfluous seq's
which turns out to have a significant impact on block processing (when
replaying blocks for example) - 4x improvement on non-epoch, 1.5x on
epoch blocks (replay is done without signature checking)

Medalla, first 10k slots - pre:

```
Loaded 68973 blocks, head slot 117077
All time are ms
Average,       StdDev,          Min,          Max,      Samples,
Test
Validation is turned off meaning that no BLS operations are performed
76855.848,        0.000,    76855.848,    76855.848,            1,
Initialize DB
1.073,        0.914,        0.071,       12.454,         7831,
Load block from database
31.382,        0.000,       31.382,       31.382,            1,
Load state from database
85.644,       30.350,        3.056,      466.136,         7519,
Apply block
506.569,       91.129,      130.654,      874.786,          312,
Apply epoch block
```

post:

```
Loaded 68973 blocks, head slot 117077
All time are ms
Average,       StdDev,          Min,          Max,      Samples,
Test
Validation is turned off meaning that no BLS operations are performed
72457.303,        0.000,    72457.303,    72457.303,            1,
Initialize DB
1.015,        0.858,        0.070,       11.231,         7831,
Load block from database
28.983,        0.000,       28.983,       28.983,            1,
Load state from database
21.725,       17.461,        2.659,      393.217,         7519,
Apply block
324.012,       33.954,       45.452,      440.532,          312,
Apply epoch block
```
2020-08-21 16:05:10 +03:00
..
fork_choice simplify fork choice code (#1521) 2020-08-18 16:56:32 +02:00
fuzzing Local sim now includes a prometheus server, a Ganache instance and a simulation dashboard server (in Tmux mode) 2020-06-22 17:30:04 +03:00
helpers Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
mocking Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
official speed up shuffling 2020-08-21 16:05:10 +03:00
simulation create local testnet mode for eth2_network (#1494) 2020-08-12 14:16:59 +00:00
spec_block_processing update 111 v0.12.1 beacon chain spec refs to v0.12.2 (#1380) 2020-07-27 18:49:46 +02:00
spec_epoch_processing spec cleanups (#1379) 2020-07-27 16:04:44 +00:00
all_tests.nim speed up shuffling 2020-08-21 16:05:10 +03:00
all_tests.nim.cfg Use only secp256k1 as identity in libp2p. (#1343) 2020-07-21 18:07:14 +02:00
test_attestation_pool.nim rework epoch cache referencing 2020-08-19 10:09:06 +03:00
test_beacon_chain_db.nim add state root test (#1466) 2020-08-07 22:17:24 +02:00
test_beacon_node.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_beaconstate.nim Prefer converting int` to uint64 and switch foo.len.uint64 to .len64 (#1375) 2020-07-26 20:55:48 +02:00
test_bitseqs.nim reorder ssz (#1099) 2020-06-03 15:52:02 +02:00
test_block_pool.nim rework epoch cache referencing 2020-08-19 10:09:06 +03:00
test_datatypes.nim Address review comments; Add a test 2020-07-12 21:01:31 +03:00
test_helpers.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_honest_validator.nim remove v0.11.3 support; add block_sim to CI (#1253) 2020-06-29 18:08:58 +00:00
test_interop.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
test_keystore.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
test_mainchain_monitor.nim bump submodules 2020-07-14 03:01:23 +02:00
test_mocking.nim refactor some Merkle proof generation code outside tests; remove unused variables/functions 2020-04-15 09:59:49 +00:00
test_peer_connection.nim more fork-choice fixes (#1388) 2020-07-30 17:48:25 +02:00
test_peer_pool.nim Use one single async queue and loop for processing blocks. (#1487) 2020-08-12 11:29:11 +02:00
test_ssz.nim Prefer converting int` to uint64 and switch foo.len.uint64 to .len64 (#1375) 2020-07-26 20:55:48 +02:00
test_state_transition.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
test_sync_manager.nim avoid double deserialization 2020-08-21 11:46:25 +03:00
test_sync_protocol.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_zero_signature.nim Revert "Lazy crypto [alt design #1369] (#1371)" (#1435) 2020-08-04 17:15:13 +00:00
testblockutil.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
testutil.nim renamed CandidateChains to ChainDagRef and made the Quarantine type a ref type so there is a single instance in the beacon node (#1407) 2020-07-31 14:49:06 +00:00