openethereum/ethcore
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
..
account-db Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
account-state Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
benches Fix ethcore/benches build. (#10964) 2019-08-13 15:27:28 +02:00
block-reward Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
blockchain Crypto primitives removed from ethkey (#11174) 2019-10-23 13:03:46 +02:00
builtin Fix misc compile warnings (#11258) 2019-11-14 00:01:21 +01:00
call-contract Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
client-traits Make InstantSeal Instant again (#11186) 2019-11-10 11:41:31 +01:00
db Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
engine Make InstantSeal Instant again (#11186) 2019-11-10 11:41:31 +01:00
engines Make InstantSeal Instant again (#11186) 2019-11-10 11:41:31 +01:00
evm Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
executive-state Crypto primitives removed from ethkey (#11174) 2019-10-23 13:03:46 +02:00
light Make InstantSeal Instant again (#11186) 2019-11-10 11:41:31 +01:00
machine Fix misc compile warnings (#11258) 2019-11-14 00:01:21 +01:00
node-filter Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
pod Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
private-tx Crypto primitives removed from ethkey (#11174) 2019-10-23 13:03:46 +02:00
res update ropsten forkCanonHash, forkBlock (#11247) 2019-11-11 12:38:32 +01:00
service Pause pruning while snapshotting (#11178) 2019-10-24 16:46:32 +02:00
snapshot Add a benchmark for snapshot::account::to_fat_rlps() (#11185) 2019-11-15 12:27:24 +01:00
spec ethcore/res: add mordor testnet configuration (#11200) 2019-11-02 12:26:38 +01:00
src Fix misc compile warnings (#11258) 2019-11-14 00:01:21 +01:00
state-db Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
sync Snapshot restoration overhaul (#11219) 2019-10-31 16:07:21 +01:00
trace Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
trie-vm-factories Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
types Snapshot restoration overhaul (#11219) 2019-10-31 16:07:21 +01:00
verification simplify verification (#11249) 2019-11-12 15:05:49 +01:00
vm Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
wasm Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
Cargo.toml Pause pruning while snapshotting (#11178) 2019-10-24 16:46:32 +02:00