Skip to content

Instantly share code, notes, and snippets.

@jsign
Created April 8, 2026 19:42
Show Gist options
  • Select an option

  • Save jsign/3c585b947551bd2c09ccbb763ea6a00c to your computer and use it in GitHub Desktop.

Select an option

Save jsign/3c585b947551bd2c09ccbb763ea6a00c to your computer and use it in GitHub Desktop.
Loading symbols from ELF file: /data/program.elf
Loaded 1718 function symbols (0 marked as selected ROI)
Loaded 19 profile tags
REPORT
----------------------------------------
STEPS 363,022,500
COST DISTRIBUTION COST %
------------------------------------------------
BASE 293,601,280 0.69%
MAIN 24,685,530,000 57.66%
OPCODES 5,870,409,323 13.71%
PRECOMPILES 8,579,575,130 20.04%
MEMORY 3,383,092,314 7.90%
TOTAL 42,812,208,047 100.00%
FROPS 3,940,862,981 9.20%
RAM USAGE 72,313,281 13.58%
COST BY OPCODE COUNT % COST % RANK
-----------------------------------------------------------------------------
OP ltu 7,443,253 2.05% 446,595,180 1.04%
OP lt 2,335,321 0.64% 140,119,260 0.33%
OP eq 4,578,452 1.26% 274,707,120 0.64%
OP add 37,116,940 10.22% 927,923,500 2.17% #3
OP sub 1,511,184 0.42% 90,671,040 0.21%
OP and 13,857,920 3.82% 831,475,200 1.94% #4
OP or 26,037,919 7.17% 1,562,275,140 3.65% #2
OP xor 7,895,676 2.17% 473,740,560 1.11%
OP add_w 207,111 0.06% 12,426,660 0.03%
OP sub_w 749 0.00% 44,940 0.00%
OP sll 8,710,535 2.40% 461,658,355 1.08%
OP srl 5,377,495 1.48% 285,007,235 0.67%
OP sra 3,685 0.00% 195,305 0.00%
OP srl_w 372,418 0.10% 19,738,154 0.05%
OP signextend_b 2,242,722 0.62% 118,864,266 0.28%
OP signextend_h 29,661 0.01% 1,572,033 0.00%
OP signextend_w 1,167,045 0.32% 61,853,385 0.14%
OP pubout 32 0.00% 0 0.00%
OP muluh 436,963 0.12% 41,511,485 0.10%
OP mul 1,246,570 0.34% 118,424,150 0.28%
OP divu 16,909 0.00% 1,606,355 0.00%
OP dma_memcpy 1,205,348 0.33% 50,624,616 0.12%
OP dma_memcmp 353,911 0.10% 14,864,262 0.03%
OP dma_inputcpy 884 0.00% 37,128 0.00%
OP dma_xmemset 97,261 0.03% 4,084,962 0.01%
OP _dma_pre 738,279 0.20% 64,968,552 0.15%
OP _dma_post 890,751 0.25% 78,386,088 0.18%
OP keccak 102,683 0.03% 7,757,700,650 18.12% #1
OP arith256_mod 4,420 0.00% 6,294,080 0.01%
OP secp256k1_add 100,087 0.03% 142,523,888 0.33%
OP secp256k1_dbl 112,633 0.03% 160,389,392 0.37%
OP fcall_param 4,422 0.00% 0 0.00%
OP fcall 1,328 0.00% 0 0.00%
OP fcall_get 884 0.00% 0 0.00%
OP sha256 34,401 0.01% 299,701,512 0.70%
FROPS BY OPCODE COUNT HIT COST % RANK
----------------------------------------------------------------------------
FROP ltu 2,868,294 27.82% 172,097,640 0.40%
FROP lt 1,582,745 40.40% 94,964,700 0.22%
FROP eq 13,621,210 74.84% 817,272,600 1.91% #2
FROP add 6,529,559 14.96% 163,238,975 0.38%
FROP sub 1,715,003 53.16% 102,900,180 0.24%
FROP and 1,638,988 10.58% 98,339,280 0.23%
FROP or 8,884,613 25.44% 533,076,780 1.25% #3
FROP xor 469,505 5.61% 28,170,300 0.07%
FROP add_w 245,571 54.25% 14,734,260 0.03%
FROP sub_w 143,453 99.48% 8,607,180 0.02%
FROP sll 31,498,787 78.34% 1,669,435,711 3.90% #1
FROP srl 3,590,719 40.04% 190,308,107 0.44% #4
FROP sra 1,328 26.49% 70,384 0.00%
FROP sll_w 1 100.00% 53 0.00%
FROP srl_w 291,902 43.94% 15,470,806 0.04%
FROP muluh 130,964 23.06% 12,441,580 0.03%
FROP mul 206,786 14.23% 19,644,670 0.05%
FROP divu 945 5.29% 89,775 0.00%
TOP STEP FUNCTIONS (STEPS, % STEPS, CALLS, FUNCTION)
----------------------------------------------------
299,751,617 82.57% 1 299,751,617 <stateless_validator_ethrex::guest::StatelessValidatorEthrexGuest as guest::guest::Guest>::compute::<ere_platform_zisk::ZiskPlatform>
288,402,145 79.44% 1 288,402,145 ethrex_guest_program::l1::program::execution_program
194,645,508 53.62% 1 194,645,508 <ethrex_vm::backends::Evm>::execute_block
171,623,405 47.28% 342 501,822 <ethrex_levm::vm::VM>::execute
55,603,919 15.32% 12,909 4,307 <ethrex_trie::node::ArchivedNode as rkyv::traits::Deserialize<ethrex_trie::node::Node, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize
54,797,762 15.09% 163,978 334 <ethrex_trie::node::ArchivedNodeRef as rkyv::traits::Deserialize<ethrex_trie::node::NodeRef, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize
50,515,150 13.92% 760 66,467 <ethrex_trie::Trie>::hash_no_commit
50,391,355 13.88% 501 100,581 <std::sync::once_lock::OnceLock<ethrex_trie::node_hash::NodeHash>>::initialize::<<std::sync::once_lock::OnceLock<ethrex_trie::node_hash::NodeHash>>::get_or_init<<ethrex_trie::node::NodeRef>::compute_hash_no_alloc::{closure#0}>::{closure#0}, !>
50,372,317 13.88% 21,679 2,323 <ethrex_trie::node::Node>::compute_hash_no_alloc
49,178,717 13.55% 42,857 1,147 <ethrex_trie::node::Node>::memoize_hashes
42,978,676 11.84% 34,199 1,256 <stateless_validator_ethrex::guest::zisk::ZiskCrypto as ethrex_crypto::provider::Crypto>::keccak256
42,670,885 11.75% 34,199 1,247 ziskos::zisklib::lib::keccak256::keccak256
34,650,770 9.55% 55 630,014 <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit_raw::<rancor::Error, <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit<rancor::Error, <rkyv::with::MapKV<ethrex_trie::rkyv_utils::H256Wrapper, rkyv::with::Identity> as rkyv::with::DeserializeWith<rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>, alloc::collections::btree::map::BTreeMap<primitive_types::H256, ethrex_trie::node::Node>, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize_with::{closure#0}>::{closure#0}>
34,645,134 9.54% 321 107,928 <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit_key_value_raw::<rancor::Error, <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit<rancor::Error, <rkyv::with::MapKV<ethrex_trie::rkyv_utils::H256Wrapper, rkyv::with::Identity> as rkyv::with::DeserializeWith<rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>, alloc::collections::btree::map::BTreeMap<primitive_types::H256, ethrex_trie::node::Node>, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize_with::{closure#0}>::{closure#0}>
17,996,506 4.96% 645 27,901 once_cell::imp::initialize_or_wait
17,774,891 4.90% 6,188 2,872 <ethrex_levm::opcodes::OpCodeFn>::wrap::<ethrex_levm::opcode_handlers::stack_memory_storage_flow::OpSLoadHandler>
17,555,523 4.84% 1 17,555,523 <ethrex_vm::witness_db::GuestProgramStateWrapper>::apply_account_updates
17,348,499 4.78% 3 5,782,833 rayon::iter::plumbing::bridge_producer_consumer::helper::<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>
17,348,405 4.78% 1 17,348,405 rayon_core::join::join_context::<rayon::iter::plumbing::bridge_producer_consumer::helper<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_producer_consumer::helper<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>::{closure#1}, alloc::collections::linked_list::LinkedList<alloc::vec::Vec<(&ethrex_common::types::transaction::Transaction, primitive_types::H160)>>, alloc::collections::linked_list::LinkedList<alloc::vec::Vec<(&ethrex_common::types::transaction::Transaction, primitive_types::H160)>>>::{closure#0}
17,306,023 4.77% 338 51,201 <once_cell::imp::OnceCell<primitive_types::H160>>::initialize::<<ethrex_common::types::transaction::Transaction>::sender::{closure#0}, ethrex_crypto::provider::CryptoError>
17,273,575 4.76% 338 51,105 <once_cell::imp::OnceCell<primitive_types::H160>>::initialize::<<ethrex_common::types::transaction::Transaction>::sender::{closure#0}, ethrex_crypto::provider::CryptoError>::{closure#0}
14,599,195 4.02% 16,436 888 <ethrex_trie::node::branch::BranchNode as ethrex_rlp::encode::RLPEncode>::encode
11,962,080 3.30% 1,846 6,480 tiny_keccak::keccakf::keccakf
9,275,282 2.56% 342 27,120 <ethrex_levm::hooks::default_hook::DefaultHook as ethrex_levm::hooks::hook::Hook>::prepare_execution
8,747,601 2.41% 31,621 276 <ethrex_levm::opcodes::OpCodeFn>::wrap::<ethrex_levm::opcode_handlers::stack_memory_storage_flow::OpMLoadHandler>
TOP COST FUNCTIONS (COST, % COST, CALLS, COST/CALL, FUNCTION)
-------------------------------------------------------------
36,592,799,796 85.47% 1 36,592,799,796 <stateless_validator_ethrex::guest::StatelessValidatorEthrexGuest as guest::guest::Guest>::compute::<ere_platform_zisk::ZiskPlatform>
35,070,766,888 81.92% 1 35,070,766,888 ethrex_guest_program::l1::program::execution_program
19,266,013,858 45.00% 1 19,266,013,858 <ethrex_vm::backends::Evm>::execute_block
16,543,865,230 38.64% 342 48,373,874 <ethrex_levm::vm::VM>::execute
11,797,672,142 27.56% 34,199 344,971 <stateless_validator_ethrex::guest::zisk::ZiskCrypto as ethrex_crypto::provider::Crypto>::keccak256
11,770,132,357 27.49% 34,199 344,165 ziskos::zisklib::lib::keccak256::keccak256
9,502,323,974 22.20% 760 12,503,057 <ethrex_trie::Trie>::hash_no_commit
9,490,723,359 22.17% 501 18,943,559 <std::sync::once_lock::OnceLock<ethrex_trie::node_hash::NodeHash>>::initialize::<<std::sync::once_lock::OnceLock<ethrex_trie::node_hash::NodeHash>>::get_or_init<<ethrex_trie::node::NodeRef>::compute_hash_no_alloc::{closure#0}>::{closure#0}, !>
9,488,875,170 22.16% 21,679 437,698 <ethrex_trie::node::Node>::compute_hash_no_alloc
9,250,179,829 21.61% 42,857 215,838 <ethrex_trie::node::Node>::memoize_hashes
5,197,618,756 12.14% 12,909 402,635 <ethrex_trie::node::ArchivedNode as rkyv::traits::Deserialize<ethrex_trie::node::Node, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize
5,123,922,010 11.97% 163,978 31,247 <ethrex_trie::node::ArchivedNodeRef as rkyv::traits::Deserialize<ethrex_trie::node::NodeRef, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize
3,232,196,741 7.55% 55 58,767,213 <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit_raw::<rancor::Error, <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit<rancor::Error, <rkyv::with::MapKV<ethrex_trie::rkyv_utils::H256Wrapper, rkyv::with::Identity> as rkyv::with::DeserializeWith<rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>, alloc::collections::btree::map::BTreeMap<primitive_types::H256, ethrex_trie::node::Node>, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize_with::{closure#0}>::{closure#0}>
3,231,731,382 7.55% 321 10,067,699 <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit_key_value_raw::<rancor::Error, <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit<rancor::Error, <rkyv::with::MapKV<ethrex_trie::rkyv_utils::H256Wrapper, rkyv::with::Identity> as rkyv::with::DeserializeWith<rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>, alloc::collections::btree::map::BTreeMap<primitive_types::H256, ethrex_trie::node::Node>, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize_with::{closure#0}>::{closure#0}>
2,517,830,993 5.88% 1 2,517,830,993 <ethrex_vm::witness_db::GuestProgramStateWrapper>::apply_account_updates
2,242,174,377 5.24% 645 3,476,239 once_cell::imp::initialize_or_wait
2,181,848,434 5.10% 3 727,282,811 rayon::iter::plumbing::bridge_producer_consumer::helper::<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>
2,181,840,327 5.10% 1 2,181,840,327 rayon_core::join::join_context::<rayon::iter::plumbing::bridge_producer_consumer::helper<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_producer_consumer::helper<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>::{closure#1}, alloc::collections::linked_list::LinkedList<alloc::vec::Vec<(&ethrex_common::types::transaction::Transaction, primitive_types::H160)>>, alloc::collections::linked_list::LinkedList<alloc::vec::Vec<(&ethrex_common::types::transaction::Transaction, primitive_types::H160)>>>::{closure#0}
2,178,045,114 5.09% 338 6,443,920 <once_cell::imp::OnceCell<primitive_types::H160>>::initialize::<<ethrex_common::types::transaction::Transaction>::sender::{closure#0}, ethrex_crypto::provider::CryptoError>
2,175,352,606 5.08% 338 6,435,954 <once_cell::imp::OnceCell<primitive_types::H160>>::initialize::<<ethrex_common::types::transaction::Transaction>::sender::{closure#0}, ethrex_crypto::provider::CryptoError>::{closure#0}
1,844,489,642 4.31% 6,188 298,075 <ethrex_levm::opcodes::OpCodeFn>::wrap::<ethrex_levm::opcode_handlers::stack_memory_storage_flow::OpSLoadHandler>
1,601,977,458 3.74% 2 800,988,729 <ethrex_vm::witness_db::GuestProgramStateWrapper>::state_trie_root
1,400,955,722 3.27% 1,846 758,914 tiny_keccak::keccakf::keccakf
1,338,735,352 3.13% 16,436 81,451 <ethrex_trie::node::branch::BranchNode as ethrex_rlp::encode::RLPEncode>::encode
1,227,295,114 2.87% 442 2,776,685 secp256k1_ecdsa_address_recover_c
DETAIL FUNCTION <stateless_validator_ethrex::guest::StatelessValidatorEthrexGuest as guest::guest::Guest>::compute::<ere_platform_zisk::ZiskPlatform>
-----------------------------------------------------------------------------------------------------------------------------------------------------
STEPS 299,751,617 82.57%
COST 36,592,799,796 85.47%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 7,275,854 436,551,240 1.19%
| OP lt 2,281,470 136,888,200 0.37%
| OP eq 4,381,942 262,916,520 0.72%
| OP add 33,274,035 831,850,875 2.27% #3
| OP sub 1,218,387 73,103,220 0.20%
| OP and 11,714,467 702,868,020 1.92% #4
| OP or 18,191,933 1,091,515,980 2.98% #2
| OP xor 7,731,560 463,893,600 1.27%
| OP add_w 207,111 12,426,660 0.03%
| OP sub_w 749 44,940 0.00%
| OP sll 7,308,122 387,330,466 1.06%
| OP srl 5,105,170 270,574,010 0.74%
| OP sra 3,685 195,305 0.00%
| OP srl_w 371,765 19,703,545 0.05%
| OP signextend_b 2,118,110 112,259,830 0.31%
| OP signextend_h 29,661 1,572,033 0.00%
| OP signextend_w 1,167,018 61,851,954 0.17%
| OP muluh 436,943 41,509,585 0.11%
| OP mul 1,044,746 99,250,870 0.27%
| OP divu 16,909 1,606,355 0.00%
| OP dma_memcpy 760,360 31,935,120 0.09%
| OP dma_memcmp 348,421 14,633,682 0.04%
| OP dma_inputcpy 884 37,128 0.00%
| OP dma_xmemset 97,233 4,083,786 0.01%
| OP _dma_pre 382,075 33,622,600 0.09%
| OP _dma_post 710,864 62,556,032 0.17%
| OP keccak 102,683 7,757,700,650 21.20% #1
| OP arith256_mod 4,420 6,294,080 0.02%
| OP secp256k1_add 100,087 142,523,888 0.39%
| OP secp256k1_dbl 112,633 160,389,392 0.44%
| OP fcall_param 4,420 0 0.00%
| OP fcall 1,326 0 0.00%
| OP fcall_get 884 0 0.00%
| OP sha256 34,401 299,701,512 0.82%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 1 299,751,617 100.00% main
DETAIL FUNCTION ethrex_guest_program::l1::program::execution_program
--------------------------------------------------------------------
STEPS 288,402,145 79.44%
COST 35,070,766,888 81.92%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 7,241,157 434,469,420 1.24%
| OP lt 2,271,955 136,317,300 0.39%
| OP eq 4,212,618 252,757,080 0.72%
| OP add 32,095,408 802,385,200 2.29% #3
| OP sub 1,200,603 72,036,180 0.21%
| OP and 11,159,455 669,567,300 1.91% #4
| OP or 17,750,911 1,065,054,660 3.04% #2
| OP xor 7,678,854 460,731,240 1.31%
| OP add_w 207,088 12,425,280 0.04%
| OP sub_w 749 44,940 0.00%
| OP sll 7,181,817 380,636,301 1.09%
| OP srl 4,516,210 239,359,130 0.68%
| OP sra 3,685 195,305 0.00%
| OP srl_w 340,017 18,020,901 0.05%
| OP signextend_b 2,112,375 111,955,875 0.32%
| OP signextend_h 28,980 1,535,940 0.00%
| OP signextend_w 1,028,721 54,522,213 0.16%
| OP muluh 435,280 41,351,600 0.12%
| OP mul 1,036,275 98,446,125 0.28%
| OP divu 16,909 1,606,355 0.00%
| OP dma_memcpy 660,205 27,728,610 0.08%
| OP dma_memcmp 348,382 14,632,044 0.04%
| OP dma_inputcpy 884 37,128 0.00%
| OP dma_xmemset 96,084 4,035,528 0.01%
| OP _dma_pre 369,199 32,489,512 0.09%
| OP _dma_post 703,650 61,921,200 0.18%
| OP keccak 100,993 7,630,021,150 21.76% #1
| OP arith256_mod 4,420 6,294,080 0.02%
| OP secp256k1_add 100,087 142,523,888 0.41%
| OP secp256k1_dbl 112,633 160,389,392 0.46%
| OP fcall_param 4,420 0 0.00%
| OP fcall 1,326 0 0.00%
| OP fcall_get 884 0 0.00%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 1 288,402,145 100.00% <stateless_validator_ethrex::guest::StatelessValidatorEthrexGuest as guest::guest::Guest>::compute::<ere_platform_zisk::ZiskPlatform>
DETAIL FUNCTION <ethrex_vm::backends::Evm>::execute_block
---------------------------------------------------------
STEPS 194,645,508 53.62%
COST 19,266,013,858 45.00%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 4,791,443 287,486,580 1.49%
| OP lt 1,597,248 95,834,880 0.50%
| OP eq 2,258,665 135,519,900 0.70%
| OP add 20,845,673 521,141,825 2.70% #4
| OP sub 777,829 46,669,740 0.24%
| OP and 8,978,327 538,699,620 2.80% #3
| OP or 9,421,035 565,262,100 2.93% #2
| OP xor 5,944,910 356,694,600 1.85%
| OP add_w 202,746 12,164,760 0.06%
| OP sub_w 749 44,940 0.00%
| OP sll 5,728,984 303,636,152 1.58%
| OP srl 4,387,124 232,517,572 1.21%
| OP sra 3,685 195,305 0.00%
| OP srl_w 294,056 15,584,968 0.08%
| OP signextend_b 111,358 5,901,974 0.03%
| OP signextend_h 26,404 1,399,412 0.01%
| OP signextend_w 1,027,553 54,460,309 0.28%
| OP muluh 396,971 37,712,245 0.20%
| OP mul 951,116 90,356,020 0.47%
| OP divu 16,907 1,606,165 0.01%
| OP dma_memcpy 233,942 9,825,564 0.05%
| OP dma_memcmp 320,785 13,472,970 0.07%
| OP dma_inputcpy 884 37,128 0.00%
| OP dma_xmemset 43,937 1,845,354 0.01%
| OP _dma_pre 81,827 7,200,776 0.04%
| OP _dma_post 381,513 33,573,144 0.17%
| OP keccak 8,413 635,602,150 3.30% #1
| OP arith256_mod 4,420 6,294,080 0.03%
| OP secp256k1_add 100,087 142,523,888 0.74%
| OP secp256k1_dbl 112,633 160,389,392 0.83%
| OP fcall_param 4,420 0 0.00%
| OP fcall 1,326 0 0.00%
| OP fcall_get 884 0 0.00%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 1 194,645,508 100.00% ethrex_guest_program::l1::program::execution_program
DETAIL FUNCTION <ethrex_levm::vm::VM>::execute
----------------------------------------------
STEPS 171,623,405 47.28%
COST 16,543,865,230 38.64%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 4,764,557 285,873,420 1.73%
| OP lt 1,575,868 94,552,080 0.57%
| OP eq 1,835,331 110,119,860 0.67%
| OP add 19,424,713 485,617,825 2.94% #2
| OP sub 719,885 43,193,100 0.26%
| OP and 7,159,534 429,572,040 2.60% #4
| OP or 7,660,122 459,607,320 2.78% #3
| OP xor 1,589,009 95,340,540 0.58%
| OP add_w 163,346 9,800,760 0.06%
| OP sub_w 749 44,940 0.00%
| OP sll 4,320,366 228,979,398 1.38%
| OP srl 2,722,566 144,295,998 0.87%
| OP sra 3,683 195,199 0.00%
| OP srl_w 288,535 15,292,355 0.09%
| OP signextend_b 95,169 5,043,957 0.03%
| OP signextend_h 23,699 1,256,047 0.01%
| OP signextend_w 1,021,075 54,116,975 0.33%
| OP muluh 354,182 33,647,290 0.20%
| OP mul 844,464 80,224,080 0.48%
| OP divu 14,541 1,381,395 0.01%
| OP dma_memcpy 196,250 8,242,500 0.05%
| OP dma_memcmp 241,541 10,144,722 0.06%
| OP dma_inputcpy 208 8,736 0.00%
| OP dma_xmemset 41,767 1,754,214 0.01%
| OP _dma_pre 65,084 5,727,392 0.03%
| OP _dma_post 286,247 25,189,736 0.15%
| OP keccak 8,410 635,375,500 3.84% #1
| OP arith256_mod 1,040 1,480,960 0.01%
| OP secp256k1_add 23,539 33,519,536 0.20%
| OP secp256k1_dbl 26,494 37,727,456 0.23%
| OP fcall_param 1,040 0 0.00%
| OP fcall 312 0 0.00%
| OP fcall_get 208 0 0.00%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 338 171,404,612 99.87% <ethrex_vm::backends::Evm>::execute_block
| 4 218,793 0.13% ethrex_vm::backends::levm::generic_system_contract_levm
DETAIL FUNCTION <stateless_validator_ethrex::guest::zisk::ZiskCrypto as ethrex_crypto::provider::Crypto>::keccak256
-------------------------------------------------------------------------------------------------------------------
STEPS 42,978,676 11.84%
COST 11,797,672,142 27.56%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 89,078 5,344,680 0.05%
| OP add 603,086 15,077,150 0.13%
| OP sub 11,976 718,560 0.01%
| OP and 376,189 22,571,340 0.19%
| OP or 7,576,908 454,614,480 3.85% #2
| OP xor 1,550,031 93,001,860 0.79% #3
| OP sll 1,093,954 57,979,562 0.49% #4
| OP dma_memcpy 68,398 2,872,716 0.02%
| OP dma_xmemset 68,398 2,872,716 0.02%
| OP _dma_post 22,776 2,004,288 0.02%
| OP keccak 102,683 7,757,700,650 65.76% #1
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 21,679 26,519,892 61.70% <ethrex_trie::node::Node>::compute_hash_no_alloc
| 5,241 944,581 2.20% <ethrex_levm::opcodes::OpCodeFn>::wrap::<ethrex_levm::opcode_handlers::keccak::OpKeccak256Handler>
| 3,056 482,848 1.12% ethrex_common::validation::validate_receipts_root
| 2,173 343,334 0.80% <ethrex_vm::witness_db::GuestProgramStateWrapper as ethrex_vm::db::VmDatabase>::get_storage_slot
| 890 140,620 0.33% <ethrex_vm::witness_db::GuestProgramStateWrapper>::apply_account_updates
| 779 123,082 0.29% <ethrex_common::types::block_execution_witness::GuestProgramState>::get_account_state
| 372 14,420,702 33.55% ethrex_guest_program::l1::program::execution_program
| 8 1,264 0.00% ethrex_levm::hooks::default_hook::validate_type_4_tx
| 1 2,353 0.01% <ethrex_common::types::block::BlockHeader>::compute_block_hash
DETAIL FUNCTION ziskos::zisklib::lib::keccak256::keccak256
----------------------------------------------------------
STEPS 42,670,885 11.75%
COST 11,770,132,357 27.49%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 89,078 5,344,680 0.05%
| OP add 534,688 13,367,200 0.11%
| OP sub 11,976 718,560 0.01%
| OP and 307,791 18,467,460 0.16%
| OP or 7,576,908 454,614,480 3.86% #2
| OP xor 1,550,031 93,001,860 0.79% #3
| OP sll 1,093,954 57,979,562 0.49% #4
| OP dma_memcpy 68,398 2,872,716 0.02%
| OP dma_xmemset 68,398 2,872,716 0.02%
| OP _dma_post 22,776 2,004,288 0.02%
| OP keccak 102,683 7,757,700,650 65.91% #1
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 34,199 42,670,885 100.00% <stateless_validator_ethrex::guest::zisk::ZiskCrypto as ethrex_crypto::provider::Crypto>::keccak256
DETAIL FUNCTION <ethrex_trie::Trie>::hash_no_commit
---------------------------------------------------
STEPS 50,515,150 13.92%
COST 9,502,323,974 22.20%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 361,665 21,699,900 0.23%
| OP lt 64,609 3,876,540 0.04%
| OP eq 1,203,307 72,198,420 0.76%
| OP add 4,827,691 120,692,275 1.27% #3
| OP sub 354,143 21,248,580 0.22%
| OP and 1,382,979 82,978,740 0.87% #4
| OP or 4,832,702 289,962,120 3.05% #2
| OP xor 1,101,507 66,090,420 0.70%
| OP sll 765,172 40,554,116 0.43%
| OP srl 47,976 2,542,728 0.03%
| OP srl_w 33,659 1,783,927 0.02%
| OP signextend_b 1,440 76,320 0.00%
| OP muluh 334 31,730 0.00%
| OP mul 668 63,460 0.00%
| OP dma_memcpy 333,158 13,992,636 0.15%
| OP dma_xmemset 43,358 1,821,036 0.02%
| OP _dma_pre 231,935 20,410,280 0.21%
| OP _dma_post 255,357 22,471,416 0.24%
| OP keccak 63,741 4,815,632,550 50.68% #1
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 322 29,385,531 58.17% ethrex_guest_program::l1::program::execution_program
| 258 39,474 0.08% <ethrex_vm::witness_db::GuestProgramStateWrapper as ethrex_vm::db::VmDatabase>::get_storage_slot
| 173 9,085,948 17.99% <ethrex_vm::witness_db::GuestProgramStateWrapper>::apply_account_updates
| 2 2,050,506 4.06% ethrex_common::types::block::compute_transactions_root
| 2 29,752 0.06% ethrex_common::types::block::compute_withdrawals_root
| 2 8,556,986 16.94% <ethrex_vm::witness_db::GuestProgramStateWrapper>::state_trie_root
| 1 1,366,953 2.71% ethrex_common::validation::validate_receipts_root
DETAIL FUNCTION <std::sync::once_lock::OnceLock<ethrex_trie::node_hash::NodeHash>>::initialize::<<std::sync::once_lock::OnceLock<ethrex_trie::node_hash::NodeHash>>::get_or_init<<ethrex_trie::node::NodeRef>::compute_hash_no_alloc::{closure#0}>::{closure#0}, !>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEPS 50,391,355 13.88%
COST 9,490,723,359 22.17%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 360,905 21,654,300 0.23%
| OP lt 64,609 3,876,540 0.04%
| OP eq 1,202,547 72,152,820 0.76%
| OP add 4,821,369 120,534,225 1.27% #3
| OP sub 354,143 21,248,580 0.22%
| OP and 1,379,438 82,766,280 0.87% #4
| OP or 4,811,558 288,693,480 3.04% #2
| OP xor 1,101,507 66,090,420 0.70%
| OP sll 762,132 40,392,996 0.43%
| OP srl 47,976 2,542,728 0.03%
| OP srl_w 33,659 1,783,927 0.02%
| OP signextend_b 1,440 76,320 0.00%
| OP muluh 334 31,730 0.00%
| OP mul 668 63,460 0.00%
| OP dma_memcpy 332,398 13,960,716 0.15%
| OP dma_xmemset 43,358 1,821,036 0.02%
| OP _dma_pre 231,935 20,410,280 0.22%
| OP _dma_post 255,357 22,471,416 0.24%
| OP keccak 63,741 4,815,632,550 50.74% #1
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 501 50,391,355 100.00% <ethrex_trie::Trie>::hash_no_commit
DETAIL FUNCTION <ethrex_trie::node::Node>::compute_hash_no_alloc
----------------------------------------------------------------
STEPS 50,372,317 13.88%
COST 9,488,875,170 22.16%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 360,905 21,654,300 0.23%
| OP lt 64,609 3,876,540 0.04%
| OP eq 1,202,046 72,122,760 0.76%
| OP add 4,818,363 120,459,075 1.27% #3
| OP sub 354,143 21,248,580 0.22%
| OP and 1,377,434 82,646,040 0.87% #4
| OP or 4,811,558 288,693,480 3.04% #2
| OP xor 1,101,507 66,090,420 0.70%
| OP sll 762,132 40,392,996 0.43%
| OP srl 47,976 2,542,728 0.03%
| OP srl_w 33,659 1,783,927 0.02%
| OP signextend_b 1,440 76,320 0.00%
| OP muluh 334 31,730 0.00%
| OP mul 668 63,460 0.00%
| OP dma_memcpy 331,897 13,939,674 0.15%
| OP dma_xmemset 43,358 1,821,036 0.02%
| OP _dma_pre 231,434 20,366,192 0.21%
| OP _dma_post 254,856 22,427,328 0.24%
| OP keccak 63,741 4,815,632,550 50.75% #1
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 21,178 46,325,002 91.97% <ethrex_trie::node::Node>::memoize_hashes
| 501 50,372,317 100.00% <std::sync::once_lock::OnceLock<ethrex_trie::node_hash::NodeHash>>::initialize::<<std::sync::once_lock::OnceLock<ethrex_trie::node_hash::NodeHash>>::get_or_init<<ethrex_trie::node::NodeRef>::compute_hash_no_alloc::{closure#0}>::{closure#0}, !>
DETAIL FUNCTION <ethrex_trie::node::Node>::memoize_hashes
---------------------------------------------------------
STEPS 49,178,717 13.55%
COST 9,250,179,829 21.61%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 351,711 21,102,660 0.23%
| OP lt 64,109 3,846,540 0.04%
| OP eq 1,185,348 71,120,880 0.77%
| OP add 4,720,299 118,007,475 1.28% #3
| OP sub 344,684 20,681,040 0.22%
| OP and 1,348,841 80,930,460 0.87% #4
| OP or 4,669,595 280,175,700 3.03% #2
| OP xor 1,073,050 64,383,000 0.70%
| OP sll 740,807 39,262,771 0.42%
| OP srl 46,556 2,467,468 0.03%
| OP srl_w 32,841 1,740,573 0.02%
| OP signextend_b 1,427 75,631 0.00%
| OP muluh 268 25,460 0.00%
| OP mul 536 50,920 0.00%
| OP dma_memcpy 323,478 13,586,076 0.15%
| OP dma_xmemset 42,356 1,778,952 0.02%
| OP _dma_pre 225,355 19,831,240 0.21%
| OP _dma_post 248,558 21,873,104 0.24%
| OP keccak 62,063 4,688,859,650 50.69% #1
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 21,679 50,861,110 103.42% <ethrex_trie::node::Node>::compute_hash_no_alloc
| 21,178 133,590,649 271.64% <ethrex_trie::node::Node>::memoize_hashes
DETAIL FUNCTION <ethrex_trie::node::ArchivedNode as rkyv::traits::Deserialize<ethrex_trie::node::Node, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEPS 55,603,919 15.32%
COST 5,197,618,756 12.14%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 40,762 2,445,720 0.05%
| OP lt 26,932 1,615,920 0.03%
| OP eq 97,409 5,844,540 0.11%
| OP add 3,044,352 76,108,800 1.46% #3
| OP sub 133,567 8,014,020 0.15%
| OP and 1,615,631 96,937,860 1.87% #2
| OP or 7,260,466 435,627,960 8.38% #1
| OP xor 67,770 4,066,200 0.08%
| OP sll 1,173,237 62,181,561 1.20% #4
| OP srl 156,141 8,275,473 0.16%
| OP signextend_b 55,034 2,916,802 0.06%
| OP muluh 10 950 0.00%
| OP mul 94,554 8,982,630 0.17%
| OP dma_memcpy 428,905 18,014,010 0.35%
| OP dma_xmemset 13 546 0.00%
| OP _dma_pre 350,802 30,870,576 0.59%
| OP _dma_post 178,544 15,711,872 0.30%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 12,587 194,901,768 350.52% <ethrex_trie::node::ArchivedNodeRef as rkyv::traits::Deserialize<ethrex_trie::node::NodeRef, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize
| 321 34,443,088 61.94% <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit_key_value_raw::<rancor::Error, <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit<rancor::Error, <rkyv::with::MapKV<ethrex_trie::rkyv_utils::H256Wrapper, rkyv::with::Identity> as rkyv::with::DeserializeWith<rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>, alloc::collections::btree::map::BTreeMap<primitive_types::H256, ethrex_trie::node::Node>, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize_with::{closure#0}>::{closure#0}>
| 1 21,160,831 38.06% main
DETAIL FUNCTION <ethrex_trie::node::ArchivedNodeRef as rkyv::traits::Deserialize<ethrex_trie::node::NodeRef, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEPS 54,797,762 15.09%
COST 5,123,922,010 11.97%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 40,399 2,423,940 0.05%
| OP lt 26,932 1,615,920 0.03%
| OP eq 97,409 5,844,540 0.11%
| OP add 2,997,608 74,940,200 1.46% #3
| OP sub 133,567 8,014,020 0.16%
| OP and 1,599,069 95,944,140 1.87% #2
| OP or 7,153,221 429,193,260 8.38% #1
| OP xor 67,770 4,066,200 0.08%
| OP sll 1,158,677 61,409,881 1.20% #4
| OP srl 154,455 8,186,115 0.16%
| OP signextend_b 54,671 2,897,563 0.06%
| OP muluh 10 950 0.00%
| OP mul 94,554 8,982,630 0.18%
| OP dma_memcpy 423,180 17,773,560 0.35%
| OP dma_xmemset 13 546 0.00%
| OP _dma_pre 345,716 30,423,008 0.59%
| OP _dma_post 178,205 15,682,040 0.31%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 163,978 220,827,598 402.99% <ethrex_trie::node::ArchivedNode as rkyv::traits::Deserialize<ethrex_trie::node::Node, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize
DETAIL FUNCTION <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit_raw::<rancor::Error, <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit<rancor::Error, <rkyv::with::MapKV<ethrex_trie::rkyv_utils::H256Wrapper, rkyv::with::Identity> as rkyv::with::DeserializeWith<rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>, alloc::collections::btree::map::BTreeMap<primitive_types::H256, ethrex_trie::node::Node>, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize_with::{closure#0}>::{closure#0}>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEPS 34,650,770 9.55%
COST 3,232,196,741 7.55%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 25,970 1,558,200 0.05%
| OP lt 15,083 904,980 0.03%
| OP eq 58,543 3,512,580 0.11%
| OP add 1,899,863 47,496,575 1.47% #3
| OP sub 76,950 4,617,000 0.14%
| OP and 1,005,067 60,304,020 1.87% #2
| OP or 4,426,768 265,606,080 8.22% #1
| OP xor 42,736 2,564,160 0.08%
| OP sll 711,639 37,716,867 1.17% #4
| OP srl 101,095 5,358,035 0.17%
| OP signextend_b 33,142 1,756,526 0.05%
| OP muluh 1 95 0.00%
| OP mul 53,947 5,124,965 0.16%
| OP dma_memcpy 266,500 11,193,000 0.35%
| OP dma_memcmp 5,490 230,580 0.01%
| OP dma_xmemset 1 42 0.00%
| OP _dma_pre 222,779 19,604,552 0.61%
| OP _dma_post 111,870 9,844,560 0.30%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 54 67,823,708 195.74% <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit_raw::<rancor::Error, <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit<rancor::Error, <rkyv::with::MapKV<ethrex_trie::rkyv_utils::H256Wrapper, rkyv::with::Identity> as rkyv::with::DeserializeWith<rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>, alloc::collections::btree::map::BTreeMap<primitive_types::H256, ethrex_trie::node::Node>, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize_with::{closure#0}>::{closure#0}>
| 1 34,650,770 100.00% main
DETAIL FUNCTION <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit_key_value_raw::<rancor::Error, <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit<rancor::Error, <rkyv::with::MapKV<ethrex_trie::rkyv_utils::H256Wrapper, rkyv::with::Identity> as rkyv::with::DeserializeWith<rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>, alloc::collections::btree::map::BTreeMap<primitive_types::H256, ethrex_trie::node::Node>, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize_with::{closure#0}>::{closure#0}>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEPS 34,645,134 9.54%
COST 3,231,731,382 7.55%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 25,970 1,558,200 0.05%
| OP lt 15,083 904,980 0.03%
| OP eq 58,479 3,508,740 0.11%
| OP add 1,899,625 47,490,625 1.47% #3
| OP sub 76,950 4,617,000 0.14%
| OP and 1,004,637 60,278,220 1.87% #2
| OP or 4,426,576 265,594,560 8.22% #1
| OP xor 42,736 2,564,160 0.08%
| OP sll 711,575 37,713,475 1.17% #4
| OP srl 101,095 5,358,035 0.17%
| OP signextend_b 33,076 1,753,028 0.05%
| OP muluh 1 95 0.00%
| OP mul 53,947 5,124,965 0.16%
| OP dma_memcpy 266,500 11,193,000 0.35%
| OP dma_memcmp 5,490 230,580 0.01%
| OP dma_xmemset 1 42 0.00%
| OP _dma_pre 222,779 19,604,552 0.61%
| OP _dma_post 111,870 9,844,560 0.30%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 321 34,645,134 100.00% <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit_raw::<rancor::Error, <rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>>::visit<rancor::Error, <rkyv::with::MapKV<ethrex_trie::rkyv_utils::H256Wrapper, rkyv::with::Identity> as rkyv::with::DeserializeWith<rkyv::collections::btree::map::ArchivedBTreeMap<ethrex_trie::rkyv_utils::ArchivedH256Wrapper, ethrex_trie::node::ArchivedNode>, alloc::collections::btree::map::BTreeMap<primitive_types::H256, ethrex_trie::node::Node>, rancor::Strategy<rkyv::de::pooling::alloc::Pool, rancor::Error>>>::deserialize_with::{closure#0}>::{closure#0}>
DETAIL FUNCTION <ethrex_vm::witness_db::GuestProgramStateWrapper>::apply_account_updates
----------------------------------------------------------------------------------------
STEPS 17,555,523 4.84%
COST 2,517,830,993 5.88%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 100,084 6,005,040 0.24%
| OP lt 35,707 2,142,420 0.09%
| OP eq 303,025 18,181,500 0.72%
| OP add 1,612,208 40,305,200 1.60% #3
| OP sub 95,624 5,737,440 0.23%
| OP and 627,879 37,672,740 1.50% #4
| OP or 1,307,839 78,470,340 3.12% #2
| OP xor 306,044 18,362,640 0.73%
| OP add_w 1,301 78,060 0.00%
| OP sll 277,411 14,702,783 0.58%
| OP srl 49,994 2,649,682 0.11%
| OP srl_w 10,144 537,632 0.02%
| OP signextend_b 6,062 321,286 0.01%
| OP muluh 26,170 2,486,150 0.10%
| OP mul 47,377 4,500,815 0.18%
| OP dma_memcpy 108,854 4,571,868 0.18%
| OP dma_memcmp 12,191 512,022 0.02%
| OP dma_xmemset 10,284 431,928 0.02%
| OP _dma_pre 77,542 6,823,696 0.27%
| OP _dma_post 85,563 7,529,544 0.30%
| OP keccak 12,074 912,190,700 36.23% #1
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 1 17,555,523 100.00% ethrex_guest_program::l1::program::execution_program
DETAIL FUNCTION once_cell::imp::initialize_or_wait
--------------------------------------------------
STEPS 17,996,506 4.96%
COST 2,242,174,377 5.24%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 16,603 996,180 0.04%
| OP lt 2,117 127,020 0.01%
| OP eq 375,269 22,516,140 1.00%
| OP add 942,657 23,566,425 1.05%
| OP sub 8,771 526,260 0.02%
| OP and 1,586,195 95,171,700 4.24% #4
| OP or 1,427,428 85,645,680 3.82%
| OP xor 4,210,236 252,614,160 11.27% #1
| OP add_w 39,308 2,358,480 0.11%
| OP sll 1,243,097 65,884,141 2.94%
| OP srl 1,529,545 81,065,885 3.62%
| OP srl_w 10,498 556,394 0.02%
| OP signextend_b 24 1,272 0.00%
| OP muluh 472 44,840 0.00%
| OP mul 1,684 159,980 0.01%
| OP dma_memcpy 14,891 625,422 0.03%
| OP dma_memcmp 78,238 3,285,996 0.15%
| OP dma_inputcpy 676 28,392 0.00%
| OP dma_xmemset 677 28,434 0.00%
| OP _dma_pre 9,760 858,880 0.04%
| OP _dma_post 84,599 7,444,712 0.33%
| OP arith256_mod 3,380 4,813,120 0.21%
| OP secp256k1_add 76,548 109,004,352 4.86% #3
| OP secp256k1_dbl 86,139 122,661,936 5.47% #2
| OP fcall_param 3,380 0 0.00%
| OP fcall 1,014 0 0.00%
| OP fcall_get 676 0 0.00%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 338 17,292,841 96.09% <once_cell::imp::OnceCell<primitive_types::H160>>::initialize::<<ethrex_common::types::transaction::Transaction>::sender::{closure#0}, ethrex_crypto::provider::CryptoError>
| 305 664,193 3.69% <once_cell::imp::OnceCell<alloc::vec::Vec<u8>>>::initialize::<<once_cell::sync::OnceCell<alloc::vec::Vec<u8>>>::get_or_init<<ethrex_common::types::transaction::Transaction>::encode_canonical_to_vec::{closure#0}>::{closure#0}, <once_cell::sync::OnceCell<_>>::get_or_init::Void>
| 1 39,294 0.22% <once_cell::imp::OnceCell<primitive_types::H256>>::initialize::<<once_cell::sync::OnceCell<primitive_types::H256>>::get_or_init<<ethrex_common::types::block::BlockHeader>::hash::{closure#0}>::{closure#0}, <once_cell::sync::OnceCell<_>>::get_or_init::Void>
| 1 178 0.00% <once_cell::imp::OnceCell<primitive_types::H256>>::initialize::<<once_cell::sync::OnceCell<primitive_types::H256>>::get_or_init<<once_cell::sync::OnceCell<primitive_types::H256>>::try_insert::{closure#0}>::{closure#0}, <once_cell::sync::OnceCell<_>>::get_or_init::Void>
DETAIL FUNCTION rayon::iter::plumbing::bridge_producer_consumer::helper::<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEPS 17,348,499 4.78%
COST 2,181,848,434 5.10%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 9,806 588,360 0.03%
| OP lt 1,431 85,860 0.00%
| OP eq 370,090 22,205,400 1.02%
| OP add 895,793 22,394,825 1.03%
| OP sub 5,056 303,360 0.01%
| OP and 1,510,129 90,607,740 4.15% #4
| OP or 1,398,918 83,935,080 3.85%
| OP xor 4,196,695 251,801,700 11.54% #1
| OP add_w 39,308 2,358,480 0.11%
| OP sll 1,223,107 64,824,671 2.97%
| OP srl 1,503,642 79,693,026 3.65%
| OP srl_w 5,505 291,765 0.01%
| OP signextend_b 353 18,709 0.00%
| OP muluh 234 22,230 0.00%
| OP mul 559 53,105 0.00%
| OP dma_memcpy 8,865 372,330 0.02%
| OP dma_memcmp 78,238 3,285,996 0.15%
| OP dma_inputcpy 676 28,392 0.00%
| OP dma_xmemset 676 28,392 0.00%
| OP _dma_pre 5,874 516,912 0.02%
| OP _dma_post 81,883 7,205,704 0.33%
| OP arith256_mod 3,380 4,813,120 0.22%
| OP secp256k1_add 76,548 109,004,352 5.00% #3
| OP secp256k1_dbl 86,139 122,661,936 5.62% #2
| OP fcall_param 3,380 0 0.00%
| OP fcall 1,014 0 0.00%
| OP fcall_get 676 0 0.00%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 2 17,348,195 100.00% rayon_core::join::join_context::<rayon::iter::plumbing::bridge_producer_consumer::helper<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_producer_consumer::helper<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>::{closure#1}, alloc::collections::linked_list::LinkedList<alloc::vec::Vec<(&ethrex_common::types::transaction::Transaction, primitive_types::H160)>>, alloc::collections::linked_list::LinkedList<alloc::vec::Vec<(&ethrex_common::types::transaction::Transaction, primitive_types::H160)>>>::{closure#0}
| 1 17,348,499 100.00% <ethrex_vm::backends::Evm>::execute_block
DETAIL FUNCTION rayon_core::join::join_context::<rayon::iter::plumbing::bridge_producer_consumer::helper<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_producer_consumer::helper<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>::{closure#1}, alloc::collections::linked_list::LinkedList<alloc::vec::Vec<(&ethrex_common::types::transaction::Transaction, primitive_types::H160)>>, alloc::collections::linked_list::LinkedList<alloc::vec::Vec<(&ethrex_common::types::transaction::Transaction, primitive_types::H160)>>>::{closure#0}
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEPS 17,348,405 4.78%
COST 2,181,840,327 5.10%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 9,806 588,360 0.03%
| OP lt 1,431 85,860 0.00%
| OP eq 370,087 22,205,220 1.02%
| OP add 895,784 22,394,600 1.03%
| OP sub 5,055 303,300 0.01%
| OP and 1,510,127 90,607,620 4.15% #4
| OP or 1,398,918 83,935,080 3.85%
| OP xor 4,196,695 251,801,700 11.54% #1
| OP add_w 39,308 2,358,480 0.11%
| OP sll 1,223,107 64,824,671 2.97%
| OP srl 1,503,642 79,693,026 3.65%
| OP srl_w 5,505 291,765 0.01%
| OP signextend_b 352 18,656 0.00%
| OP muluh 234 22,230 0.00%
| OP mul 559 53,105 0.00%
| OP dma_memcpy 8,865 372,330 0.02%
| OP dma_memcmp 78,238 3,285,996 0.15%
| OP dma_inputcpy 676 28,392 0.00%
| OP dma_xmemset 676 28,392 0.00%
| OP _dma_pre 5,874 516,912 0.02%
| OP _dma_post 81,883 7,205,704 0.33%
| OP arith256_mod 3,380 4,813,120 0.22%
| OP secp256k1_add 76,548 109,004,352 5.00% #3
| OP secp256k1_dbl 86,139 122,661,936 5.62% #2
| OP fcall_param 3,380 0 0.00%
| OP fcall 1,014 0 0.00%
| OP fcall_get 676 0 0.00%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 1 17,348,405 100.00% rayon::iter::plumbing::bridge_producer_consumer::helper::<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>
DETAIL FUNCTION <once_cell::imp::OnceCell<primitive_types::H160>>::initialize::<<ethrex_common::types::transaction::Transaction>::sender::{closure#0}, ethrex_crypto::provider::CryptoError>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEPS 17,306,023 4.77%
COST 2,178,045,114 5.09%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 9,776 586,560 0.03%
| OP lt 1,095 65,700 0.00%
| OP eq 369,392 22,163,520 1.02%
| OP add 892,660 22,316,500 1.02%
| OP sub 5,039 302,340 0.01%
| OP and 1,509,019 90,541,140 4.16% #4
| OP or 1,393,190 83,591,400 3.84%
| OP xor 4,196,695 251,801,700 11.56% #1
| OP add_w 39,308 2,358,480 0.11%
| OP sll 1,222,755 64,806,015 2.98%
| OP srl 1,503,642 79,693,026 3.66%
| OP srl_w 5,505 291,765 0.01%
| OP signextend_b 12 636 0.00%
| OP muluh 234 22,230 0.00%
| OP mul 559 53,105 0.00%
| OP dma_memcpy 8,853 371,826 0.02%
| OP dma_memcmp 78,238 3,285,996 0.15%
| OP dma_inputcpy 676 28,392 0.00%
| OP dma_xmemset 676 28,392 0.00%
| OP _dma_pre 5,874 516,912 0.02%
| OP _dma_post 81,883 7,205,704 0.33%
| OP arith256_mod 3,380 4,813,120 0.22%
| OP secp256k1_add 76,548 109,004,352 5.00% #3
| OP secp256k1_dbl 86,139 122,661,936 5.63% #2
| OP fcall_param 3,380 0 0.00%
| OP fcall 1,014 0 0.00%
| OP fcall_get 676 0 0.00%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 338 17,306,023 100.00% rayon::iter::plumbing::bridge_producer_consumer::helper::<rayon::slice::IterProducer<ethrex_common::types::transaction::Transaction>, rayon::iter::map::MapConsumer<rayon::iter::map::MapConsumer<rayon::iter::while_some::WhileSomeConsumer<rayon::iter::extend::ListVecConsumer>, <core::result::Result<_, _> as rayon::iter::FromParallelIterator<core::result::Result<_, _>>>::from_par_iter::ok<(&ethrex_common::types::transaction::Transaction, primitive_types::H160), ethrex_crypto::provider::CryptoError>::{closure#0}>, <ethrex_common::types::block::BlockBody>::get_transactions_with_sender::{closure#0}>>
DETAIL FUNCTION <once_cell::imp::OnceCell<primitive_types::H160>>::initialize::<<ethrex_common::types::transaction::Transaction>::sender::{closure#0}, ethrex_crypto::provider::CryptoError>::{closure#0}
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEPS 17,273,575 4.76%
COST 2,175,352,606 5.08%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 9,776 586,560 0.03%
| OP lt 1,095 65,700 0.00%
| OP eq 369,392 22,163,520 1.02%
| OP add 888,942 22,223,550 1.02%
| OP sub 5,039 302,340 0.01%
| OP and 1,507,667 90,460,020 4.16% #4
| OP or 1,393,190 83,591,400 3.84%
| OP xor 4,196,695 251,801,700 11.58% #1
| OP add_w 39,308 2,358,480 0.11%
| OP sll 1,222,417 64,788,101 2.98%
| OP srl 1,503,642 79,693,026 3.66%
| OP srl_w 5,505 291,765 0.01%
| OP signextend_b 12 636 0.00%
| OP muluh 234 22,230 0.00%
| OP mul 559 53,105 0.00%
| OP dma_memcpy 8,853 371,826 0.02%
| OP dma_memcmp 78,238 3,285,996 0.15%
| OP dma_inputcpy 676 28,392 0.00%
| OP dma_xmemset 676 28,392 0.00%
| OP _dma_pre 5,874 516,912 0.02%
| OP _dma_post 81,883 7,205,704 0.33%
| OP arith256_mod 3,380 4,813,120 0.22%
| OP secp256k1_add 76,548 109,004,352 5.01% #3
| OP secp256k1_dbl 86,139 122,661,936 5.64% #2
| OP fcall_param 3,380 0 0.00%
| OP fcall 1,014 0 0.00%
| OP fcall_get 676 0 0.00%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 338 17,273,575 100.00% once_cell::imp::initialize_or_wait
DETAIL FUNCTION <ethrex_levm::opcodes::OpCodeFn>::wrap::<ethrex_levm::opcode_handlers::stack_memory_storage_flow::OpSLoadHandler>
---------------------------------------------------------------------------------------------------------------------------------
STEPS 17,774,891 4.90%
COST 1,844,489,642 4.31%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 41,752 2,505,120 0.14%
| OP lt 53,170 3,190,200 0.17%
| OP eq 122,257 7,335,420 0.40%
| OP add 1,171,193 29,279,825 1.59% #4
| OP sub 82,612 4,956,720 0.27%
| OP and 805,680 48,340,800 2.62% #3
| OP or 1,595,356 95,721,360 5.19% #2
| OP xor 458,558 27,513,480 1.49%
| OP add_w 9,755 585,300 0.03%
| OP sll 527,115 27,937,095 1.51%
| OP srl 171,236 9,075,508 0.49%
| OP srl_w 4,142 219,526 0.01%
| OP signextend_b 15,661 830,033 0.05%
| OP signextend_w 14,783 783,499 0.04%
| OP muluh 94,528 8,980,160 0.49%
| OP mul 229,898 21,840,310 1.18%
| OP dma_memcpy 45,609 1,915,578 0.10%
| OP dma_memcmp 98,853 4,151,826 0.23%
| OP dma_xmemset 7,345 308,490 0.02%
| OP _dma_pre 25,693 2,260,984 0.12%
| OP _dma_post 109,221 9,611,448 0.52%
| OP keccak 2,125 160,543,750 8.70% #1
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 6,188 17,774,891 100.00% <ethrex_levm::vm::VM>::execute
DETAIL FUNCTION <ethrex_vm::witness_db::GuestProgramStateWrapper>::state_trie_root
----------------------------------------------------------------------------------
STEPS 8,557,046 2.36%
COST 1,601,977,458 3.74%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 66,382 3,982,920 0.25%
| OP lt 10,538 632,280 0.04%
| OP eq 209,682 12,580,920 0.79%
| OP add 835,082 20,877,050 1.30% #3
| OP sub 64,960 3,897,600 0.24%
| OP and 237,987 14,279,220 0.89% #4
| OP or 862,161 51,729,660 3.23% #2
| OP xor 188,453 11,307,180 0.71%
| OP sll 135,438 7,178,214 0.45%
| OP srl 8,776 465,128 0.03%
| OP srl_w 6,290 333,370 0.02%
| OP signextend_b 20 1,060 0.00%
| OP muluh 1 95 0.00%
| OP mul 2 190 0.00%
| OP dma_memcpy 59,558 2,501,436 0.16%
| OP dma_xmemset 7,068 296,856 0.02%
| OP _dma_pre 40,801 3,590,488 0.22%
| OP _dma_post 47,153 4,149,464 0.26%
| OP keccak 10,633 803,323,150 50.15% #1
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 2 8,557,046 100.00% ethrex_guest_program::l1::program::execution_program
DETAIL FUNCTION tiny_keccak::keccakf::keccakf
---------------------------------------------
STEPS 11,962,080 3.30%
COST 1,400,955,722 3.27%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP eq 44,304 2,658,240 0.19%
| OP add 7,384 184,600 0.01%
| OP and 1,109,446 66,566,760 4.75%
| OP or 1,284,802 77,088,120 5.50% #2
| OP xor 4,471,987 268,319,220 19.15% #1
| OP sll 1,284,799 68,094,347 4.86% #3
| OP srl 1,284,799 68,094,347 4.86% #4
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 1,063 6,888,240 57.58% <tiny_keccak::keccak::Keccak as tiny_keccak::Hasher>::update
| 783 5,073,840 42.42% <tiny_keccak::keccak::Keccak as tiny_keccak::Hasher>::finalize
DETAIL FUNCTION <ethrex_trie::node::branch::BranchNode as ethrex_rlp::encode::RLPEncode>::encode
------------------------------------------------------------------------------------------------
STEPS 14,599,195 4.02%
COST 1,338,735,352 3.13%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP ltu 254,328 15,259,680 1.14%
| OP eq 542,710 32,562,600 2.43% #3
| OP add 3,069,248 76,731,200 5.73% #1
| OP sub 340,510 20,430,600 1.53% #4
| OP and 655,822 39,349,320 2.94% #2
| OP or 82,180 4,930,800 0.37%
| OP sll 21,716 1,150,948 0.09%
| OP srl 44,980 2,383,940 0.18%
| OP srl_w 27,681 1,467,093 0.11%
| OP muluh 326 30,970 0.00%
| OP mul 651 61,845 0.00%
| OP dma_memcpy 236,850 9,947,700 0.74%
| OP _dma_pre 184,744 16,257,472 1.21%
| OP _dma_post 188,948 16,627,424 1.24%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 16,435 14,597,800 99.99% <ethrex_trie::node::Node>::compute_hash_no_alloc
| 1 1,395 0.01% <ethrex_trie::node::branch::BranchNode>::get::{closure#0}
DETAIL FUNCTION secp256k1_ecdsa_address_recover_c
-------------------------------------------------
STEPS 8,288,500 2.28%
COST 1,227,295,114 2.87%
| COST BY OPCODE COUNT COST % RANK
| ---------------------------------------------------------------------
| OP eq 211,814 12,708,840 1.04%
| OP add 641,426 16,035,650 1.31%
| OP and 770,954 46,257,240 3.77% #4
| OP or 514,588 30,875,280 2.52%
| OP xor 1,069,640 64,178,400 5.23% #3
| OP add_w 51,810 3,108,600 0.25%
| OP sll 307,632 16,304,496 1.33%
| OP srl 671,840 35,607,520 2.90%
| OP dma_memcpy 2,210 92,820 0.01%
| OP dma_memcmp 102,297 4,296,474 0.35%
| OP dma_inputcpy 884 37,128 0.00%
| OP dma_xmemset 442 18,564 0.00%
| OP _dma_pre 442 38,896 0.00%
| OP _dma_post 101,413 8,924,344 0.73%
| OP arith256_mod 4,420 6,294,080 0.51%
| OP secp256k1_add 100,087 142,523,888 11.61% #2
| OP secp256k1_dbl 112,633 160,389,392 13.07% #1
| OP fcall_param 4,420 0 0.00%
| OP fcall 1,326 0 0.00%
| OP fcall_get 884 0 0.00%
| TOP STEP CALLERS (calls, steps)
| -------------------------------
| 342 6,413,299 77.38% <stateless_validator_ethrex::guest::zisk::ZiskCrypto as ethrex_crypto::provider::Crypto>::recover_signer
| 100 1,875,201 22.62% <stateless_validator_ethrex::guest::zisk::ZiskCrypto as ethrex_crypto::provider::Crypto>::secp256k1_ecrecover
MARK_ID INDEX COUNT STEPS % TOTAL COST % MAIN COST OPCODE COST PRECOMPILE COST MEMORY COST
--------------------------------------------------------------------------------------------------------------------------------------------------------------
read_input 0 1 149 0.00% 13,890 0.00% 10,132 3,065 0 693
deserialize_input 0 1 63,234,483 17.42% 5,922,555,163 13.83% 4,299,944,844 862,284,524 66,096,656 694,229,139
new_payload_request_root_calculation 0 1 7,574,459 2.09% 1,050,057,847 2.45% 515,063,212 105,395,897 303,067,284 126,531,454
new_payload_request_to_block 0 1 3,773,476 1.04% 471,827,123 1.10% 256,596,368 49,070,775 130,337,320 35,822,660
misc_preparation 0 1 188 0.00% 17,849 0.00% 12,784 4,290 84 691
stf 0 1 288,402,232 79.44% 35,070,774,497 81.92% 19,611,351,776 4,853,419,810 8,080,072,532 2,525,930,379
serialize_output 0 1 331 0.00% 30,276 0.00% 22,508 6,236 172 1,360
sha256_output_bytes 0 1 4,646 0.00% 509,627 0.00% 315,928 177,125 432 16,142
write_output 0 1 244 0.00% 24,858 0.00% 16,592 6,725 0 1,541
PRE_STATE_INIT 0 1 59,185,758 16.30% 10,395,776,141 24.28% 4,024,631,544 1,089,871,389 4,783,462,504 497,810,704
ANCESTOR_VALIDATION 0 1 9,473 0.00% 1,640,772 0.00% 644,164 143,722 767,022 85,864
PRE_STATE_VERIFICATION 0 1 1,087 0.00% 102,171 0.00% 73,916 13,713 1,082 13,460
VALIDATE_BLOCK_CONSENSUS 0 1 1,775,653 0.49% 285,480,571 0.67% 120,744,404 19,377,065 128,863,636 16,495,466
SETUP_EVM 0 1 130 0.00% 11,204 0.00% 8,840 1,078 42 1,244
EXECUTE_BLOCK 0 1 194,645,544 53.62% 19,266,016,986 45.00% 13,235,896,992 3,302,889,337 1,010,764,446 1,716,466,211
GET_STATE_TRANSITIONS 0 1 1,395,412 0.38% 134,552,457 0.31% 94,888,016 27,260,944 487,914 11,915,583
APPLY_ACCOUNT_UPDATES 0 1 17,557,911 4.84% 2,518,056,633 5.88% 1,193,937,948 232,211,528 932,059,758 159,847,399
POST_VALIDATION_CHECKS 0 1 4,177,821 1.15% 773,228,211 1.81% 284,091,828 44,899,083 409,421,244 34,816,056
POST_STATE_ROOT_CALCUATION 0 1 8,561,346 2.36% 1,602,757,962 3.74% 582,171,528 127,330,649 814,244,842 79,010,943
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment