nimbus-eth2/tests/official
Jacek Sieka 07393c8de6
Ssz cache (#1084)
* wip: cache

* cache lists and arrays of complex objects (5x block processing speed
on ncli_db)

trivial baseline cache that stores tree in flat memory structure

* support array of uint64

* work around type issues

* more type compiler bug workarounds

* cache balances, more type fixes

* index type

* ncli_db: add validation flag, better ux

* int64 fixes

* test fix

* "oops"

```
647.913,        0.000,      647.913,      647.913,            1,
Initialize DB
0.540,        0.402,        0.340,        9.451,          619,
Load block from database
40.268,        0.000,       40.268,       40.268,            1,
Load state from database
0.498,        0.150,        0.343,        0.930,          596,
Apply block
3.548,       11.005,        0.729,       54.022,           23,
Apply epoch block
```

* support all basic types

* cleanups

* a few more cleanups
2020-06-03 07:57:17 +02:00
..
all_fixtures_require_ssz.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
fixtures_utils.nim Remove SszReader.maxObjectSize 2020-05-28 19:15:16 +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 skipped constant sanity checks also from markdown reports' perspectives (#1053) 2020-05-21 19:56:09 +02:00
test_fixture_operations_attestations.nim ssz: move ref support outside (#943) 2020-04-29 22:12:07 +02:00
test_fixture_operations_attester_slashings.nim ssz: move ref support outside (#943) 2020-04-29 22:12:07 +02:00
test_fixture_operations_block_header.nim ssz: move ref support outside (#943) 2020-04-29 22:12:07 +02:00
test_fixture_operations_deposits.nim ssz: move ref support outside (#943) 2020-04-29 22:12:07 +02:00
test_fixture_operations_proposer_slashings.nim ssz: move ref support outside (#943) 2020-04-29 22:12:07 +02:00
test_fixture_operations_voluntary_exit.nim ssz: move ref support outside (#943) 2020-04-29 22:12:07 +02:00
test_fixture_sanity_blocks.nim avoid stack allocations in some tests (#1079) 2020-05-28 10:28:14 +02:00
test_fixture_sanity_slots.nim avoid stack allocations in some tests (#1079) 2020-05-28 10:28:14 +02:00
test_fixture_shuffling.nim measure/find slow tests (#624) 2019-12-05 11:27:00 +01:00
test_fixture_ssz_consensus_objects.nim avoid stack allocations in some tests (#1079) 2020-05-28 10:28:14 +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 test fix 2020-06-01 18:01:46 +02:00
test_fixture_state_transition_epoch.nim use shuffled validator cache in more places; cleanups (#1095) 2020-06-03 07:42:08 +02:00