Last active
January 31, 2022 08:56
-
-
Save olonho/9de9987f97dba1922fd05eaf9b324722 to your computer and use it in GitHub Desktop.
Aurora perf reproducer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/olonho/aurora-engine | |
git checkout profiler2 | |
cargo test -p aurora-engine-tests --features mainnet-test test_uniswap_input_multihop -- --nocapture | |
cd engine-tests | |
perf record --call-graph fp -a -F 1000 -g ../target/debug/deps/aurora_engine_tests-548656b2a4ae5b99 test_uniswap_input_multihop | |
perf report -g | |
if profile just `submit` call | |
submit ▒ | |
- meta_call ▒ | |
- 3,67% aurora_engine::engine::Engine<I,E>::get_relayer::h0860abfeaf1187e3 ▒ | |
- 3,59% alloc::collections::btree::set::BTreeSet<T>::insert::h8e7bfd91f3724263 ▒ | |
- 3,58% evm::executor::stack::executor::StackExecutor<S,P>::used_gas::hc2102beaefe666ec ▒ | |
- 3,34% <evm::executor::stack::memory::MemoryStackState<B> as evm::executor::stack::executor::StackState>::set_code::hc26da04c564e46a3 ▒ | |
- 2,14% <evm::executor::stack::executor::StackExecutor<S,P> as evm_runtime::handler::Handler>::call::hea7e9795da39ed85 ▒ | |
aurora_engine::meta_parsing::type_lexer::reference_type_size::h647752cc396ff702 ▒ | |
- evm::executor::stack::executor::StackExecutor<S,P>::used_gas::hc2102beaefe666ec ▒ | |
- 1,93% <evm::executor::stack::memory::MemoryStackState<B> as evm::executor::stack::executor::StackState>::set_code::hc26da04c564e46a3 ▒ | |
- 0,85% <evm::executor::stack::executor::StackExecutor<S,P> as evm_runtime::handler::Handler>::call::hea7e9795da39ed85 ▒ | |
aurora_engine::meta_parsing::type_lexer::reference_type_size::h647752cc396ff702 ▒ | |
- evm::executor::stack::executor::StackExecutor<S,P>::used_gas::hc2102beaefe666ec ▒ | |
0,60% <evm::executor::stack::memory::MemoryStackState<B> as evm::executor::stack::executor::StackState>::set_code::hc26da04c564e46a3 ▒ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment