nimbus-eth2/tests/official
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
..
all_fixtures_require_ssz.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
fixtures_utils.nim speed up shuffling 2020-08-21 16:05:10 +03:00
test_fixture_bls.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_fixture_const_sanity_check.nim skip hotfixed DEPOSIT_CHAIN_ID/DEPOSIT_NETWORK_ID const checks (#1434) 2020-08-04 15:53:39 +00:00
test_fixture_operations_attestations.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
test_fixture_operations_attester_slashings.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
test_fixture_operations_block_header.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
test_fixture_operations_deposits.nim Merge devel and resolve the conflicts 2020-07-08 15:36:03 +03:00
test_fixture_operations_proposer_slashings.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
test_fixture_operations_voluntary_exit.nim use cache in process_voluntary_exit() (#1507) 2020-08-14 12:42:59 +00:00
test_fixture_rewards.nim fix get_unslashed_attesting_indices() and add official EF rewards tests for it (#1514) 2020-08-17 01:09:27 +00:00
test_fixture_sanity_blocks.nim add EF finality tests (#1515) 2020-08-17 07:19:48 +00:00
test_fixture_sanity_slots.nim state_transition implements the spec fairly directly (#1220) 2020-06-23 13:54:24 +00:00
test_fixture_ssz_consensus_objects.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
test_fixture_ssz_consensus_objects.nim.cfg Ssz fixes (#566) 2019-11-19 12:04:51 +01:00
test_fixture_ssz_generic_types.nim reorder ssz (#1099) 2020-06-03 15:52:02 +02:00
test_fixture_state_transition_epoch.nim fix get_unslashed_attesting_indices() and add official EF rewards tests for it (#1514) 2020-08-17 01:09:27 +00:00