github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/iavl/benchmarks/cosmos-exim/README.md (about)

     1  # cosmos-exim
     2  
     3  A small utility to benchmark export/import of Cosmos Hub IAVL stores. These stores can be downloaded e.g. from [chainlayer.io](https://www.chainlayer.io). Example usage:
     4  
     5  ```sh
     6  $ go run benchmarks/cosmos-exim/main.go ../cosmoshub-3/data
     7  Exporting cosmoshub database at version 870068
     8  
     9  acc          : 67131 nodes (33566 leaves) in 676ms with size 3 MB
    10  distribution : 66509 nodes (33255 leaves) in 804ms with size 3 MB
    11  evidence     : 0 nodes (0 leaves) in 0s with size 0 MB
    12  god          : 0 nodes (0 leaves) in 0s with size 0 MB
    13  main         : 1 nodes (1 leaves) in 0s with size 0 MB
    14  mint         : 1 nodes (1 leaves) in 0s with size 0 MB
    15  params       : 59 nodes (30 leaves) in 0s with size 0 MB
    16  slashing     : 1128139 nodes (564070 leaves) in 17.423s with size 41 MB
    17  staking      : 44573 nodes (22287 leaves) in 433ms with size 3 MB
    18  supply       : 1 nodes (1 leaves) in 0s with size 0 MB
    19  upgrade      : 0 nodes (0 leaves) in 0s with size 0 MB
    20  
    21  Exported 11 stores with 1306414 nodes (653211 leaves) in 19.336s with size 52 MB
    22  
    23  Importing into new LevelDB stores
    24  
    25  acc         : 67131 nodes (33566 leaves) in 259ms with size 3 MB
    26  distribution: 66509 nodes (33255 leaves) in 238ms with size 3 MB
    27  evidence    : 0 nodes (0 leaves) in 19ms with size 0 MB
    28  god         : 0 nodes (0 leaves) in 40ms with size 0 MB
    29  main        : 1 nodes (1 leaves) in 22ms with size 0 MB
    30  mint        : 1 nodes (1 leaves) in 26ms with size 0 MB
    31  params      : 59 nodes (30 leaves) in 26ms with size 0 MB
    32  slashing    : 1128139 nodes (564070 leaves) in 5.213s with size 41 MB
    33  staking     : 44573 nodes (22287 leaves) in 173ms with size 3 MB
    34  supply      : 1 nodes (1 leaves) in 25ms with size 0 MB
    35  upgrade     : 0 nodes (0 leaves) in 26ms with size 0 MB
    36  
    37  Imported 11 stores with 1306414 nodes (653211 leaves) in 6.067s with size 52 MB
    38  ```