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

Add RPC call to calculate init by code id #1330

Merged
merged 5 commits into from
Aug 18, 2022

Conversation

breathx
Copy link
Member

@breathx breathx commented Aug 18, 2022

No description provided.

@breathx breathx added A0-pleasereview PR is ready to be reviewed by the team D2-node Gear Node C1-feature Feature request labels Aug 18, 2022
Copy link
Member

@gshep gshep left a comment

Choose a reason for hiding this comment

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

Good job!

Copy link
Contributor

@shamilsan shamilsan left a comment

Choose a reason for hiding this comment

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

👍

@github-actions
Copy link
Contributor

a57d437
Pallet tests (values are in nanoseconds)

Total execution time

name current median average lower/upper quartile min max
Total time 80 270 000 000; +1933.70% ‼️ 3 947 000 000 4 481 289 999 (3 743 000 000; 4 065 500 000) 3 313 000 000 59 942 000 000

name = pallet-gear

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 93 000 000; +933.33% ‼️ 9 000 000 9 660 000 (8 000 000; 10 000 000) 6 000 000 18 000 000
schedule::test::print_test_schedule 100 000 000; +1011.11% ‼️ 9 000 000 9 740 000 (8 000 000; 10 500 000) 7 000 000 16 000 000
tests::block_gas_limit_works 138 000 000; +762.50% ‼️ 16 000 000 16 620 000 (15 000 000; 18 000 000) 13 000 000 25 000 000
tests::call_forbidden_function 125 000 000; +792.86% ‼️ 14 000 000 12 840 000 (10 000 000; 15 000 000) 8 000 000 18 000 000
tests::cascading_messages_with_value_do_not_overcharge 192 000 000; +236.84% ‼️ 57 000 000 58 680 000 (56 000 000; 61 000 000) 52 000 000 70 000 000
tests::check_gear_stack_end_fail 133 000 000; +850.00% ‼️ 14 000 000 14 210 000 (13 500 000; 15 000 000) 8 000 000 19 000 000
tests::claim_value_works 133 000 000; +786.67% ‼️ 15 000 000 14 480 000 (14 000 000; 16 000 000) 8 000 000 20 000 000
tests::defer_program_initialization 143 000 000; +410.71% ‼️ 28 000 000 28 370 000 (26 000 000; 31 000 000) 22 000 000 37 000 000
tests::distributor_distribute 145 000 000; +559.09% ‼️ 22 000 000 22 300 000 (20 000 000; 23 000 000) 17 000 000 33 000 000
tests::distributor_initialize 134 000 000; +737.50% ‼️ 16 000 000 16 410 000 (14 000 000; 18 000 000) 12 000 000 23 000 000
tests::events_logging_works 134 000 000; +857.14% ‼️ 14 000 000 14 360 000 (13 000 000; 15 000 000) 10 000 000 22 000 000
tests::execution_over_blocks 367 000 000; +79.46% ‼️ 204 500 000 206 550 000 (200 500 000; 213 000 000) 196 000 000 228 000 000
tests::exit_handle 131 000 000; +907.69% ‼️ 13 000 000 12 940 000 (12 000 000; 14 000 000) 8 000 000 23 000 000
tests::exit_init 141 000 000; +683.33% ‼️ 18 000 000 18 100 000 (16 500 000; 20 000 000) 12 000 000 33 000 000
tests::gas_spent_precalculated 132 000 000; +915.38% ‼️ 13 000 000 13 430 000 (12 000 000; 14 500 000) 7 000 000 22 000 000
tests::gas_spent_vs_balance 146 000 000; +294.59% ‼️ 37 000 000 38 050 000 (36 000 000; 40 500 000) 31 000 000 45 000 000
tests::init_message_logging_works 132 000 000; +1000.00% ‼️ 12 000 000 13 100 000 (11 000 000; 14 000 000) 8 000 000 21 000 000
tests::init_wait_reply_exit_cleaned_storage 145 000 000; +417.86% ‼️ 28 000 000 28 150 000 (25 000 000; 31 000 000) 21 000 000 37 000 000
tests::lazy_pages 131 000 000; +907.69% ‼️ 13 000 000 13 510 000 (12 000 000; 16 000 000) 8 000 000 20 000 000
tests::mailbox_rent_claimed 136 000 000; +655.56% ‼️ 18 000 000 18 550 000 (17 000 000; 20 000 000) 12 000 000 25 000 000
tests::mailbox_rent_out_of_rent 130 000 000; +490.91% ‼️ 22 000 000 22 450 000 (20 000 000; 24 500 000) 16 000 000 31 000 000
tests::mailbox_sending_instant_transfer 124 000 000; +629.41% ‼️ 17 000 000 17 530 000 (16 000 000; 19 000 000) 12 000 000 26 000 000
tests::mailbox_threshold_works 123 000 000; +355.56% ‼️ 27 000 000 27 280 000 (25 000 000; 29 000 000) 21 000 000 37 000 000
tests::mailbox_works 121 000 000; +830.77% ‼️ 13 000 000 12 880 000 (11 500 000; 14 000 000) 7 000 000 17 000 000
tests::memory_access_cases 123 000 000; +846.15% ‼️ 13 000 000 13 120 000 (12 000 000; 14 000 000) 7 000 000 18 000 000
tests::messages_processing_works 122 000 000; +838.46% ‼️ 13 000 000 12 650 000 (12 000 000; 14 000 000) 8 000 000 17 000 000
tests::messages_to_paused_program_skipped 122 000 000; +577.78% ‼️ 18 000 000 17 910 000 (16 000 000; 19 000 000) 13 000 000 25 000 000
tests::messages_to_uninitialized_program_wait 127 000 000; +605.56% ‼️ 18 000 000 17 690 000 (16 000 000; 19 000 000) 13 000 000 24 000 000
tests::missing_functions_are_not_executed 113 000 000; +804.00% ‼️ 12 500 000 12 730 000 (11 000 000; 14 000 000) 7 000 000 22 000 000
tests::missing_handle_is_not_executed 118 000 000; +883.33% ‼️ 12 000 000 12 120 000 (11 000 000; 14 000 000) 7 000 000 18 000 000
tests::no_redundant_gas_value_after_exiting 112 000 000; +761.54% ‼️ 13 000 000 12 830 000 (12 000 000; 14 000 000) 10 000 000 18 000 000
tests::paused_program_keeps_id 111 000 000; +516.67% ‼️ 18 000 000 18 230 000 (16 500 000; 20 000 000) 12 000 000 25 000 000
tests::program_lifecycle_works 111 000 000; +825.00% ‼️ 12 000 000 12 050 000 (11 000 000; 13 000 000) 7 000 000 20 000 000
tests::program_messages_to_paused_program_skipped 120 000 000; +361.54% ‼️ 26 000 000 26 120 000 (24 000 000; 28 000 000) 19 000 000 36 000 000
tests::replies_to_paused_program_skipped 110 000 000; +511.11% ‼️ 18 000 000 17 490 000 (16 000 000; 19 000 000) 12 000 000 22 000 000
tests::restrict_start_section 110 000 000; +900.00% ‼️ 11 000 000 10 920 000 (10 000 000; 12 000 000) 6 000 000 21 000 000
tests::resume_program_works 115 000 000; +342.31% ‼️ 26 000 000 26 060 000 (25 000 000; 27 000 000) 21 000 000 37 000 000
tests::send_message_expected_failure 109 000 000; +890.91% ‼️ 11 000 000 11 660 000 (10 000 000; 13 000 000) 7 000 000 20 000 000
tests::send_message_works 109 000 000; +808.33% ‼️ 12 000 000 11 960 000 (10 000 000; 13 000 000) 7 000 000 19 000 000
tests::send_reply_failure_to_claim_from_mailbox 108 000 000; +800.00% ‼️ 12 000 000 11 430 000 (9 000 000; 13 000 000) 7 000 000 17 000 000
tests::send_reply_value_claiming_works 107 000 000; +723.08% ‼️ 13 000 000 12 570 000 (11 000 000; 14 000 000) 7 000 000 17 000 000
tests::send_reply_works 100 000 000; +700.00% ‼️ 12 500 000 11 760 000 (9 000 000; 14 000 000) 7 000 000 16 000 000
tests::spent_gas_to_reward_block_author_works 94 000 000; +683.33% ‼️ 12 000 000 11 070 000 (8 000 000; 13 000 000) 6 000 000 18 000 000
tests::test_async_messages 337 000 000; +157.25% ‼️ 131 000 000 132 450 000 (129 500 000; 133 500 000) 126 000 000 157 000 000
tests::test_code_is_not_reset_within_program_submission 111 000 000; +1205.88% ‼️ 8 500 000 10 020 000 (7 000 000; 13 000 000) 6 000 000 17 000 000
tests::test_code_is_not_submitted_twice_after_program_submission 72 000 000; +700.00% ‼️ 9 000 000 10 250 000 (7 000 000; 13 000 000) 6 000 000 16 000 000
tests::test_code_submission_pass 94 000 000; +1005.88% ‼️ 8 500 000 9 970 000 (7 000 000; 13 000 000) 6 000 000 16 000 000
tests::test_create_program_duplicate 135 000 000; +382.14% ‼️ 28 000 000 28 320 000 (27 000 000; 30 000 000) 23 000 000 34 000 000
tests::test_create_program_duplicate_in_one_execution 125 000 000; +495.24% ‼️ 21 000 000 20 700 000 (19 000 000; 22 000 000) 16 000 000 30 000 000
tests::test_create_program_miscellaneous 167 000 000; +421.88% ‼️ 32 000 000 32 750 000 (31 000 000; 33 000 000) 30 000 000 40 000 000
tests::test_create_program_no_code_hash 119 000 000; +161.54% ‼️ 45 500 000 47 330 000 (45 000 000; 47 000 000) 43 000 000 58 000 000
tests::test_create_program_simple 119 000 000; +260.61% ‼️ 33 000 000 34 100 000 (32 000 000; 35 000 000) 31 000 000 41 000 000
tests::test_create_program_with_exceeding_value 122 000 000; +662.50% ‼️ 16 000 000 15 890 000 (15 000 000; 17 000 000) 12 000 000 26 000 000
tests::test_create_program_with_value_lt_ed 124 000 000; +490.48% ‼️ 21 000 000 21 010 000 (20 000 000; 22 000 000) 16 000 000 29 000 000
tests::test_create_program_without_gas_works 124 000 000; +726.67% ‼️ 15 000 000 15 640 000 (15 000 000; 17 000 000) 10 000 000 20 000 000
tests::test_create_program_works 122 000 000; +430.43% ‼️ 23 000 000 23 980 000 (22 000 000; 26 000 000) 20 000 000 29 000 000
tests::test_message_processing_for_non_existing_destination 111 000 000; +1133.33% ‼️ 9 000 000 10 700 000 (8 000 000; 14 000 000) 6 000 000 19 000 000
tests::test_reply_to_terminated_program 123 000 000; +720.00% ‼️ 15 000 000 15 080 000 (14 000 000; 16 000 000) 11 000 000 21 000 000
tests::test_same_code_submission_fails 108 000 000; +1250.00% ‼️ 8 000 000 8 890 000 (7 000 000; 10 000 000) 5 000 000 15 000 000
tests::test_two_contracts_composition_works 137 000 000; +226.19% ‼️ 42 000 000 43 040 000 (41 000 000; 43 000 000) 39 000 000 54 000 000
tests::uninitialized_program_should_accept_replies 107 000 000; +386.36% ‼️ 22 000 000 22 120 000 (21 000 000; 23 500 000) 17 000 000 26 000 000
tests::unstoppable_block_execution_works 114 000 000; +714.29% ‼️ 14 000 000 13 530 000 (13 000 000; 15 000 000) 8 000 000 17 000 000
tests::unused_gas_released_back_works 115 000 000; +784.62% ‼️ 13 000 000 11 840 000 (9 000 000; 14 000 000) 7 000 000 22 000 000
tests::upload_program_expected_failure 114 000 000; +1100.00% ‼️ 9 500 000 10 440 000 (8 000 000; 13 000 000) 6 000 000 16 000 000
tests::upload_program_fails_on_duplicate_id 112 000 000; +796.00% ‼️ 12 500 000 11 770 000 (9 000 000; 14 000 000) 6 000 000 23 000 000
tests::wake_messages_after_program_inited 170 000 000; +314.63% ‼️ 41 000 000 42 650 000 (40 000 000; 46 500 000) 37 000 000 51 000 000

name = pallet-gear-debug

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 108 000 000; +1100.00% ‼️ 9 000 000 9 330 000 (8 000 000; 10 000 000) 5 000 000 15 000 000
tests::check_changed_pages_in_storage 110 000 000; +685.71% ‼️ 14 000 000 13 990 000 (12 000 000; 15 000 000) 8 000 000 23 000 000
tests::check_gear_stack_end 108 000 000; +800.00% ‼️ 12 000 000 12 050 000 (9 000 000; 14 000 000) 7 000 000 23 000 000
tests::check_not_allocated_pages 108 000 000; +671.43% ‼️ 14 000 000 13 520 000 (12 000 000; 15 000 000) 7 000 000 22 000 000
tests::debug_mode_works 100 000 000; +614.29% ‼️ 14 000 000 13 920 000 (12 000 000; 15 000 000) 8 000 000 22 000 000

name = pallet-gear-gas

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 355 000 000; +4337.50% ‼️ 8 000 000 7 880 000 (7 000 000; 9 000 000) 5 000 000 13 000 000
tests::all_keys_are_cleared 355 000 000; +3844.44% ‼️ 9 000 000 9 790 000 (8 000 000; 12 000 000) 6 000 000 20 000 000
tests::can_cut_nodes 355 000 000; +3844.44% ‼️ 9 000 000 10 270 000 (8 000 000; 13 000 000) 7 000 000 16 000 000
tests::catch_value_all_blocked 354 000 000; +2428.57% ‼️ 14 000 000 13 210 000 (12 000 000; 15 000 000) 7 000 000 18 000 000
tests::catch_value_all_catch 354 000 000; +4325.00% ‼️ 8 000 000 9 300 000 (8 000 000; 10 500 000) 6 000 000 18 000 000
tests::gas_free_after_consumed 354 000 000; +4325.00% ‼️ 8 000 000 7 990 000 (7 000 000; 8 500 000) 5 000 000 13 000 000
tests::limit_vs_origin 353 000 000; +2615.38% ‼️ 13 000 000 11 760 000 (8 000 000; 14 000 000) 7 000 000 18 000 000
tests::lock_works 309 000 000; +3762.50% ‼️ 8 000 000 9 930 000 (8 000 000; 13 000 000) 6 000 000 18 000 000
tests::long_chain 353 000 000; +3822.22% ‼️ 9 000 000 10 560 000 (8 000 000; 14 000 000) 6 000 000 17 000 000
tests::simple_value_tree 353 000 000; +4942.86% ‼️ 7 000 000 8 120 000 (7 000 000; 8 000 000) 5 000 000 16 000 000
tests::split_with_no_value 352 000 000; +2960.87% ‼️ 11 500 000 10 650 000 (7 000 000; 14 000 000) 6 000 000 16 000 000
tests::splits_fail 304 000 000; +2332.00% ‼️ 12 500 000 11 290 000 (7 500 000; 14 000 000) 6 000 000 16 000 000
tests::sub_nodes_tree_with_spends 352 000 000; +4300.00% ‼️ 8 000 000 9 940 000 (7 000 000; 13 000 000) 6 000 000 16 000 000
tests::subtree_gas_limit_remains_intact 305 000 000; +2441.67% ‼️ 12 000 000 11 130 000 (7 000 000; 14 000 000) 6 000 000 16 000 000
tests::test_consume_procedure_with_subnodes 304 000 000; +2433.33% ‼️ 12 000 000 10 720 000 (7 000 000; 14 000 000) 6 000 000 16 000 000
tests::test_imbalances_drop 349 000 000; +4885.71% ‼️ 7 000 000 7 740 000 (6 000 000; 8 000 000) 5 000 000 14 000 000
tests::value_tree_known_errors 291 000 000; +3537.50% ‼️ 8 000 000 9 680 000 (7 000 000; 13 000 000) 6 000 000 15 000 000
tests::value_tree_with_all_kinds_of_nodes 285 000 000; +3971.43% ‼️ 7 000 000 8 560 000 (7 000 000; 11 000 000) 6 000 000 15 000 000

name = pallet-gear-messenger

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 348 000 000; +4871.43% ‼️ 7 000 000 7 000 000 (6 000 000; 8 000 000) 4 000 000 12 000 000
tests::dequeued_impl_works_manually 347 000 000; +4857.14% ‼️ 7 000 000 7 340 000 (6 000 000; 8 000 000) 4 000 000 13 000 000
tests::queue_processing_impl_works_manually 302 000 000; +4214.29% ‼️ 7 000 000 7 340 000 (6 000 000; 8 000 000) 5 000 000 13 000 000
tests::queue_works 282 000 000; +3928.57% ‼️ 7 000 000 7 440 000 (6 000 000; 8 000 000) 5 000 000 12 000 000
tests::sent_impl_works 296 000 000; +3600.00% ‼️ 8 000 000 7 620 000 (7 000 000; 8 000 000) 5 000 000 12 000 000

name = pallet-gear-payment

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 282 000 000; +3425.00% ‼️ 8 000 000 7 660 000 (7 000 000; 9 000 000) 4 000 000 11 000 000
tests::custom_fee_multiplier_updated_per_block 229 000 000; +2762.50% ‼️ 8 000 000 7 890 000 (7 000 000; 9 000 000) 5 000 000 10 000 000
tests::fee_rounding_error_bounded_by_multiplier 219 000 000; +2637.50% ‼️ 8 000 000 8 070 000 (7 000 000; 9 000 000) 6 000 000 10 000 000
tests::mq_size_affecting_fee_works 216 000 000; +2600.00% ‼️ 8 000 000 8 050 000 (7 000 000; 9 000 000) 5 000 000 10 000 000
tests::mq_size_not_affecting_fee_works 274 000 000; +3325.00% ‼️ 8 000 000 7 840 000 (7 000 000; 9 000 000) 5 000 000 10 000 000
tests::query_info_and_fee_details_work 214 000 000; +2575.00% ‼️ 8 000 000 7 750 000 (7 000 000; 8 000 000) 6 000 000 10 000 000

name = pallet-gear-program

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 8 000 000; +0.00% ❗ 8 000 000 7 420 000 (7 000 000; 8 000 000) 4 000 000 9 000 000
tests::pause_program_twice_fails 67 000 000; +857.14% ‼️ 7 000 000 7 240 000 (7 000 000; 8 000 000) 5 000 000 9 000 000
tests::pause_program_works 101 000 000; +1022.22% ‼️ 9 000 000 9 530 000 (9 000 000; 10 000 000) 8 000 000 12 000 000
tests::pause_terminated_program_fails 66 000 000; +842.86% ‼️ 7 000 000 6 700 000 (6 000 000; 7 000 000) 5 000 000 8 000 000
tests::pause_uninitialized_program_works 100 000 000; +900.00% ‼️ 10 000 000 9 710 000 (9 000 000; 10 000 000) 8 000 000 12 000 000
tests::resume_program_twice_fails 100 000 000; +614.29% ‼️ 14 000 000 14 410 000 (14 000 000; 15 000 000) 12 000 000 19 000 000
tests::resume_program_wrong_list_fails 79 000 000; +558.33% ‼️ 12 000 000 11 810 000 (11 000 000; 12 000 000) 10 000 000 15 000 000
tests::resume_program_wrong_memory_fails 79 000 000; +558.33% ‼️ 12 000 000 11 810 000 (11 000 000; 12 000 000) 10 000 000 15 000 000
tests::resume_uninitialized_program_works 80 000 000; +566.67% ‼️ 12 000 000 12 430 000 (12 000 000; 13 000 000) 11 000 000 16 000 000

name = pallet-gear-scheduler

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 94 000 000; +1780.00% ‼️ 5 000 000 4 940 000 (5 000 000; 5 000 000) 4 000 000 6 000 000
tests::gear_handles_outdated_tasks 94 000 000; +1466.67% ‼️ 6 000 000 6 200 000 (6 000 000; 7 000 000) 5 000 000 8 000 000
tests::gear_handles_tasks 149 000 000; +2383.33% ‼️ 6 000 000 5 920 000 (6 000 000; 6 000 000) 4 000 000 7 000 000
Runtime tests (values are in nanoseconds)

Total execution time

name current median average lower/upper quartile min max
Total time 243 576 823 819; +170.75% ‼️ 89 965 181 663 89 950 170 397 (89 801 377 048; 90 105 995 124) 89 349 827 227 90 422 626 569

name = Async RwLock

name current median average lower/upper quartile min max
check readers 768 662 455; +823.69% ‼️ 83 216 922 84 263 377 (79 624 322; 86 267 346) 76 013 190 104 470 295
forever lock 958 843 391; +975.91% ‼️ 89 119 551 89 648 421 (84 207 830; 92 977 810) 78 729 646 111 119 564
read while writing 1 748 086 008; +1593.33% ‼️ 103 233 659 105 070 882 (98 059 356; 109 750 966) 79 415 138 142 386 008
rwlock wide 847 666 056; +562.75% ‼️ 127 901 272 129 215 866 (119 823 046; 134 999 396) 113 107 515 161 607 232
write while reading 1 144 363 121; +956.44% ‼️ 108 322 381 109 121 509 (103 375 513; 113 877 341) 95 849 071 134 287 270

name = Async init

name current median average lower/upper quartile min max
approved pong 11 137 935 329; +6.07% ‼️ 10 500 683 159 10 502 619 300 (10 462 026 542; 10 545 907 755) 10 355 463 584 10 671 100 237

name = Async-await

name current median average lower/upper quartile min max
async-await 2 456 289 379; +1728.66% ‼️ 134 322 101 135 955 839 (126 514 343; 142 673 292) 116 111 476 169 614 004
mutex 2 264 245 223; +1618.67% ‼️ 131 744 182 132 049 570 (122 395 722; 136 910 788) 115 499 752 184 066 913
rwlock-write 2 570 056 806; +1835.56% ‼️ 132 780 746 133 814 622 (125 071 060; 137 656 166) 115 032 807 185 959 971

name = Async-duplicates-sync

name current median average lower/upper quartile min max
async-duplicates-sync 1 003 105 173; +994.65% ‼️ 91 637 449 93 093 295 (87 680 268; 96 267 020) 81 743 587 116 700 453

name = Async-multisig (well known cases)

name current median average lower/upper quartile min max
2 of 3; bob & alice 26 072 331 926; +418.64% ‼️ 5 027 079 799 5 028 457 235 (4 997 580 246; 5 056 822 495) 4 917 165 349 5 146 642 894
2 of 3; bob & eve 26 070 609 760; +418.81% ‼️ 5 025 037 420 5 027 720 087 (5 004 705 039; 5 050 796 616) 4 940 702 129 5 117 031 923
2 of 3; eve & alice 25 167 588 929; +400.87% ‼️ 5 024 788 101 5 021 438 937 (4 998 748 599; 5 044 579 110) 4 928 425 849 5 101 890 104
2 of 3; eve doesn't answer, alice replies with incorrect payload 20 731 791 316; +316.38% ‼️ 4 979 053 949 4 977 721 518 (4 946 125 339; 5 002 105 503) 4 865 519 311 5 153 801 933
2 of 3; no replies 5 793 125 780; +18.30% ‼️ 4 896 782 490 4 897 186 281 (4 876 243 094; 4 919 952 925) 4 790 815 290 4 970 676 393
Single signatory & zero threshold 20 716 759 084; +316.97% ‼️ 4 968 384 776 4 968 347 697 (4 943 296 332; 4 995 109 765) 4 873 840 294 5 041 349 932
Three signatories & redundant threshold 5 991 572 839; +18.13% ‼️ 5 071 812 210 5 071 947 600 (5 047 530 824; 5 090 721 324) 4 992 915 720 5 202 542 341
Three signatories; Bob replies with incorrect signature 5 746 817 524; +15.26% ‼️ 4 985 944 229 4 982 653 842 (4 956 675 630; 5 011 996 304) 4 883 802 266 5 061 386 805
Three signatories; Eve doesn't answer, Alice replies with incorrect payload 21 117 951 971; +324.13% ‼️ 4 979 148 216 4 977 386 225 (4 957 307 236; 4 999 166 747) 4 881 004 288 5 067 136 158

name = Async-sign (well known cases)

name current median average lower/upper quartile min max
bad signature 3 327 234 157; +34.42% ‼️ 2 475 183 631 2 476 722 223 (2 462 412 648; 2 491 783 485) 2 424 085 861 2 548 780 906
correct signature but for another message 3 689 189 116; +45.79% ‼️ 2 530 498 858 2 530 533 897 (2 512 160 364; 2 546 852 747) 2 481 671 128 2 587 807 821
no reply 3 652 726 393; +47.78% ‼️ 2 471 725 139 2 470 678 435 (2 453 524 130; 2 484 016 971) 2 409 582 142 2 531 301 974
signed message 3 492 752 764; +38.35% ‼️ 2 524 655 472 2 526 885 578 (2 511 554 859; 2 537 160 299) 2 476 406 581 2 599 603 312

name = Asynchronous recursion

name current median average lower/upper quartile min max
async-recursion 3 976 292 003; +1316.15% ‼️ 280 781 632 281 558 488 (271 235 917; 290 010 892) 258 955 645 320 374 126

name = Basic capacitor check

name current median average lower/upper quartile min max
Test charging/discharging 703 123 676; +799.66% ‼️ 78 154 591 79 892 835 (74 748 761; 83 494 212) 65 058 912 103 903 699

name = Chat

name current median average lower/upper quartile min max
chat 1 655 671 850; +1467.69% ‼️ 105 612 008 107 000 511 (101 317 043; 111 471 263) 92 711 684 141 830 125

name = Decoder

name current median average lower/upper quartile min max
decoder 327 165 244; +383.53% ‼️ 67 661 259 68 198 306 (64 525 711; 72 099 526) 52 089 100 86 412 209

name = Exit code

name current median average lower/upper quartile min max
normal 214 889 781; +189.01% ‼️ 74 353 803 75 509 031 (71 650 206; 78 082 427) 55 333 522 92 185 711
panic 365 248 230; +414.33% ‼️ 71 014 800 70 270 209 (61 821 076; 76 588 893) 47 755 527 94 263 600

name = Futures-unordered

name current median average lower/upper quartile min max
futures-unordered 2 966 518 137; +1874.09% ‼️ 150 272 689 154 177 449 (144 473 639; 162 363 188) 131 840 550 200 325 696
join 3 073 617 190; +1901.99% ‼️ 153 528 421 156 041 450 (146 067 057; 162 201 893) 137 270 064 207 270 005
select 2 981 770 939; +1898.43% ‼️ 149 205 351 150 751 049 (138 938 896; 158 897 456) 130 938 886 205 297 543

name = Incomplete-async-payloads

name current median average lower/upper quartile min max
incomplete-async-payloads 2 418 066 201; +1708.45% ‼️ 133 709 379 135 288 207 (126 623 406; 139 965 128) 114 921 166 174 488 396

name = Memory test

name current median average lower/upper quartile min max
Test for memory result 310 665 937; +381.31% ‼️ 64 545 680 66 366 646 (58 247 106; 73 736 621) 50 318 360 92 759 148

name = Messages to failed program are handled properly

name current median average lower/upper quartile min max
handle messages to failed program 675 783 977; +742.38% ‼️ 80 223 201 81 322 846 (76 659 735; 84 601 769) 72 265 451 99 937 183

name = Meta ping (simple check)

name current median average lower/upper quartile min max
meta check 10 138 087 435; +3.95% ‼️ 9 752 655 662 9 750 429 138 (9 724 789 417; 9 783 504 486) 9 583 285 540 9 861 867 041

name = Multiping

name current median average lower/upper quartile min max
multiping 388 686 873; +523.71% ‼️ 62 318 944 63 487 775 (56 737 680; 69 847 865) 48 490 459 89 625 443

name = Ping-pong

name current median average lower/upper quartile min max
ping-pong 36 459 618; -42.65% ✔️ 63 569 133 63 269 136 (58 143 900; 67 646 457) 49 447 212 87 182 641
ping-pong wgas 518 286 502; +645.11% ‼️ 69 558 661 71 296 946 (66 184 118; 74 996 521) 59 521 672 98 842 963

name = Program generator

name current median average lower/upper quartile min max
program_generator 41 620 155; -17.76% ✔️ 50 605 095 51 353 949 (46 360 582; 55 657 660) 38 149 491 70 835 374

name = Program_id test

name current median average lower/upper quartile min max
program_id 221 105 389; +303.47% ‼️ 54 800 573 55 463 749 (50 517 009; 59 968 939) 43 354 572 70 648 128

name = State-rollback

name current median average lower/upper quartile min max
state-rollback 40 173 831; -40.48% ✔️ 67 497 892 68 459 885 (63 667 307; 71 984 660) 53 724 782 94 684 701
state-saving 508 282 624; +648.44% ‼️ 67 911 906 68 846 433 (61 816 772; 72 786 425) 54 796 056 103 488 125

name = Test create_program sys-call

name current median average lower/upper quartile min max
Simple creation of program from program 285 091 441; +345.68% ‼️ 63 967 777 63 618 313 (57 880 267; 68 151 467) 50 236 483 86 134 945
Try to re-init existing program 365 935 365; +397.89% ‼️ 73 497 299 74 598 935 (70 964 465; 77 169 961) 58 734 015 98 725 938

name = Trap test

name current median average lower/upper quartile min max
Test for trap result 141 129 432; +222.30% ‼️ 43 788 245 45 050 195 (41 124 194; 47 923 865) 34 936 086 60 606 462

name = Vector

name current median average lower/upper quartile min max
test-vec (2 * 65536 * size_of(u8) = 128 KiB = 2 pages) 845 463 990; +537.76% ‼️ 132 568 604 132 136 748 (125 555 979; 137 028 071) 114 131 504 158 864 777

name = Wait test

name current median average lower/upper quartile min max
wait 424 842 163; +473.18% ‼️ 74 120 405 76 280 363 (69 184 408; 82 963 971) 58 404 667 105 202 547

name = basic

name current median average lower/upper quartile min max
fibonacci-sum 629 765 170; +665.09% ‼️ 82 312 925 82 357 208 (77 495 004; 86 395 570) 62 454 878 97 422 360

name = collector-1

name current median average lower/upper quartile min max
collector pass 2 messages 672 687 030; +789.69% ‼️ 75 609 468 75 834 683 (71 928 219; 79 269 447) 58 096 680 93 390 142

name = guestbook test

name current median average lower/upper quartile min max
guestbook 5 237 780 590; +8.43% ‼️ 4 830 446 137 4 826 350 279 (4 802 506 968; 4 854 336 475) 4 714 746 962 4 891 139 544

name = gui test

name current median average lower/upper quartile min max
gui 6 942 908 545; +7.03% ‼️ 6 487 015 605 6 482 427 374 (6 455 089 898; 6 507 955 495) 6 377 352 124 6 579 357 063

@codecov
Copy link

codecov bot commented Aug 18, 2022

Codecov Report

Merging #1330 (a57d437) into master (10bf72d) will decrease coverage by 4.99%.
The diff coverage is 31.25%.

@@            Coverage Diff             @@
##           master    #1330      +/-   ##
==========================================
- Coverage   72.24%   67.24%   -5.00%     
==========================================
  Files         110      110              
  Lines       10514    11325     +811     
==========================================
+ Hits         7596     7616      +20     
- Misses       2918     3709     +791     
Impacted Files Coverage Δ
pallets/gear/rpc/src/lib.rs 0.00% <0.00%> (ø)
pallets/gear/src/manager/mod.rs 92.06% <ø> (-7.94%) ⬇️
pallets/gear/src/lib.rs 64.10% <71.42%> (-0.35%) ⬇️
pallets/gear/src/tests.rs 92.78% <100.00%> (-1.03%) ⬇️
core/src/env.rs 3.37% <0.00%> (-96.63%) ⬇️
core-backend/common/src/utils.rs 48.14% <0.00%> (-51.86%) ⬇️
core-backend/sandbox/src/env.rs 61.03% <0.00%> (-35.87%) ⬇️
core-backend/wasmi/src/memory.rs 56.66% <0.00%> (-24.29%) ⬇️
core-backend/wasmi/src/env.rs 57.53% <0.00%> (-22.47%) ⬇️
core-backend/common/src/lib.rs 50.00% <0.00%> (-21.43%) ⬇️
... and 34 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@breathx breathx merged commit cc30d06 into master Aug 18, 2022
@breathx breathx deleted the dn-rpc-call-for-create-program branch August 18, 2022 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview PR is ready to be reviewed by the team C1-feature Feature request D2-node Gear Node
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants