Expand description
Speedscope profile generation for EVM execution traces.
This module converts EVM execution traces into the speedscope evented profile format. Gas consumption is used as the value unit, so flame graph widths represent gas usage.
Re-exportsยง
use super::schema::EventedProfile;๐use super::schema::Frame;๐use super::schema::Profile;๐use super::schema::SpeedscopeFile;๐use super::schema::ValueUnit;๐use alloy_primitives::hex::ToHexExt;๐use alloy_primitives::map::HashMap;๐use revm_inspectors::tracing::CallTraceArena;๐use revm_inspectors::tracing::types::CallTraceNode;๐use revm_inspectors::tracing::types::CallTraceStep;๐use revm_inspectors::tracing::types::DecodedTraceStep;๐use revm_inspectors::tracing::types::TraceMemberOrder;๐use std::borrow::Cow;๐
Structsยง
- Speedscope
Builder ๐ - Step
Exit ๐
Functionsยง
- build
- Builds a speedscope profile from a call trace arena.
- call_
frame_ ๐name