go-ethereum/eth/tracers
Martin HS da17f2d65b
all: fix issues with benchmarks (#30667)
This PR fixes some issues with benchmarks

- [x] Removes log output from a log-test
- [x] Avoids a `nil`-defer in `triedb/pathdb`
- [x] Fixes some crashes re tracers
- [x] Refactors a very resource-expensive benchmark for blobpol.
**NOTE**: this rewrite touches live production code (a little bit), as
it makes the validator-function used by the blobpool configurable.
- [x] Switch some benches over to use pebble over leveldb
- [x] reduce mem overhead in the setup-phase of some tests
- [x] Marks some tests with a long setup-phase to be skipped if `-short`
is specified (where long is on the order of tens of seconds). Ideally,
in my opinion, one should be able to run with `-benchtime 10ms -short`
and sanity-check all tests very quickly.
- [x]  Drops some metrics-bechmark which times the speed of `copy`.

---------

Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2024-11-04 15:10:12 +01:00
..
internal all: fix issues with benchmarks (#30667) 2024-11-04 15:10:12 +01:00
js eth/tracers/js: avoid compiling js bigint when not needed (#30640) 2024-10-20 19:36:51 +03:00
live eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
logger core/state: move state log mechanism to a separate layer (#30569) 2024-10-23 08:03:36 +02:00
native eth/tracers: flatCallTracer error compatible with parity (#30497) 2024-11-01 09:51:06 +01:00
api.go core/state: move state log mechanism to a separate layer (#30569) 2024-10-23 08:03:36 +02:00
api_test.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
dir.go eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
live.go eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
tracers_test.go all: fix issues with benchmarks (#30667) 2024-11-04 15:10:12 +01:00
tracker.go eth/traces: add state limit (#25812) 2022-10-06 10:48:04 +02:00
tracker_test.go eth/traces: add state limit (#25812) 2022-10-06 10:48:04 +02:00