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 overwrite_metadata #2008

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

iamyulong
Copy link
Member

No description provided.

@iamyulong iamyulong merged commit c3aa433 into release/cuttlefish Nov 20, 2024
30 checks passed
Copy link

Docker tags
docker.io/radixdlt/private-scrypto-builder:91b7ac5ed9

Copy link

Benchmark for 91b7ac5

Click to view benchmark
Test Base PR %
costing::bench_prepare_wasm 45.2±0.21ms 45.2±0.29ms 0.00%
costing::decode_encoded_i8_array_to_manifest_raw_value 19.4±0.11ms 19.4±0.12ms 0.00%
costing::decode_encoded_i8_array_to_manifest_value 41.4±0.05ms 42.4±0.08ms +2.42%
costing::decode_encoded_tuple_array_to_manifest_raw_value 62.9±0.08ms 62.8±0.06ms -0.16%
costing::decode_encoded_tuple_array_to_manifest_value 98.6±0.20ms 100.9±0.20ms +2.33%
costing::decode_encoded_u8_array_to_manifest_raw_value 25.8±0.10µs 25.5±0.09µs -1.16%
costing::decode_encoded_u8_array_to_manifest_value 41.5±0.06ms 42.4±0.06ms +2.17%
costing::decode_rpd_to_manifest_raw_value 12.5±0.02µs 12.5±0.02µs 0.00%
costing::decode_rpd_to_manifest_value 11.0±0.03µs 10.9±0.05µs -0.91%
costing::deserialize_wasm 1249.3±4.61µs 1240.2±3.89µs -0.73%
costing::execute_transaction_creating_big_vec_substates 690.6±2.88ms 696.7±9.53ms +0.88%
costing::execute_transaction_reading_big_vec_substates 576.1±0.97ms 596.2±1.31ms +3.49%
costing::instantiate_flash_loan 939.3±623.34µs 983.7±1079.13µs +4.73%
costing::instantiate_radiswap 836.9±175.59µs 1054.5±1329.69µs +26.00%
costing::scrypto_malloc 716.1±2.20ms 652.4±1.45ms -8.90%
costing::scrypto_sbor_decode 658.9±0.82ms 664.4±5.36ms +0.83%
costing::scrypto_sha256 599.1±0.55ms 588.8±0.93ms -1.72%
costing::spin_loop_v1 508.3±1.89ms 509.3±1.48ms +0.20%
costing::spin_loop_v2 597.7±1.28ms 600.5±1.06ms +0.47%
costing::validate_sbor_payload 29.8±0.05µs 30.0±0.07µs +0.67%
costing::validate_sbor_payload_bytes 251.1±0.55ns 251.0±0.83ns -0.04%
costing::validate_secp256k1 76.6±0.04µs 76.7±0.09µs +0.13%
costing::validate_wasm 34.4±0.04ms 34.1±0.05ms -0.87%
decimal::add/0 8.4±0.00ns 8.4±0.00ns 0.00%
decimal::add/rust-native 9.8±0.00ns 9.8±0.00ns 0.00%
decimal::add/wasmi 316.2±2.41ns 310.2±1.79ns -1.90%
decimal::add/wasmi-call-native 2.9±0.01µs 2.9±0.01µs 0.00%
decimal::div/0 168.8±0.09ns 168.3±0.14ns -0.30%
decimal::from_string/0 155.9±0.09ns 156.2±0.06ns +0.19%
decimal::mul/0 130.1±0.10ns 128.2±0.12ns -1.46%
decimal::mul/rust-native 128.3±0.22ns 129.0±0.07ns +0.55%
decimal::mul/wasmi 18.3±0.02µs 18.4±0.11µs +0.55%
decimal::mul/wasmi-call-native 3.0±0.01µs 3.1±0.00µs +3.33%
decimal::pow/0 596.1±0.34ns 597.0±0.26ns +0.15%
decimal::pow/rust-native 590.4±0.32ns 591.8±0.22ns +0.24%
decimal::pow/wasmi 88.0±0.20µs 88.1±0.25µs +0.11%
decimal::pow/wasmi-call-native 4.8±0.01µs 4.8±0.01µs 0.00%
decimal::root/0 8.1±0.01µs 8.2±0.01µs +1.23%
decimal::sub/0 8.2±0.00ns 8.2±0.00ns 0.00%
decimal::to_string/0 449.6±1.00ns 436.7±2.83ns -2.87%
large_transaction_processing::prepare 2.5±0.00ms 2.5±0.00ms 0.00%
large_transaction_processing::prepare_and_decompile 6.3±0.01ms 6.3±0.01ms 0.00%
large_transaction_processing::prepare_and_decompile_and_recompile 29.0±0.92ms 32.3±0.33ms +11.38%
metadata_validation::validate_urls 4.8±0.05µs 4.8±0.06µs 0.00%
precise_decimal::add/0 8.6±0.00ns 8.9±0.01ns +3.49%
precise_decimal::add/rust-native 10.7±0.10ns 10.7±0.01ns 0.00%
precise_decimal::add/wasmi 421.5±3.89ns 424.3±3.68ns +0.66%
precise_decimal::add/wasmi-call-native 3.8±0.01µs 3.8±0.01µs 0.00%
precise_decimal::div/0 305.3±1.86ns 296.3±1.16ns -2.95%
precise_decimal::from_string/0 203.0±0.65ns 201.2±0.21ns -0.89%
precise_decimal::mul/0 328.5±0.77ns 328.7±0.47ns +0.06%
precise_decimal::mul/rust-native 286.5±0.58ns 288.1±0.22ns +0.56%
precise_decimal::mul/wasmi 47.7±0.15µs 46.8±0.15µs -1.89%
precise_decimal::mul/wasmi-call-native 4.2±0.01µs 4.2±0.02µs 0.00%
precise_decimal::pow/0 1774.6±4.33ns 1771.1±3.74ns -0.20%
precise_decimal::pow/rust-native 1353.8±0.52ns 1352.3±0.86ns -0.11%
precise_decimal::pow/wasmi 224.4±0.43µs 226.9±1.96µs +1.11%
precise_decimal::pow/wasmi-call-native 7.5±0.01µs 7.6±0.02µs +1.33%
precise_decimal::root/0 59.7±0.04µs 58.5±0.13µs -2.01%
precise_decimal::sub/0 9.0±0.02ns 9.2±0.04ns +2.22%
precise_decimal::to_string/0 707.7±1.26ns 701.6±1.74ns -0.86%
schema::validate_payload 383.9±0.47µs 388.2±0.69µs +1.12%
transaction::radiswap 4.9±0.02ms 4.9±0.02ms 0.00%
transaction::transfer 1779.2±3.14µs 1818.2±2.84µs +2.19%
transaction_validation::validate_manifest 43.0±0.03µs 43.3±0.03µs +0.70%
transaction_validation::verify_bls_2KB 1007.7±17.80µs 1009.2±13.28µs +0.15%
transaction_validation::verify_bls_32B 1045.2±44.22µs 1038.8±31.03µs -0.61%
transaction_validation::verify_ecdsa 74.6±0.04µs 74.7±0.07µs +0.13%
transaction_validation::verify_ed25519 44.2±0.05µs 42.3±0.08µs -4.30%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants