nimbus-eth1/tests
Jacek Sieka d39c589ec3
lru cache updates (#2590)
* replace rocksdb row cache with larger rdb lru caches - these serve the
same purpose but are more efficient because they skips serialization,
locking and rocksdb layering
* don't append fresh items to cache - this has the effect of evicting
the existing items and replacing them with low-value entries that might
never be read - during write-heavy periods of processing, the
newly-added entries were evicted during the store loop
* allow tuning rdb lru size at runtime
* add (hidden) option to print lru stats at exit (replacing the
compile-time flag)

pre:
```
INF 2024-09-03 15:07:01.136+02:00 Imported blocks
blockNumber=20012001 blocks=12000 importedSlot=9216851 txs=1837042
mgas=181911.265 bps=11.675 tps=1870.397 mgps=176.819 avgBps=10.288
avgTps=1574.889 avgMGps=155.952 elapsed=19m26s458ms
```

post:
```
INF 2024-09-03 13:54:26.730+02:00 Imported blocks
blockNumber=20012001 blocks=12000 importedSlot=9216851 txs=1837042
mgas=181911.265 bps=11.637 tps=1864.384 mgps=176.250 avgBps=11.202
avgTps=1714.920 avgMGps=169.818 elapsed=17m51s211ms
```

9%:ish import perf improvement on similar mem usage :)
2024-09-05 11:18:32 +02:00
..
bootstrap config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00
customgenesis Enable test_accounts_cache (#2373) 2024-06-17 14:19:12 +02:00
db Added support for namespaces to RocksDb kvstore. (#2066) 2024-03-12 11:04:46 +08:00
fixtures Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
graphql Workaround for 0 gas price estimation (#2180) 2024-05-28 13:36:38 +07:00
keystore implement more eth rpc and keystore management 2020-07-23 14:54:32 +07:00
merge reenable testEngineAPI in test_merge 2022-03-17 12:54:04 +07:00
replay Cleanup (#2565) 2024-08-15 12:31:07 +00:00
test_aristo lru cache updates (#2590) 2024-09-05 11:18:32 +02:00
test_beacon Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
test_coredb Aristo lazily delete larger subtrees (#2560) 2024-08-14 08:54:44 +00:00
test_jwt_auth Enable JWT authentication for websockets (#1039) 2022-04-06 15:11:13 +01:00
test_txpool move db init to init (#2552) 2024-08-08 07:45:30 +02:00
all_tests.nim Cleanup unused exp_getProofsByBlockNumber endpoint (#2577) 2024-08-23 22:39:33 +08:00
all_tests_macro.nim Cache code and invalid jump destination tables (fixes #2268) (#2404) 2024-06-21 09:44:10 +02:00
asynctest.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
macro_assembler.nim move db init to init (#2552) 2024-08-08 07:45:30 +02:00
nim.cfg import: read from era files (#2254) 2024-05-31 09:13:56 +02:00
persistBlockTestGen.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_allowed_to_fail.nim ForkedChain implementation (#2405) 2024-06-26 07:27:48 +07:00
test_aristo.nim Cleanup (#2565) 2024-08-15 12:31:07 +00:00
test_block_fixture.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_blockchain_json.nim Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
test_config.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_configuration.nim Cleanup stateless and block witness code. (#2295) 2024-06-08 15:05:00 +07:00
test_coredb.nim Cleanup (#2565) 2024-08-15 12:31:07 +00:00
test_difficulty.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_eip4844.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_evm_support.nim odds and ends (#2481) 2024-07-13 20:42:49 +02:00
test_filters.nim Bump nim-web3 and others 2024-01-14 10:41:23 +07:00
test_forked_chain.nim move db init to init (#2552) 2024-08-08 07:45:30 +02:00
test_forkid.nim Fix sepolia chain config: mergeForkBlock -> 1450409 (#2518) 2024-07-24 03:07:55 +00:00
test_generalstate_json.nim t8n: enable reverse slot hash map (#2573) 2024-08-20 15:23:24 +02:00
test_genesis.nim No ext update (#2494) 2024-07-16 19:47:59 +00:00
test_getproof_json.nim Remove AccountStateDB (#2368) 2024-06-16 10:21:02 +07:00
test_graphql.nim move db init to init (#2552) 2024-08-08 07:45:30 +02:00
test_helpers.nim Cache code and invalid jump destination tables (fixes #2268) (#2404) 2024-06-21 09:44:10 +02:00
test_jwt_auth.nim enable JWT auth tests (#2312) 2024-06-07 09:01:45 +07:00
test_ledger.nim Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
test_merge.nim move db init to init (#2552) 2024-08-08 07:45:30 +02:00
test_multi_keys.nim Cleanup stateless and block witness code. (#2295) 2024-06-08 15:05:00 +07:00
test_op_arith.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_bit.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_custom.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_env.nim Optimize EVM stack usage (#2502) 2024-07-18 18:59:53 +07:00
test_op_memory.nim Fix CodeBytes: invalidPositions out of bound crash (#2523) 2024-07-25 19:23:53 +07:00
test_op_misc.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_persistblock_json.nim Consolidate block type for block processing (#2325) 2024-06-09 16:32:20 +02:00
test_precompiles.nim Reduce EVM complexity by removing forkOverride (#2448) 2024-07-04 15:48:36 +02:00
test_rpc.nim move db init to init (#2552) 2024-08-08 07:45:30 +02:00
test_tools_build.nim Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
test_tracer_json.nim Revive json tracer unit tests (#2538) 2024-08-01 10:41:20 +00:00
test_transaction_json.nim Fix lowest-hanging fruit in VM (#2382) 2024-06-18 07:55:35 +07:00
test_txpool.nim TxPool: Replace GasPrice and GasPriceEx with GasInt (#2537) 2024-07-31 14:33:30 +07:00
test_txpool2.nim Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
test_wire_protocol.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
tracerTestGen.nim Remove EVM indirect imports and unused EVM errors (#2370) 2024-06-17 09:56:39 +02:00