da17f2d65b
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> |
||
---|---|---|
.. | ||
blobpool.go | ||
blobpool_test.go | ||
config.go | ||
evictheap.go | ||
evictheap_test.go | ||
interface.go | ||
limbo.go | ||
lookup.go | ||
metrics.go | ||
priority.go | ||
priority_test.go | ||
slotter.go | ||
slotter_test.go |