openethereum/ethcore/snapshot/benches
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
..
state-chunk-5279-0x2032dfb6ad93f1928dac70627a8767d2232568a1a7bf1c91ea416988000f8275.rlp Add a benchmark for snapshot::account::to_fat_rlps() (#11185) 2019-11-15 12:27:24 +01:00
state-chunk-5905-0x104ff12a3fda9e0cb1aeef41fe7092982134eb116292c0eec725c32a815ef0ea.rlp Add a benchmark for snapshot::account::to_fat_rlps() (#11185) 2019-11-15 12:27:24 +01:00
state-chunk-6341-0x3042ea62f982fd0cea02847ff0fd103a0beef3bb19389f5e77113c3ea355f803.rlp Add a benchmark for snapshot::account::to_fat_rlps() (#11185) 2019-11-15 12:27:24 +01:00
state-chunk-6720-0x2075481dccdc2c4419112bfea2d09219a7223614656722a1a05a930baf2b0dd7.rlp Add a benchmark for snapshot::account::to_fat_rlps() (#11185) 2019-11-15 12:27:24 +01:00
state-chunk-6933-0x104102770901b53230e78cfc8f6edce282eb21bfa00aa1c3543c79cb3402cf2d.rlp Add a benchmark for snapshot::account::to_fat_rlps() (#11185) 2019-11-15 12:27:24 +01:00
to_fat_rlps.rs Add a benchmark for snapshot::account::to_fat_rlps() (#11185) 2019-11-15 12:27:24 +01:00