Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge statedb flush #3323

Merged
merged 14 commits into from
Apr 14, 2022
Merged

Merge statedb flush #3323

merged 14 commits into from
Apr 14, 2022

Conversation

nkysg
Copy link
Collaborator

@nkysg nkysg commented Apr 8, 2022

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

merge transactions of block flush, improve performance

Other information

@nkysg nkysg marked this pull request as draft April 8, 2022 10:43
@nkysg nkysg marked this pull request as ready for review April 8, 2022 16:11
@nkysg nkysg requested a review from jolestar April 8, 2022 16:12
@codecov
Copy link

codecov bot commented Apr 8, 2022

Codecov Report

Merging #3323 (2e985a6) into master (78db4c7) will increase coverage by 0.02%.
The diff coverage is 10.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3323      +/-   ##
==========================================
+ Coverage   32.18%   32.19%   +0.02%     
==========================================
  Files         500      500              
  Lines       46785    46876      +91     
  Branches    21228    21321      +93     
==========================================
+ Hits        15054    15089      +35     
- Misses      17676    17787     +111     
+ Partials    14055    14000      -55     
Flag Coverage Δ
unittests 32.19% <10.12%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
contrib-contracts/src/starcoin_merkle_test.rs 15.16% <ø> (ø)
executor/src/block_executor.rs 46.67% <ø> (+14.76%) ⬆️
state/state-tree/src/state_tree_test.rs 12.00% <2.92%> (-3.11%) ⬇️
state/state-tree/src/state_tree.rs 49.78% <41.94%> (-5.39%) ⬇️
vm/natives/src/vector.rs 16.67% <0.00%> (-12.50%) ⬇️
vm/types/src/language_storage_ext.rs 37.50% <0.00%> (-12.50%) ⬇️
vm/types/src/on_chain_config/vm_config.rs 35.00% <0.00%> (-11.66%) ⬇️
...ccount_config/resources/module_upgrade_strategy.rs 34.29% <0.00%> (-8.57%) ⬇️
abi/decoder/src/lib.rs 1.58% <0.00%> (-7.87%) ⬇️
rpc/api/src/contract_api.rs 11.77% <0.00%> (-5.88%) ⬇️
... and 81 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78db4c7...2e985a6. Read the comment docs.

@github-actions
Copy link

github-actions bot commented Apr 8, 2022

Benchmark for 20471be

Click to view benchmark
Test Base PR %
accumulator_append 591.7±14.46µs 591.3±9.56µs -0.07%
block_apply/block_apply_10 265.6±0.89ms 266.3±0.87ms +0.26%
block_apply/block_apply_1000 27.3±0.01s 27.2±0.04s -0.37%
get_with_proof/db_store 36.0±0.66µs 35.8±0.40µs -0.56%
get_with_proof/mem_store 31.0±0.49µs 30.9±0.23µs -0.32%
put_and_commit/db_store/1 94.0±4.82µs 95.4±4.84µs +1.49%
put_and_commit/db_store/10 844.4±38.73µs 860.6±40.84µs +1.92%
put_and_commit/db_store/100 7.3±0.31ms 7.4±0.34ms +1.37%
put_and_commit/db_store/5 433.7±21.33µs 441.6±22.60µs +1.82%
put_and_commit/db_store/50 3.8±0.19ms 3.9±0.16ms +2.63%
put_and_commit/mem_store/1 61.0±5.43µs 62.4±5.60µs +2.30%
put_and_commit/mem_store/10 567.8±45.76µs 582.6±48.15µs +2.61%
put_and_commit/mem_store/100 5.5±0.33ms 5.7±0.81ms +3.64%
put_and_commit/mem_store/5 286.5±23.72µs 293.4±23.89µs +2.41%
put_and_commit/mem_store/50 2.8±0.09ms 2.9±0.18ms +3.57%
query_block/query_block_in(10)_times(100) 3.9±0.11ms 3.9±0.11ms 0.00%
query_block/query_block_in(10)_times(1000) 39.0±0.69ms 38.7±1.27ms -0.77%
query_block/query_block_in(10)_times(10000) 383.1±6.95ms 386.8±6.35ms +0.97%
query_block/query_block_in(1000)_times(100) 957.2±8.71µs 972.4±6.23µs +1.59%
query_block/query_block_in(1000)_times(1000) 9.5±0.09ms 9.7±0.06ms +2.11%
query_block/query_block_in(1000)_times(10000) 96.0±0.70ms 96.5±0.50ms +0.52%
storage_transaction 1039.3±274.74µs 1062.1±279.00µs +2.19%
vm/transaction_execution/1 318.3±0.36ms 315.9±0.86ms -0.75%
vm/transaction_execution/10 99.7±0.33ms 100.2±0.33ms +0.50%
vm/transaction_execution/20 91.7±0.34ms 94.3±1.46ms +2.84%
vm/transaction_execution/5 122.1±0.23ms 122.0±0.86ms -0.08%
vm/transaction_execution/50 103.5±0.26ms 110.6±0.44ms +6.86%

@github-actions
Copy link

github-actions bot commented Apr 8, 2022

Benchmark for 20471be

Click to view benchmark
Test Base PR %
accumulator_append 588.6±10.72µs 584.5±9.70µs -0.70%
block_apply/block_apply_10 266.8±0.55ms 266.5±1.31ms -0.11%
block_apply/block_apply_1000 27.2±0.02s 27.0±0.04s -0.74%
get_with_proof/db_store 36.1±0.32µs 36.3±0.53µs +0.55%
get_with_proof/mem_store 31.3±0.24µs 31.6±0.27µs +0.96%
put_and_commit/db_store/1 94.1±4.74µs 95.7±4.98µs +1.70%
put_and_commit/db_store/10 849.3±38.43µs 853.4±41.11µs +0.48%
put_and_commit/db_store/100 7.3±0.34ms 7.4±0.31ms +1.37%
put_and_commit/db_store/5 431.8±21.70µs 439.1±22.45µs +1.69%
put_and_commit/db_store/50 3.8±0.18ms 3.8±0.16ms 0.00%
put_and_commit/mem_store/1 61.1±5.52µs 61.8±5.53µs +1.15%
put_and_commit/mem_store/10 568.8±46.40µs 578.9±45.33µs +1.78%
put_and_commit/mem_store/100 5.6±0.81ms 5.7±0.81ms +1.79%
put_and_commit/mem_store/5 287.3±24.04µs 295.5±24.48µs +2.85%
put_and_commit/mem_store/50 2.8±0.18ms 2.9±0.18ms +3.57%
query_block/query_block_in(10)_times(100) 3.8±0.08ms 3.8±0.09ms 0.00%
query_block/query_block_in(10)_times(1000) 39.1±1.23ms 39.5±1.22ms +1.02%
query_block/query_block_in(10)_times(10000) 387.2±8.59ms 389.7±4.99ms +0.65%
query_block/query_block_in(1000)_times(100) 959.5±8.34µs 977.3±5.24µs +1.86%
query_block/query_block_in(1000)_times(1000) 9.6±0.07ms 9.9±0.19ms +3.13%
query_block/query_block_in(1000)_times(10000) 96.5±1.05ms 98.1±0.88ms +1.66%
storage_transaction 1035.1±275.40µs 1048.3±253.22µs +1.28%
vm/transaction_execution/1 317.4±5.23ms 317.0±1.65ms -0.13%
vm/transaction_execution/10 98.7±0.28ms 100.5±0.60ms +1.82%
vm/transaction_execution/20 90.8±0.27ms 94.5±0.94ms +4.07%
vm/transaction_execution/5 120.9±0.39ms 122.2±0.95ms +1.08%
vm/transaction_execution/50 102.5±0.28ms 110.7±0.35ms +8.00%

state/state-tree/src/state_tree.rs Show resolved Hide resolved
state/state-tree/src/state_tree.rs Outdated Show resolved Hide resolved
@jolestar
Copy link
Member

jolestar commented Apr 9, 2022

https://github.com/starcoinorg/starcoin/pull/3323/files#diff-98099f525996855021a842f07a8cbcfe493e86adf17b7dd7d9bd11dcf3ac4977R287-R289

这几行方法应该是当初也想过保留多个 change set 遗留的,可以考虑做一下清理了。

@github-actions
Copy link

github-actions bot commented Apr 9, 2022

Benchmark for 413d366

Click to view benchmark
Test Base PR %
accumulator_append 586.8±8.61µs 593.1±15.47µs +1.07%
block_apply/block_apply_10 266.5±0.36ms 269.3±1.17ms +1.05%
block_apply/block_apply_1000 27.2±0.02s 27.4±0.03s +0.74%
get_with_proof/db_store 35.8±0.39µs 36.0±0.37µs +0.56%
get_with_proof/mem_store 30.9±0.29µs 31.5±0.29µs +1.94%
put_and_commit/db_store/1 94.5±4.73µs 95.3±4.73µs +0.85%
put_and_commit/db_store/10 841.2±39.94µs 861.2±39.72µs +2.38%
put_and_commit/db_store/100 7.3±0.32ms 7.4±0.31ms +1.37%
put_and_commit/db_store/5 433.3±21.19µs 442.2±21.35µs +2.05%
put_and_commit/db_store/50 3.8±0.16ms 3.8±0.16ms 0.00%
put_and_commit/mem_store/1 61.0±5.44µs 62.2±5.49µs +1.97%
put_and_commit/mem_store/10 571.0±45.26µs 581.7±45.94µs +1.87%
put_and_commit/mem_store/100 5.6±0.82ms 5.8±0.81ms +3.57%
put_and_commit/mem_store/5 289.7±23.38µs 295.6±24.84µs +2.04%
put_and_commit/mem_store/50 2.8±0.18ms 2.9±0.18ms +3.57%
query_block/query_block_in(10)_times(100) 3.9±0.11ms 3.8±0.10ms -2.56%
query_block/query_block_in(10)_times(1000) 38.4±0.85ms 38.5±0.92ms +0.26%
query_block/query_block_in(10)_times(10000) 385.3±7.99ms 385.3±6.68ms 0.00%
query_block/query_block_in(1000)_times(100) 945.5±8.40µs 974.6±9.81µs +3.08%
query_block/query_block_in(1000)_times(1000) 9.4±0.08ms 9.7±0.13ms +3.19%
query_block/query_block_in(1000)_times(10000) 94.0±0.74ms 96.3±0.96ms +2.45%
storage_transaction 1063.2±267.87µs 1060.3±287.30µs -0.27%
vm/transaction_execution/1 317.6±4.63ms 317.2±1.43ms -0.13%
vm/transaction_execution/10 98.8±0.59ms 100.7±0.63ms +1.92%
vm/transaction_execution/20 91.3±0.82ms 94.0±0.72ms +2.96%
vm/transaction_execution/5 121.0±0.36ms 122.6±0.85ms +1.32%
vm/transaction_execution/50 102.7±0.35ms 109.4±0.72ms +6.52%

@nkysg nkysg requested a review from nanne007 April 11, 2022 01:45
@nkysg
Copy link
Collaborator Author

nkysg commented Apr 11, 2022

https://github.com/starcoinorg/starcoin/pull/3323/files#diff-98099f525996855021a842f07a8cbcfe493e86adf17b7dd7d9bd11dcf3ac4977R287-R289

这几行方法应该是当初也想过保留多个 change set 遗留的,可以考虑做一下清理了。

https://github.com/starcoinorg/starcoin/pull/3323/files#diff-98099f525996855021a842f07a8cbcfe493e86adf17b7dd7d9bd11dcf3ac4977R287-R289

这几行方法应该是当初也想过保留多个 change set 遗留的,可以考虑做一下清理了。

OK

@github-actions
Copy link

Benchmark for 460ef73

Click to view benchmark
Test Base PR %
accumulator_append 591.2±12.76µs 589.7±10.87µs -0.25%
block_apply/block_apply_10 266.5±0.82ms 266.2±0.70ms -0.11%
block_apply/block_apply_1000 27.1±0.02s 27.1±0.03s 0.00%
get_with_proof/db_store 35.6±0.33µs 36.1±0.32µs +1.40%
get_with_proof/mem_store 31.0±0.27µs 31.4±0.25µs +1.29%
put_and_commit/db_store/1 94.2±4.92µs 95.7±4.60µs +1.59%
put_and_commit/db_store/10 851.1±42.33µs 856.2±43.37µs +0.60%
put_and_commit/db_store/100 7.3±0.29ms 7.3±0.34ms 0.00%
put_and_commit/db_store/5 430.6±21.86µs 434.7±21.24µs +0.95%
put_and_commit/db_store/50 3.8±0.17ms 3.8±0.16ms 0.00%
put_and_commit/mem_store/1 60.9±5.52µs 61.6±5.58µs +1.15%
put_and_commit/mem_store/10 571.2±45.96µs 572.3±46.25µs +0.19%
put_and_commit/mem_store/100 5.6±0.82ms 5.6±0.82ms 0.00%
put_and_commit/mem_store/5 288.7±24.39µs 290.9±24.05µs +0.76%
put_and_commit/mem_store/50 2.8±0.18ms 2.8±0.18ms 0.00%
query_block/query_block_in(10)_times(100) 3.8±0.13ms 3.8±0.10ms 0.00%
query_block/query_block_in(10)_times(1000) 39.0±0.89ms 38.8±1.18ms -0.51%
query_block/query_block_in(10)_times(10000) 385.5±4.25ms 387.0±7.51ms +0.39%
query_block/query_block_in(1000)_times(100) 950.9±9.59µs 957.7±10.17µs +0.72%
query_block/query_block_in(1000)_times(1000) 9.5±0.08ms 9.6±0.11ms +1.05%
query_block/query_block_in(1000)_times(10000) 95.2±0.50ms 95.5±0.85ms +0.32%
storage_transaction 1034.8±275.07µs 1036.1±276.49µs +0.13%
vm/transaction_execution/1 314.5±0.89ms 313.6±0.63ms -0.29%
vm/transaction_execution/10 98.8±0.57ms 99.1±0.24ms +0.30%
vm/transaction_execution/20 90.9±0.41ms 92.3±0.99ms +1.54%
vm/transaction_execution/5 120.9±0.65ms 121.0±0.56ms +0.08%
vm/transaction_execution/50 102.8±1.14ms 106.6±0.39ms +3.70%

@github-actions
Copy link

Benchmark for 006ce06

Click to view benchmark
Test Base PR %
accumulator_append 590.4±11.12µs 587.5±10.88µs -0.49%
block_apply/block_apply_10 266.4±0.68ms 266.7±0.82ms +0.11%
block_apply/block_apply_1000 27.3±0.02s 27.4±0.03s +0.37%
get_with_proof/db_store 35.8±0.40µs 36.3±0.32µs +1.40%
get_with_proof/mem_store 30.9±0.25µs 31.0±0.47µs +0.32%
put_and_commit/db_store/1 95.7±4.62µs 94.4±4.50µs -1.36%
put_and_commit/db_store/10 850.3±40.46µs 847.6±36.21µs -0.32%
put_and_commit/db_store/100 7.3±0.31ms 7.2±0.31ms -1.37%
put_and_commit/db_store/5 437.1±21.88µs 430.6±21.57µs -1.49%
put_and_commit/db_store/50 3.8±0.16ms 3.8±0.16ms 0.00%
put_and_commit/mem_store/1 62.0±5.48µs 60.8±5.48µs -1.94%
put_and_commit/mem_store/10 578.3±45.86µs 566.8±45.93µs -1.99%
put_and_commit/mem_store/100 5.7±0.79ms 5.6±0.34ms -1.75%
put_and_commit/mem_store/5 292.2±23.65µs 285.9±24.52µs -2.16%
put_and_commit/mem_store/50 2.8±0.18ms 2.8±0.09ms 0.00%
query_block/query_block_in(10)_times(100) 3.9±0.09ms 3.8±0.06ms -2.56%
query_block/query_block_in(10)_times(1000) 39.0±0.72ms 38.7±0.92ms -0.77%
query_block/query_block_in(10)_times(10000) 389.2±8.68ms 388.0±6.82ms -0.31%
query_block/query_block_in(1000)_times(100) 945.1±11.99µs 941.3±4.69µs -0.40%
query_block/query_block_in(1000)_times(1000) 9.4±0.04ms 9.4±0.05ms 0.00%
query_block/query_block_in(1000)_times(10000) 94.3±0.70ms 93.7±0.72ms -0.64%
storage_transaction 1054.2±331.07µs 1062.0±281.73µs +0.74%
vm/transaction_execution/1 315.4±1.00ms 315.6±2.56ms +0.06%
vm/transaction_execution/10 99.6±2.35ms 99.3±0.60ms -0.30%
vm/transaction_execution/20 90.9±0.47ms 92.4±0.54ms +1.65%
vm/transaction_execution/5 120.9±0.32ms 121.2±1.54ms +0.25%
vm/transaction_execution/50 102.8±0.53ms 106.7±1.07ms +3.79%

Copy link
Member

@jolestar jolestar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need more test case for change set.

@nkysg nkysg force-pushed the merge_statedb_flush branch from 4580b24 to eae6d0d Compare April 12, 2022 06:53
@github-actions
Copy link

Benchmark for 3185f9b

Click to view benchmark
Test Base PR %
accumulator_append 595.3±14.13µs 595.4±12.95µs +0.02%
block_apply/block_apply_10 267.1±0.62ms 269.1±4.91ms +0.75%
block_apply/block_apply_1000 27.8±0.02s 27.4±0.03s -1.44%
get_with_proof/db_store 36.7±0.55µs 36.3±0.44µs -1.09%
get_with_proof/mem_store 31.9±0.51µs 31.3±0.30µs -1.88%
put_and_commit/db_store/1 95.9±5.07µs 95.8±5.05µs -0.10%
put_and_commit/db_store/10 858.2±43.35µs 863.9±44.01µs +0.66%
put_and_commit/db_store/100 7.3±0.30ms 7.4±0.30ms +1.37%
put_and_commit/db_store/5 434.9±22.10µs 415.8±23.46µs -4.39%
put_and_commit/db_store/50 3.8±0.16ms 3.8±0.17ms 0.00%
put_and_commit/mem_store/1 60.9±5.64µs 61.2±5.59µs +0.49%
put_and_commit/mem_store/10 573.6±47.69µs 572.0±50.05µs -0.28%
put_and_commit/mem_store/100 5.6±0.85ms 5.6±0.90ms 0.00%
put_and_commit/mem_store/5 289.8±25.24µs 289.3±27.83µs -0.17%
put_and_commit/mem_store/50 2.8±0.19ms 2.8±0.19ms 0.00%
query_block/query_block_in(10)_times(100) 3.8±0.09ms 4.0±0.20ms +5.26%
query_block/query_block_in(10)_times(1000) 38.2±1.15ms 38.5±0.96ms +0.79%
query_block/query_block_in(10)_times(10000) 385.5±8.94ms 384.2±10.66ms -0.34%
query_block/query_block_in(1000)_times(100) 941.0±11.56µs 956.2±9.54µs +1.62%
query_block/query_block_in(1000)_times(1000) 9.4±0.09ms 9.5±0.08ms +1.06%
query_block/query_block_in(1000)_times(10000) 94.7±0.79ms 95.1±0.64ms +0.42%
storage_transaction 1101.4±349.92µs 1102.4±335.51µs +0.09%
vm/transaction_execution/1 316.3±1.18ms 314.6±2.51ms -0.54%
vm/transaction_execution/10 99.5±1.17ms 99.0±0.60ms -0.50%
vm/transaction_execution/20 91.1±0.53ms 92.4±0.71ms +1.43%
vm/transaction_execution/5 121.6±0.58ms 120.9±0.62ms -0.58%
vm/transaction_execution/50 103.0±0.77ms 107.0±1.27ms +3.88%

nkysg added 2 commits April 12, 2022 15:48
1. add compare continue commit and batch flush test
2. add remove test
@github-actions
Copy link

Benchmark for 8ae0fe2

Click to view benchmark
Test Base PR %
accumulator_append 590.0±11.02µs 587.4±12.36µs -0.44%
block_apply/block_apply_10 265.8±0.59ms 268.1±1.40ms +0.87%
block_apply/block_apply_1000 27.2±0.11s 27.4±0.02s +0.74%
get_with_proof/db_store 35.8±0.38µs 35.9±0.70µs +0.28%
get_with_proof/mem_store 30.9±0.28µs 31.0±0.29µs +0.32%
put_and_commit/db_store/1 94.5±4.87µs 95.4±7.15µs +0.95%
put_and_commit/db_store/10 844.1±40.35µs 849.9±41.31µs +0.69%
put_and_commit/db_store/100 7.2±0.31ms 7.3±0.29ms +1.39%
put_and_commit/db_store/5 430.9±22.19µs 430.9±21.66µs 0.00%
put_and_commit/db_store/50 3.8±0.17ms 3.8±0.17ms 0.00%
put_and_commit/mem_store/1 61.4±5.66µs 61.0±5.40µs -0.65%
put_and_commit/mem_store/10 574.3±46.37µs 569.3±45.78µs -0.87%
put_and_commit/mem_store/100 5.7±0.84ms 5.6±0.81ms -1.75%
put_and_commit/mem_store/5 289.2±25.44µs 290.4±23.81µs +0.41%
put_and_commit/mem_store/50 2.8±0.18ms 2.8±0.18ms 0.00%
query_block/query_block_in(10)_times(100) 3.9±0.07ms 3.9±0.12ms 0.00%
query_block/query_block_in(10)_times(1000) 38.9±0.69ms 39.3±1.65ms +1.03%
query_block/query_block_in(10)_times(10000) 386.4±7.37ms 391.8±8.91ms +1.40%
query_block/query_block_in(1000)_times(100) 956.6±6.59µs 953.1±9.15µs -0.37%
query_block/query_block_in(1000)_times(1000) 9.6±0.07ms 9.6±0.27ms 0.00%
query_block/query_block_in(1000)_times(10000) 95.5±0.67ms 95.2±0.62ms -0.31%
storage_transaction 1073.5±305.07µs 1063.7±296.75µs -0.91%
vm/transaction_execution/1 317.0±1.92ms 313.1±0.80ms -1.23%
vm/transaction_execution/10 98.8±0.25ms 98.7±0.28ms -0.10%
vm/transaction_execution/20 91.5±1.35ms 92.0±0.26ms +0.55%
vm/transaction_execution/5 121.2±0.34ms 120.3±0.34ms -0.74%
vm/transaction_execution/50 103.3±1.67ms 106.3±0.83ms +2.90%

@nkysg nkysg requested a review from jolestar April 13, 2022 07:14
@github-actions
Copy link

Benchmark for f78110a

Click to view benchmark
Test Base PR %
accumulator_append 589.7±10.87µs 589.6±11.59µs -0.02%
block_apply/block_apply_10 266.3±0.67ms 265.8±0.64ms -0.19%
block_apply/block_apply_1000 27.2±0.09s 27.1±0.04s -0.37%
get_with_proof/db_store 36.4±0.32µs 36.1±0.35µs -0.82%
get_with_proof/mem_store 31.4±0.30µs 31.4±0.37µs 0.00%
put_and_commit/db_store/1 94.3±4.69µs 95.2±4.71µs +0.95%
put_and_commit/db_store/10 850.2±39.64µs 849.0±38.33µs -0.14%
put_and_commit/db_store/100 7.3±0.31ms 7.3±0.33ms 0.00%
put_and_commit/db_store/5 434.3±21.80µs 434.5±20.76µs +0.05%
put_and_commit/db_store/50 3.8±0.17ms 3.8±0.17ms 0.00%
put_and_commit/mem_store/1 60.8±5.43µs 61.7±5.54µs +1.48%
put_and_commit/mem_store/10 572.3±45.98µs 577.1±48.06µs +0.84%
put_and_commit/mem_store/100 5.7±0.85ms 5.6±0.82ms -1.75%
put_and_commit/mem_store/5 286.8±24.02µs 291.3±24.94µs +1.57%
put_and_commit/mem_store/50 2.8±0.18ms 2.8±0.18ms 0.00%
query_block/query_block_in(10)_times(100) 3.9±0.09ms 3.8±0.16ms -2.56%
query_block/query_block_in(10)_times(1000) 37.9±1.15ms 38.7±1.09ms +2.11%
query_block/query_block_in(10)_times(10000) 388.4±7.16ms 392.3±6.45ms +1.00%
query_block/query_block_in(1000)_times(100) 946.7±7.64µs 983.4±7.52µs +3.88%
query_block/query_block_in(1000)_times(1000) 9.5±0.09ms 9.8±0.05ms +3.16%
query_block/query_block_in(1000)_times(10000) 94.6±1.00ms 97.7±0.77ms +3.28%
storage_transaction 1057.6±289.12µs 1046.2±290.18µs -1.08%
vm/transaction_execution/1 317.2±4.52ms 313.1±0.85ms -1.29%
vm/transaction_execution/10 99.1±0.99ms 98.9±0.61ms -0.20%
vm/transaction_execution/20 91.2±0.68ms 92.5±0.79ms +1.43%
vm/transaction_execution/5 120.9±0.28ms 121.2±1.25ms +0.25%
vm/transaction_execution/50 103.1±1.38ms 106.6±0.45ms +3.39%

@jolestar jolestar merged commit ab7eb86 into master Apr 14, 2022
@jolestar jolestar deleted the merge_statedb_flush branch April 14, 2022 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants