Skip to content

Commit

Permalink
Update metering costs for cuttlefish
Browse files Browse the repository at this point in the history
  • Loading branch information
lrubasze committed Oct 28, 2024
1 parent 97eb041 commit 9ff6fc8
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 46 deletions.
40 changes: 20 additions & 20 deletions radix-engine-tests/assets/metering/cuttlefish/cost_crypto_utils.csv
Original file line number Diff line number Diff line change
@@ -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%
Expand All @@ -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%
Expand Down
Original file line number Diff line number Diff line change
@@ -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%
Expand All @@ -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%
Expand All @@ -47,16 +47,16 @@ 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%
- RunNativeCode::take_FungibleVault , 84914, 0.9%
- 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%
Expand Down
Original file line number Diff line number Diff line change
@@ -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%
Expand Down Expand Up @@ -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%
Expand Down
Original file line number Diff line number Diff line change
@@ -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%
Expand Down Expand Up @@ -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%
Expand Down
Original file line number Diff line number Diff line change
@@ -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%
Expand Down Expand Up @@ -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%
Expand Down
Loading

0 comments on commit 9ff6fc8

Please sign in to comment.