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
fuzzing
helpers
mocking
official speed up shuffling 2020-08-21 16:05:10 +03:00
simulation
spec_block_processing
spec_epoch_processing
all_tests.nim speed up shuffling 2020-08-21 16:05:10 +03:00
all_tests.nim.cfg
test_attestation_pool.nim
test_beacon_chain_db.nim
test_beacon_node.nim
test_beaconstate.nim
test_bitseqs.nim
test_block_pool.nim
test_datatypes.nim
test_helpers.nim
test_honest_validator.nim
test_interop.nim
test_keystore.nim
test_mainchain_monitor.nim
test_mocking.nim
test_peer_connection.nim
test_peer_pool.nim
test_ssz.nim
test_state_transition.nim
test_sync_manager.nim
test_sync_protocol.nim
test_zero_signature.nim
testblockutil.nim
testutil.nim