Skip to content

feat(inspector): configure stepped opcodes - #149

Draft
DaniPopes wants to merge 21 commits into
mainfrom
dani/inspector-opcode-config
Draft

feat(inspector): configure stepped opcodes#149
DaniPopes wants to merge 21 commits into
mainfrom
dani/inspector-opcode-config

Conversation

@DaniPopes

@DaniPopes DaniPopes commented May 29, 2026

Copy link
Copy Markdown
Member

Stacked on #151.

This adds an inspector configuration hook for declaring which opcodes need step hooks, then registers that config into the runtime execution table before inspected execution. Sparse configs execute uninterested opcodes through the normal dispatch path, while full opcode configs keep the normal table and run step hooks from the table dispatch loop instead of through every opcode wrapper.

@DaniPopes
DaniPopes changed the base branch from main to dani/inspector-call-interpreter May 30, 2026 15:48
…code-config

# Conflicts:
#	crates/evm2/src/evm/inspector.rs
Base automatically changed from dani/inspector-call-interpreter to main June 1, 2026 06:56
…-config

# Conflicts:
#	AGENTS.md
#	crates/evm2/src/evm/config.rs
#	crates/evm2/src/evm/inspector.rs
#	crates/evm2/src/evm/mod.rs
#	crates/evm2/src/interpreter/runtime.rs
@codspeed-hq

codspeed-hq Bot commented Jun 27, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 10.51%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 140 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
fibonacci-calldata 258.4 µs 233.8 µs +10.51%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing dani/inspector-opcode-config (9c0b153) with main (22b1fc1)

Open in CodSpeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant