forked from forks/go-ethereum
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> |
||
|---|---|---|
| .. | ||
| buffer.go | ||
| database.go | ||
| database_test.go | ||
| difflayer.go | ||
| difflayer_test.go | ||
| disklayer.go | ||
| errors.go | ||
| execute.go | ||
| flush.go | ||
| history.go | ||
| history_inspect.go | ||
| history_test.go | ||
| journal.go | ||
| layertree.go | ||
| metrics.go | ||
| nodes.go | ||
| reader.go | ||
| states.go | ||