openethereum/ethcore/snapshot
David eb565a7e2b
Add a benchmark for snapshot::account::to_fat_rlps() (#11185)
* Add a benchmark for snapshot::account::to_fat_rlps()

`to_fat_rlps()` is a hot call during snapshots. I don't think it has a perf problem per se, but better to have benchmark for it.

The data used is a piece of Ropsten data sized to the ~95% percentile of account size on that network.

* Benchmark with more chunks, including mainnet data

* whitespace

* Move `used_code` inside the benchmark iteration

* Revert "Move `used_code` inside the benchmark iteration"

This reverts commit cff33ab30acbd1c009e745f646f1cc655ee01d8c.
2019-11-15 12:27:24 +01:00
..
benches Add a benchmark for snapshot::account::to_fat_rlps() (#11185) 2019-11-15 12:27:24 +01:00
snapshot-tests Use a lock instead of atomics for snapshot Progress (#11197) 2019-10-28 18:24:45 +01:00
src Snapshot restoration overhaul (#11219) 2019-10-31 16:07:21 +01:00
Cargo.toml Add a benchmark for snapshot::account::to_fat_rlps() (#11185) 2019-11-15 12:27:24 +01:00