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

[cli] Move debug sub commands to dev. #2599

Merged
merged 1 commit into from
Jun 16, 2021
Merged

[cli] Move debug sub commands to dev. #2599

merged 1 commit into from
Jun 16, 2021

Conversation

jolestar
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Jun 15, 2021

Codecov Report

Merging #2599 (0b55f8f) into master (bfd0305) will decrease coverage by 0.24%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2599      +/-   ##
==========================================
- Coverage   32.63%   32.39%   -0.23%     
==========================================
  Files         501      501              
  Lines       43228    43228              
  Branches    19319    19319              
==========================================
- Hits        14104    14001     -103     
- Misses      15266    15555     +289     
+ Partials    13858    13672     -186     
Flag Coverage Δ
unittests 32.39% <ø> (-0.23%) ⬇️

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

Impacted Files Coverage Δ
cmd/starcoin/src/lib.rs 100.00% <ø> (ø)
rpc/server/src/module/mod.rs 0.00% <0.00%> (-16.84%) ⬇️
vm/types/src/transaction/error.rs 3.93% <0.00%> (-15.68%) ⬇️
sync/src/block_connector/test_write_block_chain.rs 17.65% <0.00%> (-10.92%) ⬇️
sync/src/block_connector/write_block_chain.rs 27.61% <0.00%> (-6.77%) ⬇️
network-rpc/core/src/lib.rs 23.53% <0.00%> (-5.88%) ⬇️
cmd/starcoin/src/cli_state.rs 47.37% <0.00%> (-5.26%) ⬇️
cmd/starcoin/src/dev/tests.rs 12.74% <0.00%> (-4.49%) ⬇️
sync/src/tasks/mock.rs 42.55% <0.00%> (-3.31%) ⬇️
chain/src/chain.rs 31.22% <0.00%> (-3.25%) ⬇️
... and 30 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 bfd0305...0b55f8f. Read the comment docs.

@github-actions
Copy link

Benchmark for 8bfedde

Click to view benchmark
Test PR Benchmark Master Benchmark %
accumulator_append 2.4±0.13ms 2.3±0.11ms +4.35%
block_apply/block_apply_10 448.0±7.21ms 453.3±8.42ms -1.17%
block_apply/block_apply_1000 45.4±0.55s 45.2±0.21s +0.44%
get_with_proof/db_store 39.2±0.31µs 38.5±0.32µs +1.82%
get_with_proof/mem_store 32.3±0.25µs 32.0±0.32µs +0.94%
put_and_commit/db_store/1 1385.5±59.22µs 1369.5±46.83µs +1.17%
put_and_commit/db_store/10 2.5±0.33ms 2.4±0.34ms +4.17%
put_and_commit/db_store/100 9.5±0.75ms 9.5±0.97ms 0.00%
put_and_commit/db_store/5 2.0±0.17ms 1994.5±193.59µs +0.28%
put_and_commit/db_store/50 5.8±0.71ms 5.8±0.68ms 0.00%
put_and_commit/mem_store/1 63.6±5.64µs 63.3±5.74µs +0.47%
put_and_commit/mem_store/10 587.1±46.65µs 589.5±48.63µs -0.41%
put_and_commit/mem_store/100 5.7±0.81ms 5.8±0.82ms -1.72%
put_and_commit/mem_store/5 297.0±24.16µs 298.4±24.41µs -0.47%
put_and_commit/mem_store/50 2.9±0.18ms 2.9±0.18ms 0.00%
query_block/query_block_in(10)_times(100) 2.9±0.09ms 2.9±0.04ms 0.00%
query_block/query_block_in(10)_times(1000) 29.2±0.42ms 29.7±0.69ms -1.68%
query_block/query_block_in(10)_times(10000) 294.1±4.63ms 294.7±5.51ms -0.20%
query_block/query_block_in(1000)_times(100) 911.7±5.90µs 935.9±6.57µs -2.59%
query_block/query_block_in(1000)_times(1000) 9.2±0.06ms 9.4±0.05ms -2.13%
query_block/query_block_in(1000)_times(10000) 92.6±1.94ms 93.7±0.38ms -1.17%
storage_transaction 51.7±2.85ms 53.2±4.65ms -2.82%
vm/transaction_execution/1 335.2±1.08ms 336.5±1.09ms -0.39%
vm/transaction_execution/10 111.7±1.33ms 111.7±0.29ms 0.00%
vm/transaction_execution/20 104.8±0.28ms 105.1±0.45ms -0.29%
vm/transaction_execution/5 134.2±0.64ms 134.3±0.21ms -0.07%
vm/transaction_execution/50 120.6±0.24ms 121.5±0.54ms -0.74%

@nanne007 nanne007 merged commit 8c238e4 into master Jun 16, 2021
@nanne007 nanne007 deleted the dev_debug_cmd branch June 16, 2021 00:54
naughtyvenom pushed a commit to naughtyvenom/starcoin that referenced this pull request Jul 19, 2021
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