go-ethereum/core/txpool/blobpool
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
..
blobpool.go all: fix issues with benchmarks (#30667) 2024-11-04 15:10:12 +01:00
blobpool_test.go all: fix issues with benchmarks (#30667) 2024-11-04 15:10:12 +01:00
config.go core/txpool/blobpool: reduce default database cap for rollout (#29090) 2024-02-26 14:27:56 +02:00
evictheap.go core/txpool/blobpool: improve newPriceHeap function (#30050) 2024-06-28 15:51:27 +02:00
evictheap_test.go all: fix issues with benchmarks (#30667) 2024-11-04 15:10:12 +01:00
interface.go core/txpool/blobpool: 4844 blob transaction pool (#26940) 2023-07-27 13:45:35 +03:00
limbo.go core/txpool: repair the limbo Billy too on unclean shutdowns (#29451) 2024-04-04 16:51:10 +03:00
lookup.go beacon/engine, core/txpool, eth/catalyst: add engine_getBlobsV1 API (#30537) 2024-10-17 19:27:35 +03:00
metrics.go core/txpool/blobpool: post-crash cleanup and addition/removal metrics (#28914) 2024-02-02 18:26:35 +02:00
priority.go core/txpool/blobpool: calculate log1.125 faster (#29300) 2024-03-20 14:51:05 +01:00
priority_test.go core/txpool: fix typo (#29031) 2024-02-20 12:08:56 +02:00
slotter.go core/txpool/blobpool: 4844 blob transaction pool (#26940) 2023-07-27 13:45:35 +03:00
slotter_test.go params: update 4844 parameters (#28026) 2023-09-05 04:49:51 -04:00