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

Update substrate #1038

Merged
merged 18 commits into from
Jun 12, 2022
Merged

Update substrate #1038

merged 18 commits into from
Jun 12, 2022

Conversation

ukint-vs
Copy link
Member

@ukint-vs ukint-vs commented Jun 9, 2022

@ukint-vs ukint-vs added A0-pleasereview PR is ready to be reviewed by the team D2-node Gear Node labels Jun 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2022

c71d125
Pallet tests (values are in nanosegconds)

Total execution time

name current median average lower/upper quartile min max
Total time 143 824 000 000; +5699.35% ❗ 2 480 000 000 5 767 790 000 (2 441 000 000; 2 645 500 000) 2 372 000 000 185 132 000 000

name = pallet-gas

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 31 000 000; +24.00% ✔️ 25 000 000 36 610 000 (18 500 000; 31 500 000) 5 000 000 405 000 000
tests::all_keys_are_cleared 30 000 000; -18.92% ✔️ 37 000 000 61 050 000 (28 000 000; 50 500 000) 16 000 000 382 000 000
tests::gas_free_after_consumed 37 000 000; +7.25% ✔️ 34 500 000 55 870 000 (26 500 000; 44 000 000) 14 000 000 352 000 000
tests::limit_vs_origin 19 000 000; -42.42% ✔️ 33 000 000 54 950 000 (25 000 000; 44 000 000) 11 000 000 352 000 000
tests::long_chain 20 000 000; -43.66% ✔️ 35 500 000 53 420 000 (25 000 000; 44 000 000) 9 000 000 392 000 000
tests::simple_value_tree 19 000 000; -41.54% ✔️ 32 500 000 55 710 000 (25 500 000; 45 000 000) 7 000 000 592 000 000
tests::split_with_no_value 61 000 000; +93.65% ❗ 31 500 000 55 290 000 (23 000 000; 43 000 000) 10 000 000 396 000 000
tests::sub_nodes_tree 56 000 000; +51.35% ❗ 37 000 000 55 900 000 (23 000 000; 52 500 000) 12 000 000 370 000 000
tests::sub_nodes_tree_with_spends 26 000 000; -25.71% ✔️ 35 000 000 54 160 000 (26 500 000; 51 500 000) 16 000 000 457 000 000
tests::subtree_gas_limit_remains_intact 53 000 000; +35.90% ❗ 39 000 000 56 230 000 (28 000 000; 52 000 000) 9 000 000 316 000 000
tests::value_tree_known_errors 44 000 000; +25.71% ✔️ 35 000 000 53 550 000 (28 000 000; 52 000 000) 16 000 000 280 000 000

name = pallet-gear

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 14 000 000; -46.15% ✔️ 26 000 000 38 340 000 (15 000 000; 36 000 000) 7 000 000 379 000 000
schedule::test::print_test_schedule 15 000 000; -41.18% ✔️ 25 500 000 38 970 000 (18 500 000; 35 500 000) 8 000 000 346 000 000
tests::block_gas_limit_works 40 000 000; -17.53% ✔️ 48 500 000 67 440 000 (35 000 000; 72 500 000) 17 000 000 333 000 000
tests::call_forbidden_function 24 000 000; -44.19% ✔️ 43 000 000 67 420 000 (34 500 000; 64 500 000) 14 000 000 344 000 000
tests::cascading_messages_with_value_do_not_overcharge 281 000 000; +8.70% ✔️ 258 500 000 343 040 000 (218 000 000; 327 500 000) 153 000 000 1 537 000 000
tests::claim_value_from_mailbox_works 36 000 000; -33.94% ✔️ 54 500 000 75 500 000 (37 500 000; 72 000 000) 18 000 000 467 000 000
tests::defer_program_initialization 125 000 000; +12.11% ✔️ 111 500 000 133 130 000 (83 000 000; 139 000 000) 50 000 000 652 000 000
tests::distributor_distribute 255 000 000; +151.23% ❗ 101 500 000 145 080 000 (79 500 000; 136 000 000) 44 000 000 1 244 000 000
tests::distributor_initialize 72 000 000; -14.29% ✔️ 84 000 000 102 120 000 (65 500 000; 108 000 000) 27 000 000 413 000 000
tests::events_logging_works 59 000 000; +3.51% ✔️ 57 000 000 84 940 000 (44 000 000; 96 500 000) 21 000 000 651 000 000
tests::exit_handle 76 000 000; +29.91% ✔️ 58 500 000 82 250 000 (43 000 000; 92 500 000) 26 000 000 364 000 000
tests::exit_init 87 000 000; +2.96% ✔️ 84 500 000 109 550 000 (65 500 000; 112 500 000) 36 000 000 511 000 000
tests::gas_spent_precalculated 44 000 000; -27.27% ✔️ 60 500 000 78 210 000 (47 000 000; 81 500 000) 16 000 000 340 000 000
tests::gas_spent_vs_balance 137 000 000; +4.18% ✔️ 131 500 000 170 730 000 (105 500 000; 160 000 000) 69 000 000 1 101 000 000
tests::init_message_logging_works 35 000 000; -42.15% ✔️ 60 500 000 80 700 000 (47 500 000; 94 000 000) 12 000 000 559 000 000
tests::init_wait_reply_exit_cleaned_storage 201 000 000; +68.91% ❗ 119 000 000 145 640 000 (103 000 000; 158 500 000) 48 000 000 536 000 000
tests::lazy_pages 256 000 000; +293.85% ❗ 65 000 000 85 320 000 (48 500 000; 89 500 000) 27 000 000 456 000 000
tests::mailbox_works 104 000 000; +49.64% ❗ 69 500 000 92 240 000 (52 000 000; 85 000 000) 24 000 000 840 000 000
tests::memory_access_cases 153 000 000; +146.77% ❗ 62 000 000 83 830 000 (51 000 000; 90 500 000) 26 000 000 309 000 000
tests::messages_processing_works 307 000 000; +358.21% ❗ 67 000 000 83 060 000 (52 000 000; 90 500 000) 18 000 000 451 000 000
tests::messages_to_paused_program_skipped 255 000 000; +209.09% ❗ 82 500 000 109 690 000 (65 000 000; 109 500 000) 35 000 000 557 000 000
tests::messages_to_uninitialized_program_wait 81 000 000; +3.18% ✔️ 78 500 000 99 770 000 (63 000 000; 110 500 000) 28 000 000 471 000 000
tests::no_redundant_gas_value_after_exiting 176 000 000; +166.67% ❗ 66 000 000 85 100 000 (52 500 000; 91 500 000) 17 000 000 404 000 000
tests::paused_program_keeps_id 389 000 000; +318.28% ❗ 93 000 000 130 130 000 (68 500 000; 124 000 000) 34 000 000 667 000 000
tests::program_lifecycle_works 134 000 000; +119.67% ❗ 61 000 000 78 270 000 (44 000 000; 87 000 000) 20 000 000 708 000 000
tests::program_messages_to_paused_program_skipped 451 000 000; +265.18% ❗ 123 500 000 166 880 000 (93 000 000; 152 500 000) 55 000 000 920 000 000
tests::replies_to_paused_program_skipped 101 000 000; +27.85% ✔️ 79 000 000 98 190 000 (57 000 000; 105 000 000) 29 000 000 440 000 000
tests::restrict_start_section 49 000 000; -20.33% ✔️ 61 500 000 83 770 000 (44 000 000; 83 500 000) 19 000 000 660 000 000
tests::resume_program_works 435 000 000; +264.02% ❗ 119 500 000 150 420 000 (99 000 000; 153 000 000) 58 000 000 696 000 000
tests::send_message_expected_failure 285 000 000; +375.00% ❗ 60 000 000 79 430 000 (45 000 000; 82 000 000) 21 000 000 600 000 000
tests::send_message_works 282 000 000; +362.30% ❗ 61 000 000 81 390 000 (45 000 000; 90 000 000) 13 000 000 412 000 000
tests::send_reply_failure_to_claim_from_mailbox 178 000 000; +201.69% ❗ 59 000 000 85 100 000 (44 500 000; 90 500 000) 24 000 000 456 000 000
tests::send_reply_value_claiming_works 311 000 000; +389.76% ❗ 63 500 000 87 660 000 (45 500 000; 88 500 000) 19 000 000 528 000 000
tests::send_reply_works 294 000 000; +329.20% ❗ 68 500 000 86 750 000 (49 500 000; 91 500 000) 24 000 000 608 000 000
tests::spent_gas_to_reward_block_author_works 184 000 000; +183.08% ❗ 65 000 000 77 070 000 (40 000 000; 88 000 000) 18 000 000 496 000 000
tests::submit_program_expected_failure 243 000 000; +285.71% ❗ 63 000 000 79 320 000 (45 000 000; 87 000 000) 15 000 000 419 000 000
tests::submit_program_fails_on_duplicate_id 47 000 000; -25.40% ✔️ 63 000 000 89 340 000 (46 000 000; 97 000 000) 19 000 000 424 000 000
tests::test_code_is_not_reset_within_program_submission 112 000 000; +79.20% ❗ 62 500 000 78 860 000 (43 500 000; 95 000 000) 15 000 000 444 000 000
tests::test_code_is_not_submitted_twice_after_program_submission 154 000 000; +146.40% ❗ 62 500 000 78 360 000 (44 000 000; 93 000 000) 20 000 000 475 000 000
tests::test_code_submission_pass 118 000 000; +114.55% ❗ 55 000 000 80 330 000 (40 000 000; 84 000 000) 19 000 000 484 000 000
tests::test_create_program_duplicate 501 000 000; +257.86% ❗ 140 000 000 191 050 000 (109 500 000; 198 500 000) 68 000 000 1 068 000 000
tests::test_create_program_duplicate_in_one_execution 95 000 000; -8.21% ✔️ 103 500 000 126 280 000 (80 500 000; 141 500 000) 41 000 000 480 000 000
tests::test_create_program_miscellaneous 734 000 000; +395.95% ❗ 148 000 000 192 620 000 (117 500 000; 193 500 000) 78 000 000 936 000 000
tests::test_create_program_no_code_hash 409 000 000; +61.34% ❗ 253 500 000 331 869 999 (212 000 000; 306 000 000) 139 000 000 1 263 000 000
tests::test_create_program_simple 337 000 000; +106.12% ❗ 163 500 000 203 090 000 (133 000 000; 201 500 000) 89 000 000 944 000 000
tests::test_create_program_with_exceeding_value 74 000 000; -13.95% ✔️ 86 000 000 103 430 000 (66 500 000; 108 500 000) 26 000 000 456 000 000
tests::test_create_program_with_value_lt_ed 364 000 000; +264.00% ❗ 100 000 000 135 300 000 (81 500 000; 139 000 000) 40 000 000 752 000 000
tests::test_create_program_without_gas_works 339 000 000; +283.05% ❗ 88 500 000 115 600 000 (69 000 000; 116 000 000) 29 000 000 596 000 000
tests::test_message_processing_for_non_existing_destination 129 000 000; +85.61% ❗ 69 500 000 91 910 000 (48 500 000; 93 500 000) 23 000 000 484 000 000
tests::test_reply_to_terminated_program 153 000 000; +82.14% ❗ 84 000 000 104 060 000 (66 000 000; 117 000 000) 24 000 000 484 000 000
tests::test_same_code_submission_fails 223 000 000; +240.46% ❗ 65 500 000 84 150 000 (49 000 000; 92 500 000) 19 000 000 364 000 000
tests::test_two_contracts_composition_works 353 000 000; +44.08% ❗ 245 000 000 301 300 000 (204 000 000; 297 000 000) 131 000 000 1 075 000 000
tests::uninitialized_program_should_accept_replies 168 000 000; +46.09% ❗ 115 000 000 139 400 000 (87 000 000; 151 500 000) 48 000 000 423 000 000
tests::unstoppable_block_execution_works 254 000 000; +260.28% ❗ 70 500 000 87 000 000 (52 500 000; 100 500 000) 17 000 000 328 000 000
tests::unused_gas_released_back_works 93 000 000; +39.85% ❗ 66 500 000 79 140 000 (53 000 000; 84 500 000) 23 000 000 402 000 000
tests::wake_messages_after_program_inited 732 000 000; +225.33% ❗ 225 000 000 289 159 999 (195 000 000; 269 000 000) 131 000 000 1 026 999 999

name = pallet-gear-debug

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 200 000 000; +381.93% ❗ 41 500 000 52 830 000 (29 000 000; 56 500 000) 9 000 000 273 000 000
tests::debug_mode_works 90 000 000; +25.00% ✔️ 72 000 000 84 920 000 (53 500 000; 93 000 000) 19 000 000 412 000 000

name = pallet-gear-messenger

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 63 000 000; +57.50% ❗ 40 000 000 53 420 000 (28 000 000; 58 000 000) 7 000 000 420 000 000
tests::dequeued_impl_works_manually 85 000 000; +44.07% ❗ 59 000 000 73 040 000 (42 000 000; 76 500 000) 15 000 000 309 000 000
tests::queue_processing_impl_works_manually 45 000 000; -25.00% ✔️ 60 000 000 78 270 000 (46 000 000; 79 500 000) 21 000 000 475 000 000
tests::queue_works 55 000 000; -8.33% ✔️ 60 000 000 78 010 000 (45 000 000; 82 500 000) 19 000 000 348 000 000
tests::sent_impl_works 77 000 000; +29.41% ❗ 59 500 000 72 040 000 (44 000 000; 76 000 000) 19 000 000 476 000 000

name = pallet-gear-payment

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 49 000 000; +12.64% ✔️ 43 500 000 53 550 000 (29 000 000; 60 000 000) 5 000 000 293 000 000
tests::custom_fee_multiplier_updated_per_block 43 000 000; -25.22% ✔️ 57 500 000 76 990 000 (45 500 000; 91 000 000) 19 000 000 304 000 000
tests::fee_rounding_error_bounded_by_multiplier 175 000 000; +186.89% ❗ 61 000 000 80 910 000 (42 000 000; 92 000 000) 15 000 000 439 000 000
tests::mq_size_affecting_fee_works 186 000 000; +244.44% ❗ 54 000 000 72 510 000 (39 500 000; 81 000 000) 10 000 000 436 000 000
tests::mq_size_not_affecting_fee_works 67 000 000; +3.88% ✔️ 64 500 000 77 860 000 (43 000 000; 84 500 000) 20 000 000 416 000 000
tests::query_info_and_fee_details_work 20 000 000; -63.96% ✔️ 55 500 000 73 640 000 (41 000 000; 81 000 000) 12 000 000 482 000 000

name = pallet-gear-program

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 128 000 000; +197.67% ❗ 43 000 000 55 920 000 (27 000 000; 70 500 000) 7 000 000 336 000 000
tests::pause_program_twice_fails 109 000 000; +100.00% ❗ 54 500 000 69 140 000 (39 000 000; 73 500 000) 17 000 000 360 000 000
tests::pause_program_works 252 000 000; +254.93% ❗ 71 000 000 90 850 000 (59 500 000; 96 500 000) 26 000 000 474 000 000
tests::pause_terminated_program_fails 141 000 000; +135.00% ❗ 60 000 000 71 150 000 (46 000 000; 80 000 000) 17 000 000 279 000 000
tests::pause_uninitialized_program_works 190 000 000; +150.00% ❗ 76 000 000 91 310 000 (59 500 000; 103 000 000) 25 000 000 264 000 000
tests::resume_program_twice_fails 210 000 000; +123.40% ❗ 94 000 000 109 780 000 (74 500 000; 117 000 000) 44 000 000 312 000 000
tests::resume_program_wrong_list_fails 128 000 000; +60.00% ❗ 80 000 000 95 700 000 (59 500 000; 103 500 000) 28 000 000 364 000 000
tests::resume_program_wrong_memory_fails 200 000 000; +151.57% ❗ 79 500 000 99 770 000 (66 000 000; 109 500 000) 39 000 000 304 000 000
tests::resume_uninitialized_program_works 131 000 000; +48.02% ❗ 88 500 000 104 930 000 (67 500 000; 111 500 000) 31 000 000 332 000 000

name = pallet-usage

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 71 000 000; +65.12% ✔️ 43 000 000 64 900 000 (31 000 000; 72 000 000) 5 000 000 308 000 000
tests::dust_discarded_with_noop 105 000 000; +84.21% ❗ 57 000 000 71 970 000 (41 000 000; 79 500 000) 16 000 000 340 000 000
tests::external_submitter_gets_rewarded 44 000 000; -25.42% ✔️ 59 000 000 75 260 000 (43 500 000; 80 000 000) 17 000 000 335 000 000
tests::gas_properly_handled_for_trap_replies 136 000 000; +164.08% ❗ 51 500 000 75 800 000 (41 500 000; 79 500 000) 17 000 000 375 000 000
tests::ocw_double_charge 296 000 000; +385.25% ❗ 61 000 000 74 800 000 (44 000 000; 82 000 000) 13 000 000 392 000 000
tests::ocw_interval_maintained 66 000 000; +14.78% ✔️ 57 500 000 74 870 000 (41 500 000; 79 500 000) 23 000 000 336 000 000
tests::ocw_interval_stretches_for_large_wait_list 132 000 000; +111.20% ❗ 62 500 000 77 950 000 (45 000 000; 86 500 000) 23 000 000 352 000 000
tests::ocw_overlapping_prevented 39 000 000; -26.42% ✔️ 53 000 000 67 560 000 (38 000 000; 77 500 000) 17 000 000 288 000 000
tests::rent_charge_works 45 000 000; -28.00% ✔️ 62 500 000 75 550 000 (46 500 000; 85 500 000) 14 000 000 237 000 000
tests::trap_reply_message_is_sent 54 000 000; -2.70% ✔️ 55 500 000 65 270 000 (38 500 000; 73 000 000) 13 000 000 248 000 000
Runtime tests (values are in nanoseconds)

Total execution time

name current median average lower/upper quartile min max
Total time 545 805 432 346; +237.16% ‼️ 161 883 820 107 186 198 067 678 (160 168 250 905; 172 725 821 147) 149 359 362 067 507 601 598 128

name = Async RwLock

name current median average lower/upper quartile min max
check readers 581 946 787; +1028.63% ❗ 51 562 315 137 857 993 (42 535 755; 69 246 740) 31 337 721 2 716 438 344
forever lock 2 329 578 089; +3258.96% ❗ 69 354 125 215 840 162 (60 658 053; 122 188 636) 45 374 197 3 921 859 925
read while writing 4 467 241 041; +3615.49% ‼️ 120 232 753 270 877 142 (101 023 053; 174 354 791) 75 755 344 2 640 042 710
rwlock wide 8 537 872 746; +3285.77% ❗ 252 169 636 633 321 654 (230 976 416; 308 553 855) 166 554 472 9 771 573 241
write while reading 6 290 977 109; +3974.77% ‼️ 154 388 444 382 546 028 (130 370 034; 209 486 703) 95 889 452 5 169 782 902

name = Async init

name current median average lower/upper quartile min max
approved pong 34 359 689 807; +100.65% ‼️ 17 123 835 577 18 704 175 649 (16 915 431 737; 17 921 702 230) 16 492 475 292 33 314 373 175

name = Async-await

name current median average lower/upper quartile min max
normal 3 155 505 931; +3798.36% ❗ 80 944 443 212 886 267 (71 453 760; 94 954 937) 32 968 683 6 220 506 799
panic 720 155 618; +858.09% ❗ 75 166 027 110 286 264 (49 376 837; 89 259 805) 30 400 819 1 038 349 778

name = Async-duplicates-sync

name current median average lower/upper quartile min max
async-duplicates-sync 6 164 682 301; +4411.43% ❗ 136 645 803 368 315 327 (122 436 336; 155 833 322) 67 752 413 7 452 527 442

name = Async-multisig (well known cases)

name current median average lower/upper quartile min max
2 of 3; bob & alice 22 554 521 149; +136.62% ❗ 9 531 799 268 10 582 059 297 (9 343 708 410; 10 088 319 052) 8 677 189 857 25 064 694 006
2 of 3; bob & eve 27 315 802 758; +187.63% ‼️ 9 496 728 425 10 649 531 508 (9 313 514 991; 10 111 860 109) 8 973 496 826 24 744 847 561
2 of 3; eve & alice 26 064 052 429; +174.13% ‼️ 9 507 803 632 10 443 423 823 (9 281 923 312; 10 070 288 920) 8 656 095 949 17 862 844 229
2 of 3; eve doesn't answer, alice replies with incorrect payload 23 210 563 088; +147.59% ‼️ 9 374 507 580 10 345 022 685 (9 176 340 809; 9 842 058 783) 8 736 128 495 20 775 491 414
2 of 3; no replies 17 328 474 749; +88.45% ❗ 9 195 175 171 10 127 631 879 (9 029 767 187; 9 595 310 222) 8 512 496 781 19 223 525 665
Single signatory & zero threshold 29 194 872 424; +211.65% ‼️ 9 367 867 349 10 502 470 129 (9 191 008 874; 9 957 897 352) 8 804 395 503 24 845 995 381
Three signatories & redundand threshold 26 969 128 940; +180.86% ‼️ 9 602 492 190 10 626 612 984 (9 334 856 331; 10 121 130 167) 8 680 357 668 20 728 608 495
Three signatories; Bob replies with incorrect signature 25 204 387 475; +170.80% ‼️ 9 307 281 086 10 446 637 483 (9 153 690 666; 9 835 824 610) 8 379 350 205 22 853 213 581
Three signatories; Eve doesn't answer, Alice replies with incorrect payload 20 602 741 296; +121.32% ❗ 9 308 837 332 10 312 876 726 (9 146 186 159; 9 944 816 268) 8 429 506 178 20 650 904 083

name = Async-sign (well known cases)

name current median average lower/upper quartile min max
bad signature 17 951 979 227; +255.84% ‼️ 5 044 983 521 5 522 118 546 (4 887 552 682; 5 266 804 035) 3 981 987 195 11 527 022 115
correct signature but for another message 17 769 411 806; +242.85% ‼️ 5 182 801 310 5 721 139 016 (5 012 116 170; 5 426 137 521) 4 214 335 446 11 962 301 546
no reply 11 411 519 813; +128.94% ‼️ 4 984 594 329 5 428 260 975 (4 758 924 543; 5 280 167 360) 3 883 154 567 10 711 420 864
signed message 18 503 678 313; +256.14% ‼️ 5 195 625 989 5 766 158 340 (4 957 675 093; 5 396 396 343) 4 332 563 460 17 419 286 228

name = Basic capacitor check

name current median average lower/upper quartile min max
Test charging/discharging 3 571 445 904; +3652.80% ❗ 95 167 584 214 941 897 (77 903 542; 108 999 589) 42 655 247 4 640 385 813

name = Decoder

name current median average lower/upper quartile min max
decoder 4 611 129 881; +6876.59% ❗ 66 094 319 188 069 580 (35 961 077; 79 714 658) 22 524 457 7 024 404 804

name = Futures-unordered

name current median average lower/upper quartile min max
futures-unordered 10 624 645 796; +3180.88% ‼️ 323 835 103 721 457 985 (289 725 524; 401 222 219) 204 744 239 10 102 961 408
join 8 497 483 133; +3230.18% ❗ 255 166 161 504 404 412 (229 524 860; 357 888 657) 180 787 528 9 691 953 333
select 9 883 439 921; +3503.45% ❗ 274 276 979 627 057 065 (228 655 105; 368 381 297) 178 588 329 10 273 264 511

name = Incomplete-async-payloads

name current median average lower/upper quartile min max
incomplete-async-payloads 5 904 632 308; +2112.29% ❗ 266 901 228 634 512 356 (243 368 272; 321 450 161) 167 883 248 9 809 674 837

name = Memory test

name current median average lower/upper quartile min max
Test for memory result 3 391 228 179; +3591.75% ❗ 91 859 573 263 223 267 (75 527 576; 114 247 302) 47 123 807 5 836 412 986

name = Messages to failed program are handled properly

name current median average lower/upper quartile min max
handle messages to failed program 2 293 348 275; +2801.92% ❗ 79 028 689 302 641 896 (37 957 584; 106 697 128) 21 058 591 8 496 790 965

name = Meta ping (simple check)

name current median average lower/upper quartile min max
meta check 28 699 583 946; +77.61% ❗ 16 159 055 655 17 515 445 689 (15 850 968 255; 17 246 136 132) 15 487 317 227 32 434 923 832

name = Multiping

name current median average lower/upper quartile min max
multiping 3 024 356 904; +4072.60% ❗ 72 481 320 182 937 366 (56 079 635; 81 740 369) 26 655 031 5 792 455 119

name = Ping-pong

name current median average lower/upper quartile min max
ping-pong 699 981 329; +1441.38% ❗ 45 412 492 152 305 451 (27 690 546; 66 734 036) 16 608 169 3 904 545 562
ping-pong wgas 663 757 423; +1152.17% ❗ 53 008 767 98 024 845 (41 133 586; 79 975 241) 28 801 369 1 267 952 206

name = Program_id test

name current median average lower/upper quartile min max
program_id 1 766 338 445; +2582.40% ❗ 65 849 106 167 788 287 (58 027 199; 75 722 632) 22 284 396 3 714 632 612

name = State-rollback

name current median average lower/upper quartile min max
state-rollback 3 240 537 009; +4760.76% ‼️ 66 667 357 121 054 393 (46 746 109; 100 466 659) 30 999 446 1 528 116 450
state-saving 3 161 469 758; +6136.14% ‼️ 50 695 901 96 969 478 (41 268 367; 82 870 218) 31 990 020 1 051 490 388

name = Test create_program sys-call

name current median average lower/upper quartile min max
Simple creation of program from program 1 805 431 679; +2408.70% ❗ 71 966 840 190 724 724 (63 846 157; 86 167 528) 25 961 610 4 499 309 774
Try to re-init existing program 848 036 401; +880.72% ❗ 86 471 082 187 219 311 (65 639 704; 108 426 174) 47 663 316 4 654 409 480

name = Trap test

name current median average lower/upper quartile min max
Test for trap result 199 019 210; +722.63% ❗ 24 193 060 55 349 766 (18 239 367; 47 296 506) 12 036 417 463 753 774

name = Wait test

name current median average lower/upper quartile min max
wait 2 936 315 988; +4274.22% ‼️ 67 127 701 119 604 884 (53 627 299; 100 221 900) 32 948 479 1 195 736 809

name = basic

name current median average lower/upper quartile min max
test-vec (2 * 65536 * size_of(u8) = 128 KiB = 2 pages) 10 942 529 612; +3801.84% ‼️ 280 445 232 586 497 824 (231 186 045; 363 311 055) 168 202 949 4 850 537 749

name = collector-1

name current median average lower/upper quartile min max
collector pass 2 messages 5 016 884 415; +4786.45% ❗ 102 669 212 287 738 243 (88 144 867; 116 073 212) 66 518 287 7 624 389 982

name = guestbook test

name current median average lower/upper quartile min max
guestbook 19 350 591 210; +114.04% ‼️ 9 040 688 331 10 020 568 952 (8 888 191 663; 9 729 117 024) 7 989 626 171 19 144 048 400

name = gui test

name current median average lower/upper quartile min max
gui 26 925 392 419; +132.53% ‼️ 11 579 366 077 12 806 374 859 (11 330 324 545; 12 179 684 479) 10 908 324 981 26 769 507 857
1352194
Pallet tests (values are in nanoseconds)

Total execution time

name current median average lower/upper quartile min max
Total time 94 374 000 000; +3737.12% ❗ 2 459 500 000 3 632 710 000 (2 431 500 000; 2 480 500 000) 2 341 000 000 119 626 000 000

name = pallet-gas

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 30 000 000; +25.00% ❗ 24 000 000 23 740 000 (19 000 000; 29 000 000) 5 000 000 52 000 000
tests::all_keys_are_cleared 20 000 000; -37.50% ✔️ 32 000 000 33 930 000 (26 000 000; 40 500 000) 13 000 000 70 000 000
tests::gas_free_after_consumed 24 000 000; -28.36% ✔️ 33 500 000 32 220 000 (24 000 000; 39 500 000) 9 000 000 53 000 000
tests::limit_vs_origin 41 000 000; +36.67% ❗ 30 000 000 31 300 000 (24 000 000; 37 000 000) 9 000 000 68 000 000
tests::long_chain 50 000 000; +66.67% ❗ 30 000 000 31 360 000 (23 000 000; 38 500 000) 9 000 000 63 000 000
tests::simple_value_tree 36 000 000; +28.57% ❗ 28 000 000 29 310 000 (22 000 000; 35 500 000) 9 000 000 75 000 000
tests::split_with_no_value 30 000 000; +1.69% ✔️ 29 500 000 31 660 000 (24 500 000; 38 000 000) 7 000 000 59 000 000
tests::sub_nodes_tree 44 000 000; +39.68% ❗ 31 500 000 33 900 000 (24 000 000; 40 500 000) 10 000 000 76 000 000
tests::sub_nodes_tree_with_spends 41 000 000; +28.12% ❗ 32 000 000 33 280 000 (24 000 000; 41 000 000) 9 000 000 65 000 000
tests::subtree_gas_limit_remains_intact 36 000 000; +12.50% ✔️ 32 000 000 34 630 000 (25 000 000; 41 000 000) 13 000 000 77 000 000
tests::value_tree_known_errors 26 000 000; -25.71% ✔️ 35 000 000 36 830 000 (26 500 000; 44 000 000) 9 000 000 70 000 000

name = pallet-gear

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 36 000 000; +75.61% ❗ 20 500 000 23 920 000 (14 000 000; 34 000 000) 7 000 000 76 000 000
schedule::test::print_test_schedule 29 000 000; +34.88% ✔️ 21 500 000 24 040 000 (16 000 000; 29 500 000) 7 000 000 89 000 000
tests::block_gas_limit_works 60 000 000; +44.58% ❗ 41 500 000 44 430 000 (34 000 000; 51 000 000) 18 000 000 106 000 000
tests::call_forbidden_function 32 000 000; -15.79% ✔️ 38 000 000 41 820 000 (32 000 000; 51 500 000) 19 000 000 83 000 000
tests::cascading_messages_with_value_do_not_overcharge 284 000 000; +26.79% ❗ 224 000 000 232 160 000 (196 500 000; 254 000 000) 151 000 000 432 000 000
tests::claim_value_from_mailbox_works 42 000 000; -12.50% ✔️ 48 000 000 49 510 000 (35 000 000; 57 000 000) 20 000 000 119 000 000
tests::defer_program_initialization 101 000 000; -1.46% ✔️ 102 500 000 102 310 000 (81 000 000; 119 000 000) 56 000 000 189 000 000
tests::distributor_distribute 145 000 000; +71.60% ❗ 84 500 000 90 480 000 (70 500 000; 109 000 000) 39 000 000 172 000 000
tests::distributor_initialize 95 000 000; +27.52% ❗ 74 500 000 75 520 000 (60 500 000; 88 500 000) 32 000 000 156 000 000
tests::events_logging_works 107 000 000; +98.15% ❗ 54 000 000 56 570 000 (43 000 000; 68 000 000) 16 000 000 128 000 000
tests::exit_handle 81 000 000; +60.40% ❗ 50 500 000 54 040 000 (41 000 000; 64 500 000) 20 000 000 113 000 000
tests::exit_init 99 000 000; +44.53% ❗ 68 500 000 72 700 000 (56 500 000; 84 000 000) 35 000 000 147 000 000
tests::gas_spent_precalculated 64 000 000; +23.08% ✔️ 52 000 000 56 320 000 (41 500 000; 65 000 000) 23 000 000 129 000 000
tests::gas_spent_vs_balance 317 000 000; +176.86% ‼️ 114 500 000 115 830 000 (96 000 000; 134 500 000) 55 000 000 190 000 000
tests::init_message_logging_works 124 000 000; +117.54% ‼️ 57 000 000 58 960 000 (43 000 000; 72 500 000) 19 000 000 113 000 000
tests::init_wait_reply_exit_cleaned_storage 261 000 000; +140.55% ‼️ 108 500 000 112 360 000 (90 500 000; 130 500 000) 54 000 000 223 000 000
tests::lazy_pages 203 000 000; +269.09% ‼️ 55 000 000 58 200 000 (44 500 000; 70 000 000) 22 000 000 111 000 000
tests::mailbox_works 156 000 000; +205.88% ‼️ 51 000 000 57 140 000 (39 000 000; 70 500 000) 19 000 000 140 000 000
tests::memory_access_cases 105 000 000; +70.73% ❗ 61 500 000 61 690 000 (42 500 000; 74 500 000) 22 000 000 126 000 000
tests::messages_processing_works 78 000 000; +43.12% ❗ 54 500 000 56 950 000 (41 000 000; 71 000 000) 21 000 000 126 000 000
tests::messages_to_paused_program_skipped 167 000 000; +133.57% ❗ 71 500 000 76 710 000 (55 500 000; 90 000 000) 30 000 000 180 000 000
tests::messages_to_uninitialized_program_wait 142 000 000; +90.60% ❗ 74 500 000 76 150 000 (58 000 000; 87 500 000) 27 000 000 177 000 000
tests::no_redundant_gas_value_after_exiting 160 000 000; +164.46% ‼️ 60 500 000 61 660 000 (46 000 000; 72 000 000) 23 000 000 130 000 000
tests::paused_program_keeps_id 353 000 000; +352.56% ‼️ 78 000 000 80 810 000 (61 000 000; 97 000 000) 31 000 000 158 000 000
tests::program_lifecycle_works 98 000 000; +68.97% ❗ 58 000 000 61 370 000 (44 000 000; 73 000 000) 21 000 000 133 000 000
tests::program_messages_to_paused_program_skipped 280 000 000; +147.79% ‼️ 113 000 000 118 590 000 (89 000 000; 139 000 000) 68 000 000 228 000 000
tests::replies_to_paused_program_skipped 261 000 000; +265.03% ‼️ 71 500 000 71 190 000 (55 500 000; 85 000 000) 29 000 000 133 000 000
tests::restrict_start_section 78 000 000; +56.00% ❗ 50 000 000 56 820 000 (41 000 000; 68 000 000) 20 000 000 144 000 000
tests::resume_program_works 256 000 000; +135.94% ‼️ 108 500 000 113 170 000 (86 500 000; 138 000 000) 51 000 000 212 000 000
tests::send_message_expected_failure 98 000 000; +83.18% ❗ 53 500 000 56 500 000 (39 000 000; 69 500 000) 19 000 000 150 000 000
tests::send_message_works 108 000 000; +92.86% ❗ 56 000 000 57 950 000 (42 500 000; 71 000 000) 17 000 000 114 000 000
tests::send_reply_failure_to_claim_from_mailbox 105 000 000; +87.50% ❗ 56 000 000 58 890 000 (42 000 000; 72 000 000) 26 000 000 116 000 000
tests::send_reply_value_claiming_works 97 000 000; +55.20% ❗ 62 500 000 64 200 000 (49 000 000; 80 000 000) 23 000 000 145 000 000
tests::send_reply_works 145 000 000; +150.00% ❗ 58 000 000 62 980 000 (47 000 000; 74 500 000) 17 000 000 160 000 000
tests::spent_gas_to_reward_block_author_works 73 000 000; +33.94% ✔️ 54 500 000 60 340 000 (41 000 000; 73 500 000) 17 000 000 159 000 000
tests::submit_program_expected_failure 183 000 000; +215.52% ‼️ 58 000 000 58 190 000 (43 000 000; 71 000 000) 18 000 000 109 000 000
tests::submit_program_fails_on_duplicate_id 87 000 000; +64.15% ❗ 53 000 000 57 190 000 (37 000 000; 75 000 000) 20 000 000 142 000 000
tests::test_code_is_not_reset_within_program_submission 112 000 000; +121.78% ❗ 50 500 000 52 660 000 (36 000 000; 63 000 000) 11 000 000 115 000 000
tests::test_code_is_not_submitted_twice_after_program_submission 179 000 000; +228.44% ‼️ 54 500 000 56 780 000 (40 000 000; 70 000 000) 17 000 000 139 000 000
tests::test_code_submission_pass 110 000 000; +124.49% ❗ 49 000 000 52 170 000 (33 000 000; 62 000 000) 15 000 000 143 000 000
tests::test_create_program_duplicate 277 000 000; +106.72% ‼️ 134 000 000 136 260 000 (113 500 000; 153 500 000) 65 000 000 266 000 000
tests::test_create_program_duplicate_in_one_execution 124 000 000; +37.02% ❗ 90 500 000 95 740 000 (72 500 000; 114 000 000) 42 000 000 199 000 000
tests::test_create_program_miscellaneous 544 000 000; +285.82% ‼️ 141 000 000 146 730 000 (122 000 000; 171 000 000) 70 000 000 301 000 000
tests::test_create_program_no_code_hash 487 000 000; +92.87% ‼️ 252 500 000 253 820 000 (209 500 000; 287 000 000) 156 000 000 423 000 000
tests::test_create_program_simple 541 000 000; +258.28% ‼️ 151 000 000 155 400 000 (136 000 000; 177 500 000) 82 000 000 248 000 000
tests::test_create_program_with_exceeding_value 92 000 000; +28.67% ❗ 71 500 000 75 340 000 (54 000 000; 89 000 000) 24 000 000 210 000 000
tests::test_create_program_with_value_lt_ed 263 000 000; +181.28% ‼️ 93 500 000 100 230 000 (77 500 000; 123 500 000) 49 000 000 182 000 000
tests::test_create_program_without_gas_works 155 000 000; +108.05% ‼️ 74 500 000 79 600 000 (60 000 000; 98 000 000) 24 000 000 150 000 000
tests::test_message_processing_for_non_existing_destination 66 000 000; +14.78% ✔️ 57 500 000 60 550 000 (40 000 000; 75 500 000) 19 000 000 124 000 000
tests::test_reply_to_terminated_program 201 000 000; +191.30% ‼️ 69 000 000 77 170 000 (55 000 000; 93 000 000) 33 000 000 180 000 000
tests::test_same_code_submission_fails 81 000 000; +35.00% ❗ 60 000 000 61 940 000 (43 000 000; 77 000 000) 18 000 000 136 000 000
tests::test_two_contracts_composition_works 871 000 000; +310.85% ‼️ 212 000 000 217 250 000 (189 000 000; 241 000 000) 144 000 000 364 000 000
tests::uninitialized_program_should_accept_replies 221 000 000; +110.48% ‼️ 105 000 000 109 350 000 (83 000 000; 127 000 000) 44 000 000 220 000 000
tests::unstoppable_block_execution_works 166 000 000; +169.92% ‼️ 61 500 000 67 190 000 (49 000 000; 82 500 000) 24 000 000 149 000 000
tests::unused_gas_released_back_works 158 000 000; +148.82% ‼️ 63 500 000 64 360 000 (46 000 000; 80 500 000) 13 000 000 150 000 000
tests::wake_messages_after_program_inited 395 000 000; +79.14% ‼️ 220 500 000 222 760 000 (195 000 000; 252 000 000) 125 000 000 326 000 000

name = pallet-gear-debug

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 30 000 000; -23.08% ✔️ 39 000 000 42 070 000 (24 500 000; 56 000 000) 7 000 000 98 000 000
tests::debug_mode_works 63 000 000; -8.70% ✔️ 69 000 000 70 780 000 (51 500 000; 86 000 000) 20 000 000 128 000 000

name = pallet-gear-messenger

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 59 000 000; +73.53% ❗ 34 000 000 36 750 000 (23 000 000; 52 000 000) 5 000 000 83 000 000
tests::dequeued_impl_works_manually 79 000 000; +49.06% ❗ 53 000 000 55 320 000 (39 000 000; 67 000 000) 13 000 000 127 000 000
tests::queue_processing_impl_works_manually 37 000 000; -27.45% ✔️ 51 000 000 53 710 000 (37 500 000; 66 000 000) 14 000 000 132 000 000
tests::queue_works 60 000 000; +13.21% ✔️ 53 000 000 55 120 000 (37 500 000; 66 500 000) 11 000 000 136 000 000
tests::sent_impl_works 108 000 000; +92.86% ❗ 56 000 000 56 210 000 (38 000 000; 69 000 000) 9 000 000 111 000 000

name = pallet-gear-payment

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 100 000 000; +150.00% ❗ 40 000 000 44 780 000 (28 500 000; 57 500 000) 8 000 000 125 000 000
tests::custom_fee_multiplier_updated_per_block 69 000 000; +28.97% ✔️ 53 500 000 57 550 000 (40 500 000; 72 000 000) 16 000 000 112 000 000
tests::fee_rounding_error_bounded_by_multiplier 70 000 000; +20.69% ✔️ 58 000 000 57 050 000 (40 500 000; 71 500 000) 15 000 000 147 000 000
tests::mq_size_affecting_fee_works 74 000 000; +37.04% ❗ 54 000 000 59 760 000 (44 000 000; 72 500 000) 21 000 000 116 000 000
tests::mq_size_not_affecting_fee_works 87 000 000; +74.00% ❗ 50 000 000 52 060 000 (35 000 000; 64 000 000) 16 000 000 119 000 000
tests::query_info_and_fee_details_work 61 000 000; +12.96% ✔️ 54 000 000 59 760 000 (41 000 000; 75 000 000) 15 000 000 158 000 000

name = pallet-gear-program

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 57 000 000; +56.16% ❗ 36 500 000 40 210 000 (22 000 000; 53 500 000) 4 000 000 135 000 000
tests::pause_program_twice_fails 248 000 000; +350.91% ‼️ 55 000 000 57 700 000 (38 000 000; 69 500 000) 20 000 000 152 000 000
tests::pause_program_works 254 000 000; +279.10% ‼️ 67 000 000 68 890 000 (52 000 000; 81 500 000) 25 000 000 134 000 000
tests::pause_terminated_program_fails 217 000 000; +290.99% ‼️ 55 500 000 58 460 000 (43 000 000; 72 500 000) 17 000 000 141 000 000
tests::pause_uninitialized_program_works 64 000 000; -7.91% ✔️ 69 500 000 71 980 000 (54 500 000; 89 000 000) 26 000 000 148 000 000
tests::resume_program_twice_fails 242 000 000; +175.00% ‼️ 88 000 000 92 250 000 (76 000 000; 105 000 000) 36 000 000 191 000 000
tests::resume_program_wrong_list_fails 269 000 000; +263.51% ‼️ 74 000 000 79 520 000 (64 000 000; 91 500 000) 37 000 000 156 000 000
tests::resume_program_wrong_memory_fails 237 000 000; +216.00% ‼️ 75 000 000 81 300 000 (62 000 000; 102 500 000) 31 000 000 159 000 000
tests::resume_uninitialized_program_works 280 000 000; +250.00% ‼️ 80 000 000 84 180 000 (69 000 000; 101 500 000) 34 000 000 144 000 000

name = pallet-usage

name current median average lower/upper quartile min max
mock::__construct_runtime_integrity_test::runtime_integrity_tests 150 000 000; +257.14% ‼️ 42 000 000 41 930 000 (26 000 000; 53 500 000) 7 000 000 122 000 000
tests::dust_discarded_with_noop 104 000 000; +94.39% ❗ 53 500 000 55 850 000 (40 500 000; 69 000 000) 17 000 000 110 000 000
tests::external_submitter_gets_rewarded 143 000 000; +175.00% ‼️ 52 000 000 54 050 000 (39 000 000; 63 000 000) 11 000 000 128 000 000
tests::gas_properly_handled_for_trap_replies 128 000 000; +153.47% ‼️ 50 500 000 51 610 000 (36 000 000; 63 500 000) 16 000 000 125 000 000
tests::ocw_double_charge 73 000 000; +32.73% ❗ 55 000 000 57 020 000 (44 000 000; 72 500 000) 15 000 000 109 000 000
tests::ocw_interval_maintained 76 000 000; +46.15% ❗ 52 000 000 54 640 000 (37 000 000; 66 500 000) 16 000 000 120 000 000
tests::ocw_interval_stretches_for_large_wait_list 50 000 000; +2.04% ✔️ 49 000 000 55 200 000 (38 500 000; 71 000 000) 10 000 000 108 000 000
tests::ocw_overlapping_prevented 104 000 000; +114.43% ‼️ 48 500 000 50 090 000 (38 000 000; 61 500 000) 21 000 000 95 000 000
tests::rent_charge_works 80 000 000; +55.34% ❗ 51 500 000 52 070 000 (40 500 000; 64 000 000) 14 000 000 99 000 000
tests::trap_reply_message_is_sent 162 000 000; +237.50% ‼️ 48 000 000 49 570 000 (36 000 000; 59 500 000) 14 000 000 103 000 000
Runtime tests (values are in nanoseconds)

Total execution time

name current median average lower/upper quartile min max
Total time 221 126 911 285; +37.68% ‼️ 160 607 132 307 160 507 949 718 (160 039 173 021; 160 960 472 100) 158 497 421 625 162 977 991 054

name = Async RwLock

name current median average lower/upper quartile min max
check readers 324 662 479; +618.87% ‼️ 45 162 783 49 263 271 (40 941 790; 51 624 044) 30 285 066 116 690 077
forever lock 420 083 285; +573.16% ‼️ 62 405 111 73 060 441 (56 066 423; 81 812 224) 45 580 604 148 144 365
read while writing 890 657 593; +684.31% ‼️ 113 559 639 123 230 648 (100 311 923; 153 430 330) 80 189 926 187 289 256
rwlock wide 1 463 232 782; +513.15% ‼️ 238 642 622 231 843 357 (215 537 030; 250 790 870) 169 347 609 286 061 270
write while reading 1 010 237 348; +646.94% ‼️ 135 249 818 147 942 419 (125 474 967; 177 603 491) 93 586 277 213 650 584

name = Async init

name current median average lower/upper quartile min max
approved pong 17 584 428 445; +3.77% ‼️ 16 946 377 401 16 964 459 730 (16 805 518 435; 17 094 634 956) 16 581 226 476 17 394 214 080

name = Async-await

name current median average lower/upper quartile min max
normal 319 851 090; +318.27% ‼️ 76 470 367 73 245 643 (66 898 951; 82 925 744) 32 739 394 104 430 349
panic 364 671 524; +567.07% ‼️ 54 667 911 62 172 787 (45 306 597; 80 992 871) 31 258 005 108 183 245

name = Async-duplicates-sync

name current median average lower/upper quartile min max
async-duplicates-sync 647 031 641; +398.48% ‼️ 129 801 798 121 110 006 (107 108 910; 139 656 653) 65 861 296 156 662 197

name = Async-multisig (well known cases)

name current median average lower/upper quartile min max
2 of 3; bob & alice 16 287 487 577; +74.57% ‼️ 9 330 005 209 9 329 092 846 (9 221 237 440; 9 443 368 677) 8 920 738 476 9 711 072 479
2 of 3; bob & eve 16 646 174 297; +77.92% ‼️ 9 356 056 577 9 361 720 794 (9 246 630 499; 9 461 142 301) 9 003 717 746 9 862 382 943
2 of 3; eve & alice 15 865 329 386; +70.40% ‼️ 9 310 840 181 9 323 108 423 (9 191 787 321; 9 432 716 143) 8 927 984 532 9 840 582 957
2 of 3; eve doesn't answer, alice replies with incorrect payload 10 002 758 242; +9.08% ‼️ 9 170 339 989 9 183 451 129 (9 068 415 275; 9 303 022 819) 8 799 317 431 9 668 963 467
2 of 3; no replies 9 030 995 470; +0.12% ✔️ 9 020 456 128 9 034 376 558 (8 883 347 595; 9 172 070 874) 8 563 550 779 9 451 246 835
Single signatory & zero threshold 9 757 257 792; +5.94% ‼️ 9 210 233 808 9 216 263 979 (9 093 949 100; 9 330 597 320) 8 659 935 649 9 603 397 268
Three signatories & redundand threshold 16 378 491 109; +72.84% ‼️ 9 476 087 726 9 487 308 016 (9 352 597 557; 9 622 342 982) 9 097 677 801 9 872 578 091
Three signatories; Bob replies with incorrect signature 13 782 644 077; +49.25% ‼️ 9 234 409 386 9 243 396 479 (9 105 220 352; 9 365 298 462) 8 902 700 012 9 749 568 829
Three signatories; Eve doesn't answer, Alice replies with incorrect payload 13 403 856 746; +45.27% ‼️ 9 226 627 581 9 206 357 219 (9 078 047 723; 9 356 648 262) 8 687 477 948 9 566 475 042

name = Async-sign (well known cases)

name current median average lower/upper quartile min max
bad signature 5 490 149 311; +10.63% ‼️ 4 962 521 183 4 922 149 999 (4 756 529 771; 5 103 146 939) 4 387 016 118 5 285 190 847
correct signature but for another message 5 424 359 407; +8.05% ‼️ 5 020 106 118 5 024 988 236 (4 856 044 990; 5 218 755 060) 4 582 776 272 5 415 103 826
no reply 5 133 012 670; +4.10% ❗ 4 930 905 327 4 891 005 151 (4 758 465 302; 5 065 793 750) 4 362 699 100 5 268 360 748
signed message 6 023 844 160; +17.95% ‼️ 5 107 163 402 5 073 877 471 (4 919 150 900; 5 225 815 317) 4 592 903 400 5 442 323 077

name = Basic capacitor check

name current median average lower/upper quartile min max
Test charging/discharging 458 705 065; +444.09% ‼️ 84 307 272 83 664 756 (74 341 495; 95 852 275) 41 256 903 110 887 826

name = Decoder

name current median average lower/upper quartile min max
decoder 163 101 190; +192.96% ‼️ 55 673 686 50 738 910 (29 806 730; 69 559 292) 20 273 032 82 290 658

name = Futures-unordered

name current median average lower/upper quartile min max
futures-unordered 1 871 369 916; +505.02% ‼️ 309 305 078 293 994 713 (255 897 545; 329 673 661) 198 547 887 376 088 950
join 1 260 518 601; +439.44% ‼️ 233 670 537 247 574 756 (208 932 325; 271 295 546) 166 242 294 365 508 515
select 1 348 539 759; +476.65% ‼️ 233 859 454 248 476 972 (211 346 901; 292 456 190) 171 266 257 364 371 252

name = Incomplete-async-payloads

name current median average lower/upper quartile min max
incomplete-async-payloads 1 625 660 630; +555.44% ‼️ 248 025 244 237 567 058 (207 776 960; 261 269 937) 162 666 658 309 747 260

name = Memory test

name current median average lower/upper quartile min max
Test for memory result 265 781 331; +227.92% ‼️ 81 051 801 82 536 641 (73 266 517; 91 758 951) 53 304 343 107 983 126

name = Messages to failed program are handled properly

name current median average lower/upper quartile min max
handle messages to failed program 309 178 535; +354.30% ‼️ 68 055 524 61 177 178 (28 315 759; 83 932 219) 21 368 770 120 911 673

name = Meta ping (simple check)

name current median average lower/upper quartile min max
meta check 16 820 825 067; +5.90% ‼️ 15 883 886 065 15 899 462 632 (15 773 043 449; 16 025 089 055) 15 491 165 295 16 310 518 799

name = Multiping

name current median average lower/upper quartile min max
multiping 281 811 416; +322.02% ‼️ 66 776 307 61 136 848 (43 787 081; 75 594 207) 23 565 850 86 521 426

name = Ping-pong

name current median average lower/upper quartile min max
ping-pong 157 301 513; +392.88% ‼️ 31 914 760 38 787 145 (24 947 454; 53 712 714) 15 726 556 71 770 012
ping-pong wgas 289 177 286; +533.44% ‼️ 45 651 836 51 595 036 (41 834 172; 55 963 261) 29 197 102 96 821 116

name = Program_id test

name current median average lower/upper quartile min max
program_id 224 968 301; +263.00% ‼️ 61 975 590 60 582 307 (54 832 735; 66 747 042) 27 998 238 78 079 791

name = State-rollback

name current median average lower/upper quartile min max
state-rollback 337 383 229; +515.77% ‼️ 54 790 862 64 710 146 (44 572 785; 89 543 041) 33 830 384 114 358 674
state-saving 256 927 095; +442.12% ‼️ 47 393 182 53 934 896 (39 835 642; 59 445 001) 31 081 759 104 695 691

name = Test create_program sys-call

name current median average lower/upper quartile min max
Simple creation of program from program 288 529 732; +321.60% ‼️ 68 437 414 63 275 595 (58 472 611; 73 433 057) 24 725 919 100 068 108
Try to re-init existing program 379 184 091; +395.41% ‼️ 76 539 522 77 385 670 (56 994 148; 98 143 794) 40 153 190 113 081 758

name = Trap test

name current median average lower/upper quartile min max
Test for trap result 124 575 073; +472.25% ‼️ 21 769 305 27 560 792 (15 936 448; 41 501 361) 9 445 717 54 720 410

name = Wait test

name current median average lower/upper quartile min max
wait 466 635 313; +653.20% ‼️ 61 953 777 67 595 605 (52 314 409; 79 702 934) 34 127 780 125 041 490

name = basic

name current median average lower/upper quartile min max
test-vec (2 * 65536 * size_of(u8) = 128 KiB = 2 pages) 750 632 053; +185.66% ‼️ 262 772 618 256 065 664 (226 926 570; 286 336 117) 172 084 135 344 361 761

name = collector-1

name current median average lower/upper quartile min max
collector pass 2 messages 475 860 237; +399.49% ‼️ 95 268 457 93 228 763 (86 179 164; 100 340 686) 64 959 542 120 087 831

name = guestbook test

name current median average lower/upper quartile min max
guestbook 8 874 520 526; +0.45% ✔️ 8 834 715 900 8 852 935 779 (8 747 537 399; 8 955 128 118) 8 409 742 332 9 296 512 156

name = gui test

name current median average lower/upper quartile min max
gui 11 808 577 753; +3.78% ‼️ 11 378 109 961 11 393 060 289 (11 276 929 292; 11 495 172 044) 11 107 119 934 11 807 719 273

@codecov
Copy link

codecov bot commented Jun 9, 2022

Codecov Report

Merging #1038 (1352194) into master (b50aa44) will decrease coverage by 0.10%.
The diff coverage is 15.00%.

@@            Coverage Diff             @@
##           master    #1038      +/-   ##
==========================================
- Coverage   73.49%   73.39%   -0.11%     
==========================================
  Files          89       89              
  Lines        8626     8898     +272     
==========================================
+ Hits         6340     6531     +191     
- Misses       2286     2367      +81     
Impacted Files Coverage Δ
common/src/storage/complex/messenger.rs 0.00% <0.00%> (ø)
common/src/storage/complex/waitlist.rs 74.07% <0.00%> (ø)
pallets/gear-messenger/src/lib.rs 19.00% <0.00%> (ø)
pallets/gear-program/src/lib.rs 31.95% <ø> (+19.45%) ⬆️
pallets/gear-program/src/program.rs 50.00% <0.00%> (ø)
pallets/gear/rpc/src/lib.rs 0.00% <0.00%> (ø)
pallets/gear/src/tests.rs 90.24% <ø> (-4.63%) ⬇️
pallets/payment/src/mock.rs 70.83% <ø> (ø)
common/src/lib.rs 81.69% <100.00%> (ø)
common/src/storage/complex/mailbox.rs 85.71% <100.00%> (ø)
... and 12 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 b50aa44...1352194. Read the comment docs.

@grishasobol grishasobol requested a review from breathx June 11, 2022 12:52
@ukint-vs ukint-vs merged commit c4cfb72 into master Jun 12, 2022
@ukint-vs ukint-vs deleted the vs-update-substrate branch June 12, 2022 13:23
Copy link
Member

@breathx breathx left a comment

Choose a reason for hiding this comment

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

Great one

@@ -86,7 +86,7 @@ macro_rules! wrap_storage_map {
(storage: $storage: ident, name: $name: ident, key: $key: ty, value: $val: ty) => {
wrap_storage_map!(storage: $storage, name: $name, key: $key, value: $val, counted None);
};
(storage: $storage: ident, name: $name: ident, key: $key: ty, value: $val: ty, counted $($rm_arg:expr)?) => {
(storage: $storage: ident, name: $name: ident, key: $key: ty, value: $val: ty,) => {
Copy link
Member

Choose a reason for hiding this comment

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

There should no be trailing comma after macro args

/// The custom benchmark subcommand benchmarking runtime pallets.
#[clap(name = "benchmark", about = "Benchmark runtime pallets.")]
/// Sub-commands concerned with benchmarking.
#[clap(subcommand)]
Copy link
Member

Choose a reason for hiding this comment

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

Why the explanation from subcommand were removed?

@@ -66,6 +66,9 @@ pub enum Subcommand {
#[cfg(not(feature = "try-runtime"))]
TryRuntime,

/// Db meta columns information.
Copy link
Member

Choose a reason for hiding this comment

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

👍

@@ -16,7 +16,7 @@ pallet-gear = { version = "2.0.0", default-features = false, path = "../../../ge
[features]
default = ["std"]
std = [
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't sp-std/std be also included?

fn runtime_error_into_rpc_error(err: impl std::fmt::Debug) -> JsonRpseeError {
CallError::Custom(ErrorObject::owned(
8000,
"Runtime error",
Copy link
Member

Choose a reason for hiding this comment

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

"RPC call error" mostly suitable for me, just because it not only relays on runtime logic

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 D2-node Gear Node
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants