diff --git a/radix-engine-tests/assets/metering/cuttlefish/cost_crypto_utils.csv b/radix-engine-tests/assets/metering/cuttlefish/cost_crypto_utils.csv index 5138d6966d..e12fb9aecd 100644 --- a/radix-engine-tests/assets/metering/cuttlefish/cost_crypto_utils.csv +++ b/radix-engine-tests/assets/metering/cuttlefish/cost_crypto_utils.csv @@ -1,18 +1,18 @@ -Total Cost (XRD) , 1.04183166606, 100.0% -- Execution Cost (XRD) , 0.6651783, 63.8% +Total Cost (XRD) , 1.04922291606, 100.0% +- Execution Cost (XRD) , 0.67256955, 64.1% - Finalization Cost (XRD) , 0.0102517, 1.0% -- Storage Cost (XRD) , 0.36640166606, 35.2% +- Storage Cost (XRD) , 0.36640166606, 34.9% - Tipping Cost (XRD) , 0, 0.0% - Royalty Cost (XRD) , 0, 0.0% -Execution Cost Breakdown , 13303566, 100.0% +Execution Cost Breakdown , 13451391, 100.0% - AfterInvoke , 518, 0.0% - AllocateNodeId , 1455, 0.0% - BeforeInvoke , 7778, 0.1% - Blake2b256Hash , 91, 0.0% - Bls12381G2SignatureAggregate , 243986, 1.8% -- Bls12381V1AggregateVerify , 2001824, 15.0% -- Bls12381V1FastAggregateVerify , 632277, 4.8% -- Bls12381V1Verify , 461378, 3.5% +- Bls12381V1AggregateVerify , 2001824, 14.9% +- Bls12381V1FastAggregateVerify , 632277, 4.7% +- Bls12381V1Verify , 461378, 3.4% - CheckReference , 80024, 0.6% - CloseSubstate , 18576, 0.1% - CreateNode , 13376, 0.1% @@ -25,27 +25,27 @@ Execution Cost Breakdown , - MarkSubstateAsTransient , 55, 0.0% - OpenSubstate::GlobalFungibleResourceManager , 121872, 0.9% - OpenSubstate::GlobalGenericComponent , 43690, 0.3% -- OpenSubstate::GlobalPackage , 3497709, 26.3% +- OpenSubstate::GlobalPackage , 3497709, 26.0% - OpenSubstate::InternalFungibleVault , 90202, 0.7% - OpenSubstate::InternalGenericComponent , 18682, 0.1% - OpenSubstate::InternalKeyValueStore , 40536, 0.3% - PinNode , 180, 0.0% -- PrepareWasmCode , 2282710, 17.2% +- PrepareWasmCode , 2282710, 17.0% - QueryActor , 1000, 0.0% -- ReadSubstate , 2353589, 17.7% +- ReadSubstate , 2353589, 17.5% - RunNativeCode::Worktop_drop , 17918, 0.1% - RunNativeCode::get_amount_FungibleVault , 14451, 0.1% - RunNativeCode::lock_fee , 45243, 0.3% -- RunWasmCode::CryptoScrypto_blake2b_256_hash , 10010, 0.1% -- RunWasmCode::CryptoScrypto_bls12381_g2_signature_aggregate , 362018, 2.7% -- RunWasmCode::CryptoScrypto_bls12381_v1_aggregate_verify , 253847, 1.9% -- RunWasmCode::CryptoScrypto_bls12381_v1_fast_aggregate_verify , 211296, 1.6% -- RunWasmCode::CryptoScrypto_bls12381_v1_verify , 61708, 0.5% -- RunWasmCode::CryptoScrypto_ed25519_verify , 43794, 0.3% -- RunWasmCode::CryptoScrypto_keccak256_hash , 10039, 0.1% -- RunWasmCode::CryptoScrypto_secp256k1_ecdsa_key_recover , 44649, 0.3% -- RunWasmCode::CryptoScrypto_secp256k1_ecdsa_verify , 55047, 0.4% -- RunWasmCode::Faucet_lock_fee , 24589, 0.2% +- RunWasmCode::CryptoScrypto_blake2b_256_hash , 10438, 0.1% +- RunWasmCode::CryptoScrypto_bls12381_g2_signature_aggregate , 413425, 3.1% +- RunWasmCode::CryptoScrypto_bls12381_v1_aggregate_verify , 289910, 2.2% +- RunWasmCode::CryptoScrypto_bls12381_v1_fast_aggregate_verify , 241399, 1.8% +- RunWasmCode::CryptoScrypto_bls12381_v1_verify , 69693, 0.5% +- RunWasmCode::CryptoScrypto_ed25519_verify , 49482, 0.4% +- RunWasmCode::CryptoScrypto_keccak256_hash , 10429, 0.1% +- RunWasmCode::CryptoScrypto_secp256k1_ecdsa_key_recover , 50344, 0.4% +- RunWasmCode::CryptoScrypto_secp256k1_ecdsa_verify , 62260, 0.5% +- RunWasmCode::Faucet_lock_fee , 27442, 0.2% - Secp256k1EcdsaKeyRecover , 14705, 0.1% - Secp256k1EcdsaVerify , 14705, 0.1% - SetCallFrameData , 606, 0.0% diff --git a/radix-engine-tests/assets/metering/cuttlefish/cost_flash_loan.csv b/radix-engine-tests/assets/metering/cuttlefish/cost_flash_loan.csv index 393a1b3412..99aa194bb7 100644 --- a/radix-engine-tests/assets/metering/cuttlefish/cost_flash_loan.csv +++ b/radix-engine-tests/assets/metering/cuttlefish/cost_flash_loan.csv @@ -1,10 +1,10 @@ -Total Cost (XRD) , 0.62267027592, 100.0% -- Execution Cost (XRD) , 0.46223905, 74.2% +Total Cost (XRD) , 0.62367122592, 100.0% +- Execution Cost (XRD) , 0.46324, 74.3% - Finalization Cost (XRD) , 0.0322574, 5.2% - Storage Cost (XRD) , 0.12817382592, 20.6% - Tipping Cost (XRD) , 0, 0.0% - Royalty Cost (XRD) , 0, 0.0% -Execution Cost Breakdown , 9244781, 100.0% +Execution Cost Breakdown , 9264800, 100.0% - AfterInvoke , 1884, 0.0% - AllocateNodeId , 5141, 0.1% - BeforeInvoke , 7694, 0.1% @@ -21,11 +21,11 @@ Execution Cost Breakdown , - OpenSubstate::GlobalFungibleResourceManager , 259797, 2.8% - OpenSubstate::GlobalGenericComponent , 47692, 0.5% - OpenSubstate::GlobalNonFungibleResourceManager , 632452, 6.8% -- OpenSubstate::GlobalPackage , 3160161, 34.2% +- OpenSubstate::GlobalPackage , 3160161, 34.1% - OpenSubstate::InternalFungibleVault , 290575, 3.1% - OpenSubstate::InternalGenericComponent , 212121, 2.3% - PinNode , 636, 0.0% -- PrepareWasmCode , 967836, 10.5% +- PrepareWasmCode , 967836, 10.4% - QueryActor , 10500, 0.1% - ReadSubstate , 1325876, 14.3% - RunNativeCode::AuthZone_pop , 33696, 0.4% @@ -47,7 +47,7 @@ Execution Cost Breakdown , - RunNativeCode::lock_fee , 116047, 1.3% - RunNativeCode::mint_ruid_NonFungibleResourceManager , 93979, 1.0% - RunNativeCode::on_drop_FungibleProof , 28382, 0.3% -- RunNativeCode::on_move_FungibleProof , 32360, 0.4% +- RunNativeCode::on_move_FungibleProof , 32360, 0.3% - RunNativeCode::put_FungibleBucket , 16165, 0.2% - RunNativeCode::put_FungibleVault , 49108, 0.5% - RunNativeCode::take_FungibleBucket , 19855, 0.2% @@ -55,8 +55,8 @@ Execution Cost Breakdown , - RunNativeCode::try_deposit_batch_or_abort , 121257, 1.3% - RunNativeCode::unlock_amount_FungibleVault , 46544, 0.5% - RunNativeCode::withdraw , 57851, 0.6% -- RunWasmCode::BasicFlashLoan_repay_loan , 75849, 0.8% -- RunWasmCode::BasicFlashLoan_take_loan , 69367, 0.8% +- RunWasmCode::BasicFlashLoan_repay_loan , 86489, 0.9% +- RunWasmCode::BasicFlashLoan_take_loan , 78746, 0.8% - SetCallFrameData , 606, 0.0% - SwitchStack , 1000, 0.0% - ValidateTxPayload , 18800, 0.2% diff --git a/radix-engine-tests/assets/metering/cuttlefish/cost_mint_large_size_nfts_from_manifest.csv b/radix-engine-tests/assets/metering/cuttlefish/cost_mint_large_size_nfts_from_manifest.csv index e54caf589e..5d7976bf8a 100644 --- a/radix-engine-tests/assets/metering/cuttlefish/cost_mint_large_size_nfts_from_manifest.csv +++ b/radix-engine-tests/assets/metering/cuttlefish/cost_mint_large_size_nfts_from_manifest.csv @@ -1,10 +1,10 @@ -Total Cost (XRD) , 207.47148013518, 100.0% -- Execution Cost (XRD) , 2.5817327, 1.2% +Total Cost (XRD) , 207.47162278518, 100.0% +- Execution Cost (XRD) , 2.58187535, 1.2% - Finalization Cost (XRD) , 2.47943445, 1.2% - Storage Cost (XRD) , 202.41031298518, 97.6% - Tipping Cost (XRD) , 0, 0.0% - Royalty Cost (XRD) , 0, 0.0% -Execution Cost Breakdown , 51634654, 100.0% +Execution Cost Breakdown , 51637507, 100.0% - AfterInvoke , 4752, 0.0% - AllocateNodeId , 2231, 0.0% - BeforeInvoke , 2093962, 4.1% @@ -43,7 +43,7 @@ Execution Cost Breakdown , - RunNativeCode::lock_fee , 45243, 0.1% - RunNativeCode::put_NonFungibleVault , 35354, 0.1% - RunNativeCode::try_deposit_batch_or_abort , 121257, 0.2% -- RunWasmCode::Faucet_lock_fee , 24589, 0.0% +- RunWasmCode::Faucet_lock_fee , 27442, 0.1% - SetCallFrameData , 606, 0.0% - SetSubstate , 35917, 0.1% - SwitchStack , 1000, 0.0% diff --git a/radix-engine-tests/assets/metering/cuttlefish/cost_mint_small_size_nfts_from_manifest.csv b/radix-engine-tests/assets/metering/cuttlefish/cost_mint_small_size_nfts_from_manifest.csv index 86b0189eb9..584e38ecb1 100644 --- a/radix-engine-tests/assets/metering/cuttlefish/cost_mint_small_size_nfts_from_manifest.csv +++ b/radix-engine-tests/assets/metering/cuttlefish/cost_mint_small_size_nfts_from_manifest.csv @@ -1,10 +1,10 @@ -Total Cost (XRD) , 6.53950750536, 100.0% -- Execution Cost (XRD) , 0.2901941, 4.4% +Total Cost (XRD) , 6.53965015536, 100.0% +- Execution Cost (XRD) , 0.29033675, 4.4% - Finalization Cost (XRD) , 2.4964143, 38.2% - Storage Cost (XRD) , 3.75289910536, 57.4% - Tipping Cost (XRD) , 0, 0.0% - Royalty Cost (XRD) , 0, 0.0% -Execution Cost Breakdown , 5803882, 100.0% +Execution Cost Breakdown , 5806735, 100.0% - AfterInvoke , 4806, 0.1% - AllocateNodeId , 2231, 0.0% - BeforeInvoke , 10522, 0.2% @@ -43,7 +43,7 @@ Execution Cost Breakdown , - RunNativeCode::lock_fee , 45243, 0.8% - RunNativeCode::put_NonFungibleVault , 35354, 0.6% - RunNativeCode::try_deposit_batch_or_abort , 121257, 2.1% -- RunWasmCode::Faucet_lock_fee , 24589, 0.4% +- RunWasmCode::Faucet_lock_fee , 27442, 0.5% - SetCallFrameData , 606, 0.0% - SetSubstate , 36370, 0.6% - SwitchStack , 1000, 0.0% diff --git a/radix-engine-tests/assets/metering/cuttlefish/cost_publish_large_package.csv b/radix-engine-tests/assets/metering/cuttlefish/cost_publish_large_package.csv index 7ae173898e..5ec29c4250 100644 --- a/radix-engine-tests/assets/metering/cuttlefish/cost_publish_large_package.csv +++ b/radix-engine-tests/assets/metering/cuttlefish/cost_publish_large_package.csv @@ -1,10 +1,10 @@ -Total Cost (XRD) , 304.84429930219, 100.0% -- Execution Cost (XRD) , 4.93879165, 1.6% +Total Cost (XRD) , 304.84444195219, 100.0% +- Execution Cost (XRD) , 4.9389343, 1.6% - Finalization Cost (XRD) , 0.07669735, 0.0% - Storage Cost (XRD) , 299.82881030219, 98.4% - Tipping Cost (XRD) , 0, 0.0% - Royalty Cost (XRD) , 0, 0.0% -Execution Cost Breakdown , 98775833, 100.0% +Execution Cost Breakdown , 98778686, 100.0% - AfterInvoke , 326, 0.0% - AllocateNodeId , 1552, 0.0% - BeforeInvoke , 2096226, 2.1% @@ -34,7 +34,7 @@ Execution Cost Breakdown , - RunNativeCode::get_amount_FungibleVault , 14451, 0.0% - RunNativeCode::lock_fee , 45243, 0.0% - RunNativeCode::publish_wasm_advanced , 46852012, 47.4% -- RunWasmCode::Faucet_lock_fee , 24589, 0.0% +- RunWasmCode::Faucet_lock_fee , 27442, 0.0% - SetCallFrameData , 606, 0.0% - SetSubstate , 403, 0.0% - SwitchStack , 1000, 0.0% diff --git a/radix-engine-tests/assets/metering/cuttlefish/cost_radiswap.csv b/radix-engine-tests/assets/metering/cuttlefish/cost_radiswap.csv index 87cffda42b..363ba150fa 100644 --- a/radix-engine-tests/assets/metering/cuttlefish/cost_radiswap.csv +++ b/radix-engine-tests/assets/metering/cuttlefish/cost_radiswap.csv @@ -1,10 +1,10 @@ -Total Cost (XRD) , 0.56766152273, 100.0% -- Execution Cost (XRD) , 0.36172655, 63.7% +Total Cost (XRD) , 0.56829062273, 100.0% +- Execution Cost (XRD) , 0.36235565, 63.8% - Finalization Cost (XRD) , 0.0427613, 7.5% - Storage Cost (XRD) , 0.16317367273, 28.7% - Tipping Cost (XRD) , 0, 0.0% - Royalty Cost (XRD) , 0, 0.0% -Execution Cost Breakdown , 7234531, 100.0% +Execution Cost Breakdown , 7247113, 100.0% - AfterInvoke , 1444, 0.0% - AllocateNodeId , 3395, 0.0% - BeforeInvoke , 3714, 0.1% @@ -19,7 +19,7 @@ Execution Cost Breakdown , - OpenSubstate::GlobalAccount , 656205, 9.1% - OpenSubstate::GlobalFungibleResourceManager , 425889, 5.9% - OpenSubstate::GlobalGenericComponent , 44192, 0.6% -- OpenSubstate::GlobalPackage , 2430500, 33.6% +- OpenSubstate::GlobalPackage , 2430500, 33.5% - OpenSubstate::GlobalTwoResourcePool , 657608, 9.1% - OpenSubstate::InternalFungibleVault , 355473, 4.9% - OpenSubstate::InternalGenericComponent , 126104, 1.7% @@ -35,7 +35,7 @@ Execution Cost Breakdown , - RunNativeCode::get_amount_FungibleBucket , 88128, 1.2% - RunNativeCode::get_amount_FungibleVault , 28902, 0.4% - RunNativeCode::get_resource_address_FungibleBucket , 17768, 0.2% -- RunNativeCode::get_vault_amounts_two_resource_pool , 47047, 0.7% +- RunNativeCode::get_vault_amounts_two_resource_pool , 47047, 0.6% - RunNativeCode::lock_fee , 116047, 1.6% - RunNativeCode::protected_deposit_two_resource_pool , 55718, 0.8% - RunNativeCode::protected_withdraw_two_resource_pool , 38847, 0.5% @@ -44,7 +44,7 @@ Execution Cost Breakdown , - RunNativeCode::take_advanced_FungibleVault , 44567, 0.6% - RunNativeCode::try_deposit_batch_or_abort , 121257, 1.7% - RunNativeCode::withdraw , 57851, 0.8% -- RunWasmCode::Radiswap_swap , 95299, 1.3% +- RunWasmCode::Radiswap_swap , 107881, 1.5% - SetCallFrameData , 606, 0.0% - SwitchStack , 1000, 0.0% - ValidateTxPayload , 13120, 0.2%