go-ethereum/log
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
..
format.go log: remove unused parameter (#30432) 2024-10-08 13:30:07 +02:00
format_test.go slog: faster and less memory-consumption (#28621) 2023-12-01 13:28:20 +01:00
handler.go all: fix inconsistent receiver name and add lint rule for it (#29974) 2024-06-12 10:45:42 +03:00
handler_glog.go log: fix some functions comments (#29907) 2024-06-17 11:03:27 +02:00
logger.go log: fix some functions comments (#29907) 2024-06-17 11:03:27 +02:00
logger_test.go all: fix issues with benchmarks (#30667) 2024-11-04 15:10:12 +01:00
root.go log: use native log/slog instead of golang/exp (#29302) 2024-03-22 13:17:59 +01:00