starcoinorg / starcoin

Starcoin - A Move smart contract blockchain network that scales by layering
Apache License 2.0
1.38k stars 289 forks source link

[FlexiDag] set HeaderWithBlockLevel block_level 1 and fix some typos #4103

Closed nkysg closed 6 months ago

nkysg commented 6 months ago

Pull request type

[FlexiDag] set HeaderWithBlockLevel block_level 1 and fix some typos

Please check the type of change your PR introduces:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

-

-

Other information

github-actions[bot] commented 6 months ago

Benchmark for 75eee56

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | accumulator_append | 784.4±111.32µs | 764.2±79.24µs | -2.58% | | block_apply/block_apply_10 | 378.6±26.71ms | **356.6±9.01ms** | **-5.81%** | | block_apply/block_apply_1000 | 39.6±1.02s | **38.1±1.27s** | **-3.79%** | | get_with_proof/db_store | 47.3±3.02µs | **45.2±1.10µs** | **-4.44%** | | get_with_proof/mem_store | 38.1±1.77µs | 37.0±1.30µs | -2.89% | | put_and_commit/db_store/1 | 118.3±8.01µs | 117.6±8.49µs | -0.59% | | put_and_commit/db_store/10 | 1078.0±99.22µs | 1073.3±89.57µs | -0.44% | | put_and_commit/db_store/100 | 9.9±0.51ms | 9.7±0.79ms | -2.02% | | put_and_commit/db_store/5 | 539.6±24.06µs | 530.5±53.89µs | -1.69% | | put_and_commit/db_store/50 | 5.2±0.42ms | **4.8±0.22ms** | **-7.69%** | | put_and_commit/mem_store/1 | 72.7±6.74µs | 73.3±7.91µs | +0.83% | | put_and_commit/mem_store/10 | **687.7±81.22µs** | 929.8±241.83µs | **+35.20%** | | put_and_commit/mem_store/100 | 6.9±1.23ms | 6.6±0.48ms | -4.35% | | put_and_commit/mem_store/5 | 386.9±122.28µs | **338.3±27.07µs** | **-12.56%** | | put_and_commit/mem_store/50 | 3.4±0.29ms | 3.4±0.34ms | 0.00% | | query_block/query_block_in(10)_times(100) | 4.8±0.42ms | **4.6±0.16ms** | **-4.17%** | | query_block/query_block_in(10)_times(1000) | 45.5±1.31ms | 46.8±2.26ms | +2.86% | | query_block/query_block_in(10)_times(10000) | 461.2±9.81ms | **452.5±7.76ms** | **-1.89%** | | query_block/query_block_in(1000)_times(100) | 1308.4±124.76µs | **1107.6±17.45µs** | **-15.35%** | | query_block/query_block_in(1000)_times(1000) | 13.5±1.12ms | **11.2±0.54ms** | **-17.04%** | | query_block/query_block_in(1000)_times(10000) | 135.6±13.42ms | **111.5±3.50ms** | **-17.77%** | | storage_transaction | 1123.6±477.49µs | 1121.0±466.12µs | -0.23% | | vm/transaction_execution/1 | 434.7±23.10ms | 428.9±22.38ms | -1.33% | | vm/transaction_execution/10 | 137.4±3.78ms | 134.3±4.60ms | -2.26% | | vm/transaction_execution/20 | 139.3±9.82ms | 132.1±14.78ms | -5.17% | | vm/transaction_execution/5 | 168.4±8.47ms | 163.8±6.87ms | -2.73% | | vm/transaction_execution/50 | 157.4±6.51ms | 150.9±12.55ms | -4.13% |