mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-09 20:41:20 +00:00
c042afb4af
This implements batched state-test exectution, similar to https://github.com/ethereum/go-ethereum/pull/27318 . Some speedtests, executing a state-test twice on current master takes ~4-5 seconds, and scales linerarly. ``` Doing 2 execs old style real 0m8.185s user 0m8.081s sys 0m0.110s ``` Doing `100` executions on this PR -- a few seconds of ramp-up time, but very quick execution after that : ``` Doing 100 execs v2 real 0m5.009s user 0m4.560s sys 0m0.508s ``` I also tested a version where I moved the db instantiation into the top callsite, with the `MustOpen` and `.Close` only performed once, instead of `100` times -- however, I noticed no additional speed gains from doing so (my branch `batched_evm_v2`). Therefore, I suspect that the slowdowns comes not from the db, but the kzg library initialization. |
||
---|---|---|
.. | ||
abigen | ||
bootnode | ||
caplin-phase1 | ||
devnet | ||
downloader | ||
erigon | ||
erigon-el | ||
erigon-el-mock | ||
erigoncustom | ||
evm | ||
hack | ||
integration | ||
observer | ||
p2psim | ||
pics | ||
prometheus | ||
release | ||
rlpdump | ||
rpcdaemon | ||
rpctest | ||
sentinel | ||
sentry | ||
state | ||
txpool | ||
utils | ||
verkle |