starcoinorg / starcoin

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

Ghostdagdata rpc #4137

Closed sanlee42 closed 5 months ago

sanlee42 commented 5 months ago

Pull request type

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 5 months ago

Benchmark for 1c9ac4c

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | accumulator_append | 871.2±159.27µs | 995.0±250.70µs | +14.21% | | block_apply/block_apply_10 | 382.3±31.69ms | 372.1±15.20ms | -2.67% | | block_apply/block_apply_1000 | **41.4±2.26s** | 43.7±2.75s | **+5.56%** | | get_with_proof/db_store | 53.4±11.55µs | **48.6±4.23µs** | **-8.99%** | | get_with_proof/mem_store | **39.2±5.61µs** | 46.1±13.17µs | **+17.60%** | | put_and_commit/db_store/1 | **118.1±5.23µs** | 125.6±21.17µs | **+6.35%** | | put_and_commit/db_store/10 | 1119.3±132.13µs | 1130.8±188.04µs | +1.03% | | put_and_commit/db_store/100 | 10.1±0.95ms | 10.9±1.76ms | +7.92% | | put_and_commit/db_store/5 | 646.2±159.71µs | **553.9±66.83µs** | **-14.28%** | | put_and_commit/db_store/50 | 6.0±1.05ms | 5.5±0.85ms | -8.33% | | put_and_commit/mem_store/1 | 77.5±15.05µs | 74.2±7.62µs | -4.26% | | put_and_commit/mem_store/10 | 702.7±90.59µs | 673.4±52.33µs | -4.17% | | put_and_commit/mem_store/100 | 9.4±2.66ms | **7.3±1.35ms** | **-22.34%** | | put_and_commit/mem_store/5 | 366.8±73.96µs | 352.4±36.25µs | -3.93% | | put_and_commit/mem_store/50 | **3.4±0.35ms** | 4.5±1.43ms | **+32.35%** | | query_block/query_block_in(10)_times(100) | **4.6±0.18ms** | 4.9±0.47ms | **+6.52%** | | query_block/query_block_in(10)_times(1000) | **46.5±2.41ms** | 49.3±4.91ms | **+6.02%** | | query_block/query_block_in(10)_times(10000) | 472.8±40.15ms | 505.2±39.93ms | +6.85% | | query_block/query_block_in(1000)_times(100) | **1147.9±35.64µs** | 1375.2±188.76µs | **+19.80%** | | query_block/query_block_in(1000)_times(1000) | 12.8±2.76ms | 12.7±1.03ms | -0.78% | | query_block/query_block_in(1000)_times(10000) | **115.8±4.50ms** | 123.4±13.18ms | **+6.56%** | | storage_transaction | **1039.3±369.10µs** | 1432.3±651.30µs | **+37.81%** | | vm/transaction_execution/1 | **445.0±34.28ms** | 483.6±58.83ms | **+8.67%** | | vm/transaction_execution/10 | 185.0±46.46ms | **137.7±5.77ms** | **-25.57%** | | vm/transaction_execution/20 | 128.5±4.93ms | 132.5±6.27ms | +3.11% | | vm/transaction_execution/5 | 171.5±7.30ms | 175.2±16.80ms | +2.16% | | vm/transaction_execution/50 | 147.2±7.71ms | 143.1±7.58ms | -2.79% |