Skip to content

feat(evm): add lazy JIT with OSR for multipass mode#442

Draft
starwarfan wants to merge 1 commit into
DTVMStack:mainfrom
starwarfan:lazy-jit
Draft

feat(evm): add lazy JIT with OSR for multipass mode#442
starwarfan wants to merge 1 commit into
DTVMStack:mainfrom
starwarfan:lazy-jit

Conversation

@starwarfan
Copy link
Copy Markdown
Contributor

Background JIT compilation runs in a separate thread while the interpreter handles the first invocation. At JUMP/JUMPI, the interpreter checks whether JIT code has become available and promotes execution mid-flight via On-Stack Replacement (saving stack/memory to EVMInstance and entering the JIT at the target PC through its indirect jump table).

Enabled by default; disable with DTVM_EVM_LAZY_JIT=false or set_option("lazy","false").

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

  • N
  • Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

  • Affects user behaviors
  • Contains CI/CD configuration changes
  • Contains documentation changes
  • Contains experimental features
  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

  • N
  • Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

  • Unit test
  • Integration test
  • Benchmark (add benchmark stats below)
  • Manual test (add detailed scripts or steps below)
  • Other

6. Release note

None

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

⚡ Performance Regression Check Results

✅ Performance Check Passed (interpreter)

Performance Benchmark Results (threshold: 25%)

Benchmark Baseline (us) Current (us) Change Status
total/main/blake2b_huff/8415nulls 1.51 1.53 +1.2% PASS
total/main/blake2b_huff/empty 0.02 0.02 +1.6% PASS
total/main/blake2b_shifts/8415nulls 11.88 12.09 +1.8% PASS
total/main/sha1_divs/5311 5.09 5.37 +5.5% PASS
total/main/sha1_divs/empty 0.06 0.07 +6.8% PASS
total/main/sha1_shifts/5311 2.96 3.10 +5.0% PASS
total/main/sha1_shifts/empty 0.04 0.04 +3.5% PASS
total/main/snailtracer/benchmark 52.68 57.72 +9.6% PASS
total/main/structarray_alloc/nfts_rank 0.97 1.06 +8.5% PASS
total/main/swap_math/insufficient_liquidity 0.00 0.00 +0.7% PASS
total/main/swap_math/received 0.00 0.00 +3.2% PASS
total/main/swap_math/spent 0.00 0.00 +1.6% PASS
total/main/weierstrudel/1 0.28 0.30 +5.3% PASS
total/main/weierstrudel/15 3.12 3.22 +2.9% PASS
total/micro/JUMPDEST_n0/empty 1.31 1.31 -0.0% PASS
total/micro/jump_around/empty 0.09 0.09 -0.2% PASS
total/micro/loop_with_many_jumpdests/empty 20.15 20.03 -0.6% PASS
total/micro/memory_grow_mload/by1 0.10 0.11 +5.6% PASS
total/micro/memory_grow_mload/by16 0.10 0.11 +10.7% PASS
total/micro/memory_grow_mload/by32 0.11 0.12 +1.7% PASS
total/micro/memory_grow_mload/nogrow 0.10 0.10 +5.7% PASS
total/micro/memory_grow_mstore/by1 0.10 0.11 +10.0% PASS
total/micro/memory_grow_mstore/by16 0.11 0.11 +2.0% PASS
total/micro/memory_grow_mstore/by32 0.12 0.12 +7.1% PASS
total/micro/memory_grow_mstore/nogrow 0.10 0.10 -1.1% PASS
total/micro/signextend/one 0.23 0.25 +6.4% PASS
total/micro/signextend/zero 0.23 0.25 +4.9% PASS
total/synth/ADD/b0 2.00 5.60 +180.6% PASS
total/synth/ADD/b1 1.99 2.08 +4.3% PASS
total/synth/ADDRESS/a0 4.76 4.72 -0.8% PASS
total/synth/ADDRESS/a1 5.30 5.30 +0.1% PASS
total/synth/AND/b0 1.71 1.63 -4.7% PASS
total/synth/AND/b1 1.71 1.81 +5.8% PASS
total/synth/BYTE/b0 6.12 6.13 +0.1% PASS
total/synth/BYTE/b1 4.75 4.86 +2.3% PASS
total/synth/CALLDATASIZE/a0 3.59 3.75 +4.5% PASS
total/synth/CALLDATASIZE/a1 3.59 3.76 +4.6% PASS
total/synth/CALLER/a0 4.74 4.75 +0.4% PASS
total/synth/CALLER/a1 5.30 5.31 +0.2% PASS
total/synth/CALLVALUE/a0 3.76 3.77 +0.2% PASS
total/synth/CALLVALUE/a1 3.76 3.77 +0.1% PASS
total/synth/CODESIZE/a0 3.99 4.08 +2.1% PASS
total/synth/CODESIZE/a1 3.99 4.08 +2.3% PASS
total/synth/DUP1/d0 1.23 1.39 +13.5% PASS
total/synth/DUP1/d1 1.39 1.48 +6.0% PASS
total/synth/DUP10/d0 1.31 1.42 +8.4% PASS
total/synth/DUP10/d1 1.39 1.48 +6.1% PASS
total/synth/DUP11/d0 1.39 1.40 +0.7% PASS
total/synth/DUP11/d1 1.17 1.48 +26.4% PASS
total/synth/DUP12/d0 1.29 1.39 +7.8% PASS
total/synth/DUP12/d1 1.39 1.48 +6.0% PASS
total/synth/DUP13/d0 1.38 1.39 +0.7% PASS
total/synth/DUP13/d1 1.39 1.48 +6.4% PASS
total/synth/DUP14/d0 1.07 1.39 +30.6% PASS
total/synth/DUP14/d1 1.39 1.48 +6.0% PASS
total/synth/DUP15/d0 1.31 1.39 +6.4% PASS
total/synth/DUP15/d1 1.15 1.48 +27.8% PASS
total/synth/DUP16/d0 1.07 1.39 +30.3% PASS
total/synth/DUP16/d1 1.39 1.48 +6.1% PASS
total/synth/DUP2/d0 1.06 1.39 +30.8% PASS
total/synth/DUP2/d1 1.39 1.48 +6.2% PASS
total/synth/DUP3/d0 1.06 1.39 +30.8% PASS
total/synth/DUP3/d1 1.31 1.48 +12.9% PASS
total/synth/DUP4/d0 1.31 1.39 +6.5% PASS
total/synth/DUP4/d1 1.15 1.49 +29.4% PASS
total/synth/DUP5/d0 1.31 1.39 +6.8% PASS
total/synth/DUP5/d1 1.39 1.48 +6.1% PASS
total/synth/DUP6/d0 1.31 1.47 +12.4% PASS
total/synth/DUP6/d1 1.15 1.48 +28.2% PASS
total/synth/DUP7/d0 1.07 1.40 +30.7% PASS
total/synth/DUP7/d1 1.15 1.48 +28.4% PASS
total/synth/DUP8/d0 1.07 1.39 +30.6% PASS
total/synth/DUP8/d1 1.39 1.48 +6.1% PASS
total/synth/DUP9/d0 1.07 1.40 +30.7% PASS
total/synth/DUP9/d1 1.39 1.48 +5.9% PASS
total/synth/EQ/b0 2.76 2.69 -2.7% PASS
total/synth/EQ/b1 1.33 1.41 +6.1% PASS
total/synth/GAS/a0 3.83 3.83 +0.1% PASS
total/synth/GAS/a1 3.84 3.84 +0.1% PASS
total/synth/GT/b0 2.62 2.63 +0.5% PASS
total/synth/GT/b1 1.56 1.72 +10.6% PASS
total/synth/ISZERO/u0 1.15 1.47 +28.0% PASS
total/synth/JUMPDEST/n0 1.31 1.31 -0.1% PASS
total/synth/LT/b0 2.62 2.59 -1.2% PASS
total/synth/LT/b1 1.55 1.72 +10.8% PASS
total/synth/MSIZE/a0 4.26 4.23 -0.6% PASS
total/synth/MSIZE/a1 4.81 4.81 +0.0% PASS
total/synth/MUL/b0 5.30 5.29 -0.1% PASS
total/synth/MUL/b1 5.36 5.37 +0.2% PASS
total/synth/NOT/u0 1.82 1.69 -7.1% PASS
total/synth/OR/b0 1.64 1.71 +4.5% PASS
total/synth/OR/b1 1.71 1.79 +4.7% PASS
total/synth/PC/a0 3.58 3.59 +0.1% PASS
total/synth/PC/a1 3.59 3.60 +0.3% PASS
total/synth/PUSH1/p0 0.99 1.23 +25.0% PASS
total/synth/PUSH1/p1 1.38 1.42 +2.5% PASS
total/synth/PUSH10/p0 1.15 1.23 +7.2% PASS
total/synth/PUSH10/p1 1.45 1.43 -1.4% PASS
total/synth/PUSH11/p0 1.15 1.31 +14.3% PASS
total/synth/PUSH11/p1 1.43 1.42 -0.2% PASS
total/synth/PUSH12/p0 1.15 1.31 +14.3% PASS
total/synth/PUSH12/p1 1.42 1.43 +0.5% PASS
total/synth/PUSH13/p0 0.91 1.23 +35.1% PASS
total/synth/PUSH13/p1 1.44 1.42 -1.4% PASS
total/synth/PUSH14/p0 1.24 1.25 +0.9% PASS
total/synth/PUSH14/p1 1.41 1.43 +1.5% PASS
total/synth/PUSH15/p0 0.91 1.26 +38.5% PASS
total/synth/PUSH15/p1 1.48 1.50 +1.3% PASS
total/synth/PUSH16/p0 0.91 1.23 +35.3% PASS
total/synth/PUSH16/p1 1.41 1.43 +1.3% PASS
total/synth/PUSH17/p0 0.99 1.24 +24.9% PASS
total/synth/PUSH17/p1 1.41 1.43 +0.8% PASS
total/synth/PUSH18/p0 0.99 1.24 +25.2% PASS
total/synth/PUSH18/p1 1.44 1.43 -0.9% PASS
total/synth/PUSH19/p0 1.15 1.23 +7.4% PASS
total/synth/PUSH19/p1 1.44 1.43 -0.8% PASS
total/synth/PUSH2/p0 1.15 1.31 +14.3% PASS
total/synth/PUSH2/p1 1.39 1.42 +2.2% PASS
total/synth/PUSH20/p0 0.99 1.31 +32.7% PASS
total/synth/PUSH20/p1 1.43 1.42 -0.2% PASS
total/synth/PUSH21/p0 1.15 1.31 +14.1% PASS
total/synth/PUSH21/p1 1.19 1.43 +19.5% PASS
total/synth/PUSH22/p0 1.16 1.31 +13.4% PASS
total/synth/PUSH22/p1 1.43 1.43 +0.1% PASS
total/synth/PUSH23/p0 1.15 1.31 +14.4% PASS
total/synth/PUSH23/p1 1.45 1.45 +0.2% PASS
total/synth/PUSH24/p0 1.15 1.31 +14.4% PASS
total/synth/PUSH24/p1 1.42 1.47 +3.0% PASS
total/synth/PUSH25/p0 0.99 1.31 +32.7% PASS
total/synth/PUSH25/p1 1.43 1.43 +0.4% PASS
total/synth/PUSH26/p0 1.15 1.31 +14.3% PASS
total/synth/PUSH26/p1 1.42 1.43 +0.2% PASS
total/synth/PUSH27/p0 0.99 1.23 +24.5% PASS
total/synth/PUSH27/p1 1.46 1.43 -1.9% PASS
total/synth/PUSH28/p0 1.15 1.31 +14.1% PASS
total/synth/PUSH28/p1 1.43 1.44 +0.8% PASS
total/synth/PUSH29/p0 1.07 1.31 +22.8% PASS
total/synth/PUSH29/p1 1.43 1.43 +0.0% PASS
total/synth/PUSH3/p0 0.99 1.23 +24.8% PASS
total/synth/PUSH3/p1 1.42 1.43 +0.9% PASS
total/synth/PUSH30/p0 1.16 1.26 +9.1% PASS
total/synth/PUSH30/p1 1.45 1.44 -0.3% PASS
total/synth/PUSH31/p0 0.99 1.23 +24.2% PASS
total/synth/PUSH31/p1 1.61 1.55 -3.6% PASS
total/synth/PUSH32/p0 1.15 1.31 +14.3% PASS
total/synth/PUSH32/p1 1.41 1.43 +1.2% PASS
total/synth/PUSH4/p0 1.15 1.23 +7.1% PASS
total/synth/PUSH4/p1 1.42 1.45 +2.6% PASS
total/synth/PUSH5/p0 0.99 1.23 +24.1% PASS
total/synth/PUSH5/p1 1.41 1.42 +0.6% PASS
total/synth/PUSH6/p0 1.15 1.23 +7.4% PASS
total/synth/PUSH6/p1 1.41 1.47 +3.8% PASS
total/synth/PUSH7/p0 1.15 1.31 +14.3% PASS
total/synth/PUSH7/p1 1.43 1.43 -0.5% PASS
total/synth/PUSH8/p0 1.23 1.31 +6.7% PASS
total/synth/PUSH8/p1 1.43 1.42 -0.7% PASS
total/synth/PUSH9/p0 0.99 1.31 +32.8% PASS
total/synth/PUSH9/p1 1.40 1.42 +1.2% PASS
total/synth/RETURNDATASIZE/a0 3.99 4.16 +4.2% PASS
total/synth/RETURNDATASIZE/a1 3.89 4.16 +7.0% PASS
total/synth/SAR/b0 3.79 4.07 +7.4% PASS
total/synth/SAR/b1 4.30 4.38 +2.0% PASS
total/synth/SGT/b0 2.61 2.60 -0.5% PASS
total/synth/SGT/b1 1.56 1.72 +10.5% PASS
total/synth/SHL/b0 3.04 3.05 +0.3% PASS
total/synth/SHL/b1 1.60 1.74 +8.8% PASS
total/synth/SHR/b0 2.93 3.07 +4.7% PASS
total/synth/SHR/b1 1.63 1.68 +3.1% PASS
total/synth/SIGNEXTEND/b0 3.66 3.78 +3.1% PASS
total/synth/SIGNEXTEND/b1 3.71 3.86 +4.0% PASS
total/synth/SLT/b0 2.62 2.60 -0.8% PASS
total/synth/SLT/b1 1.55 1.72 +10.8% PASS
total/synth/SUB/b0 1.98 4.61 +133.1% PASS
total/synth/SUB/b1 1.97 2.06 +4.5% PASS
total/synth/SWAP1/s0 1.49 1.64 +10.1% PASS
total/synth/SWAP10/s0 1.50 1.65 +10.1% PASS
total/synth/SWAP11/s0 1.50 1.66 +10.1% PASS
total/synth/SWAP12/s0 1.50 1.66 +10.3% PASS
total/synth/SWAP13/s0 1.51 1.66 +10.2% PASS
total/synth/SWAP14/s0 1.51 1.66 +10.1% PASS
total/synth/SWAP15/s0 1.51 1.66 +9.9% PASS
total/synth/SWAP16/s0 1.51 1.66 +10.0% PASS
total/synth/SWAP2/s0 1.49 1.64 +10.1% PASS
total/synth/SWAP3/s0 1.49 1.64 +9.8% PASS
total/synth/SWAP4/s0 1.50 1.65 +10.1% PASS
total/synth/SWAP5/s0 1.50 1.65 +10.1% PASS
total/synth/SWAP6/s0 1.50 1.65 +10.0% PASS
total/synth/SWAP7/s0 1.50 1.65 +10.2% PASS
total/synth/SWAP8/s0 1.51 1.65 +9.2% PASS
total/synth/SWAP9/s0 1.50 1.65 +10.2% PASS
total/synth/XOR/b0 1.55 1.55 +0.4% PASS
total/synth/XOR/b1 1.55 1.64 +5.8% PASS
total/synth/loop_v1 4.32 4.34 +0.4% PASS
total/synth/loop_v2 4.43 4.35 -1.7% PASS

Summary: 194 benchmarks, 0 regressions


✅ Performance Check Passed (multipass)

Performance Benchmark Results (threshold: 25%)

Benchmark Baseline (us) Current (us) Change Status
total/main/blake2b_huff/8415nulls 1.55 1.56 +0.7% PASS
total/main/blake2b_huff/empty 0.07 0.07 +3.3% PASS
total/main/blake2b_shifts/8415nulls 5.18 10.75 +107.5% REGRESSED
total/main/sha1_divs/5311 1.89 2.29 +20.9% PASS
total/main/sha1_divs/empty 0.03 0.04 +20.6% PASS
total/main/sha1_shifts/5311 2.76 3.22 +16.5% PASS
total/main/sha1_shifts/empty 0.04 0.05 +17.7% PASS
total/main/snailtracer/benchmark 52.89 58.17 +10.0% PASS
total/main/structarray_alloc/nfts_rank 0.29 0.30 +2.8% PASS
total/main/swap_math/insufficient_liquidity 0.02 0.02 +19.1% PASS
total/main/swap_math/received 0.02 0.02 +20.1% PASS
total/main/swap_math/spent 0.02 0.02 +20.6% PASS
total/main/weierstrudel/1 0.34 0.36 +5.0% PASS
total/main/weierstrudel/15 3.20 3.31 +3.4% PASS
total/micro/JUMPDEST_n0/empty 0.13 0.15 +8.7% PASS
total/micro/jump_around/empty 0.63 0.98 +57.3% PASS
total/micro/loop_with_many_jumpdests/empty 1.95 59.31 +2935.3% PASS
total/micro/memory_grow_mload/by1 0.18 0.20 +10.8% PASS
total/micro/memory_grow_mload/by16 0.18 0.21 +13.5% PASS
total/micro/memory_grow_mload/by32 0.20 0.21 +6.0% PASS
total/micro/memory_grow_mload/nogrow 0.18 0.20 +12.4% PASS
total/micro/memory_grow_mstore/by1 0.18 0.19 +4.3% PASS
total/micro/memory_grow_mstore/by16 0.19 0.20 +4.8% PASS
total/micro/memory_grow_mstore/by32 0.20 0.22 +6.3% PASS
total/micro/memory_grow_mstore/nogrow 0.18 0.19 +5.9% PASS
total/micro/signextend/one 0.35 0.36 +4.0% PASS
total/micro/signextend/zero 0.34 0.36 +5.3% PASS
total/synth/ADD/b0 0.01 0.01 -3.2% PASS
total/synth/ADD/b1 0.01 0.01 +2.9% PASS
total/synth/ADDRESS/a0 0.16 0.17 +3.3% PASS
total/synth/ADDRESS/a1 0.16 0.16 +3.0% PASS
total/synth/AND/b0 0.01 0.01 -2.0% PASS
total/synth/AND/b1 0.01 0.01 +2.3% PASS
total/synth/BYTE/b0 1.96 2.27 +15.9% PASS
total/synth/BYTE/b1 2.35 2.58 +9.6% PASS
total/synth/CALLDATASIZE/a0 0.08 0.08 +0.7% PASS
total/synth/CALLDATASIZE/a1 0.08 0.08 +2.6% PASS
total/synth/CALLER/a0 0.16 0.16 +3.1% PASS
total/synth/CALLER/a1 0.16 0.16 +2.9% PASS
total/synth/CALLVALUE/a0 0.28 0.29 +6.3% PASS
total/synth/CALLVALUE/a1 0.28 0.29 +4.1% PASS
total/synth/CODESIZE/a0 0.08 0.08 +0.3% PASS
total/synth/CODESIZE/a1 0.08 0.08 +2.3% PASS
total/synth/DUP1/d0 0.01 0.01 -4.0% PASS
total/synth/DUP1/d1 0.01 0.01 +1.7% PASS
total/synth/DUP10/d0 0.01 0.01 +2.4% PASS
total/synth/DUP10/d1 0.01 0.01 +1.6% PASS
total/synth/DUP11/d0 0.01 0.01 +2.2% PASS
total/synth/DUP11/d1 0.01 0.01 +1.8% PASS
total/synth/DUP12/d0 0.01 0.01 +2.2% PASS
total/synth/DUP12/d1 0.01 0.01 +1.8% PASS
total/synth/DUP13/d0 0.01 0.01 +2.2% PASS
total/synth/DUP13/d1 0.01 0.01 +1.8% PASS
total/synth/DUP14/d0 0.01 0.01 +2.3% PASS
total/synth/DUP14/d1 0.01 0.01 +1.7% PASS
total/synth/DUP15/d0 0.01 0.01 +2.3% PASS
total/synth/DUP15/d1 0.01 0.01 +1.9% PASS
total/synth/DUP16/d0 0.01 0.01 +2.3% PASS
total/synth/DUP16/d1 0.01 0.01 +1.9% PASS
total/synth/DUP2/d0 0.01 0.01 -4.4% PASS
total/synth/DUP2/d1 0.01 0.01 +1.9% PASS
total/synth/DUP3/d0 0.01 0.01 +2.3% PASS
total/synth/DUP3/d1 0.01 0.01 +1.8% PASS
total/synth/DUP4/d0 0.01 0.01 +2.2% PASS
total/synth/DUP4/d1 0.01 0.01 +1.8% PASS
total/synth/DUP5/d0 0.01 0.01 +2.2% PASS
total/synth/DUP5/d1 0.01 0.01 +1.9% PASS
total/synth/DUP6/d0 0.01 0.01 +2.3% PASS
total/synth/DUP6/d1 0.01 0.01 +1.8% PASS
total/synth/DUP7/d0 0.01 0.01 +2.2% PASS
total/synth/DUP7/d1 0.01 0.01 +1.9% PASS
total/synth/DUP8/d0 0.01 0.01 +2.2% PASS
total/synth/DUP8/d1 0.01 0.01 +1.8% PASS
total/synth/DUP9/d0 0.01 0.01 +2.1% PASS
total/synth/DUP9/d1 0.01 0.01 +1.9% PASS
total/synth/EQ/b0 0.01 0.01 -2.5% PASS
total/synth/EQ/b1 0.01 0.01 +3.0% PASS
total/synth/GAS/a0 0.80 0.83 +4.2% PASS
total/synth/GAS/a1 0.76 0.84 +9.5% PASS
total/synth/GT/b0 0.01 0.01 -2.3% PASS
total/synth/GT/b1 0.01 0.01 +4.0% PASS
total/synth/ISZERO/u0 0.01 0.01 +0.5% PASS
total/synth/JUMPDEST/n0 0.13 0.14 +7.0% PASS
total/synth/LT/b0 0.01 0.01 -0.8% PASS
total/synth/LT/b1 0.01 0.01 +3.9% PASS
total/synth/MSIZE/a0 0.01 0.01 -0.8% PASS
total/synth/MSIZE/a1 0.01 0.01 +1.6% PASS
total/synth/MUL/b0 0.01 0.01 -2.8% PASS
total/synth/MUL/b1 0.01 0.01 +1.8% PASS
total/synth/NOT/u0 0.01 0.01 +0.6% PASS
total/synth/OR/b0 0.01 0.01 -2.7% PASS
total/synth/OR/b1 0.01 0.01 +2.8% PASS
total/synth/PC/a0 0.01 0.01 -0.6% PASS
total/synth/PC/a1 0.01 0.01 +1.8% PASS
total/synth/PUSH1/p0 0.02 0.01 -34.4% PASS
total/synth/PUSH1/p1 0.01 0.01 +4.7% PASS
total/synth/PUSH10/p0 0.02 0.01 -34.3% PASS
total/synth/PUSH10/p1 0.01 0.01 +4.9% PASS
total/synth/PUSH11/p0 0.02 0.01 -34.5% PASS
total/synth/PUSH11/p1 0.01 0.01 +4.7% PASS
total/synth/PUSH12/p0 0.02 0.01 -34.1% PASS
total/synth/PUSH12/p1 0.01 0.01 +4.7% PASS
total/synth/PUSH13/p0 0.02 0.01 -34.0% PASS
total/synth/PUSH13/p1 0.01 0.01 +4.8% PASS
total/synth/PUSH14/p0 0.02 0.01 -34.2% PASS
total/synth/PUSH14/p1 0.01 0.01 +4.8% PASS
total/synth/PUSH15/p0 0.02 0.01 -34.9% PASS
total/synth/PUSH15/p1 0.01 0.01 +4.8% PASS
total/synth/PUSH16/p0 0.02 0.01 -33.9% PASS
total/synth/PUSH16/p1 0.01 0.01 +4.8% PASS
total/synth/PUSH17/p0 0.02 0.01 -35.0% PASS
total/synth/PUSH17/p1 0.01 0.01 +4.8% PASS
total/synth/PUSH18/p0 0.02 0.01 -35.0% PASS
total/synth/PUSH18/p1 0.01 0.01 +4.7% PASS
total/synth/PUSH19/p0 0.02 0.01 -35.3% PASS
total/synth/PUSH19/p1 0.01 0.01 +4.4% PASS
total/synth/PUSH2/p0 0.02 0.01 -34.1% PASS
total/synth/PUSH2/p1 0.01 0.01 +4.9% PASS
total/synth/PUSH20/p0 0.02 0.01 -34.5% PASS
total/synth/PUSH20/p1 0.01 0.01 +4.7% PASS
total/synth/PUSH21/p0 0.02 0.01 -35.5% PASS
total/synth/PUSH21/p1 0.01 0.01 +4.8% PASS
total/synth/PUSH22/p0 1.16 1.32 +14.1% PASS
total/synth/PUSH22/p1 1.46 1.49 +1.9% PASS
total/synth/PUSH23/p0 1.16 1.32 +14.0% PASS
total/synth/PUSH23/p1 1.44 1.45 +0.3% PASS
total/synth/PUSH24/p0 0.94 1.32 +41.3% PASS
total/synth/PUSH24/p1 1.46 1.49 +1.8% PASS
total/synth/PUSH25/p0 1.16 1.33 +14.6% PASS
total/synth/PUSH25/p1 1.44 1.44 +0.2% PASS
total/synth/PUSH26/p0 0.84 1.00 +18.4% PASS
total/synth/PUSH26/p1 1.45 1.49 +2.5% PASS
total/synth/PUSH27/p0 1.16 1.32 +14.2% PASS
total/synth/PUSH27/p1 1.44 1.45 +0.7% PASS
total/synth/PUSH28/p0 1.16 1.32 +14.2% PASS
total/synth/PUSH28/p1 1.46 1.50 +2.3% PASS
total/synth/PUSH29/p0 1.16 1.32 +14.2% PASS
total/synth/PUSH29/p1 1.44 1.45 +0.6% PASS
total/synth/PUSH3/p0 0.02 0.01 -34.1% PASS
total/synth/PUSH3/p1 0.01 0.01 +4.9% PASS
total/synth/PUSH30/p0 1.18 1.34 +13.4% PASS
total/synth/PUSH30/p1 1.47 1.49 +1.2% PASS
total/synth/PUSH31/p0 1.16 1.32 +14.0% PASS
total/synth/PUSH31/p1 1.55 1.58 +1.5% PASS
total/synth/PUSH32/p0 1.16 1.32 +14.2% PASS
total/synth/PUSH32/p1 1.48 1.50 +1.4% PASS
total/synth/PUSH4/p0 0.02 0.01 -33.9% PASS
total/synth/PUSH4/p1 0.01 0.01 +4.9% PASS
total/synth/PUSH5/p0 0.02 0.01 -34.4% PASS
total/synth/PUSH5/p1 0.01 0.01 +4.7% PASS
total/synth/PUSH6/p0 0.02 0.01 -34.4% PASS
total/synth/PUSH6/p1 0.01 0.01 +4.9% PASS
total/synth/PUSH7/p0 0.02 0.01 -34.0% PASS
total/synth/PUSH7/p1 0.01 0.01 +4.9% PASS
total/synth/PUSH8/p0 0.02 0.01 -34.2% PASS
total/synth/PUSH8/p1 0.01 0.01 +6.1% PASS
total/synth/PUSH9/p0 0.02 0.01 -33.8% PASS
total/synth/PUSH9/p1 0.01 0.01 +4.8% PASS
total/synth/RETURNDATASIZE/a0 0.53 0.49 -6.7% PASS
total/synth/RETURNDATASIZE/a1 0.49 0.53 +8.4% PASS
total/synth/SAR/b0 3.80 4.01 +5.4% PASS
total/synth/SAR/b1 4.35 4.41 +1.5% PASS
total/synth/SGT/b0 0.01 0.01 -0.9% PASS
total/synth/SGT/b1 0.01 0.01 +3.9% PASS
total/synth/SHL/b0 3.05 3.06 +0.5% PASS
total/synth/SHL/b1 1.65 1.75 +6.2% PASS
total/synth/SHR/b0 2.94 3.09 +4.8% PASS
total/synth/SHR/b1 1.62 1.69 +4.4% PASS
total/synth/SIGNEXTEND/b0 3.59 3.79 +5.4% PASS
total/synth/SIGNEXTEND/b1 3.73 3.90 +4.4% PASS
total/synth/SLT/b0 0.01 0.01 -1.7% PASS
total/synth/SLT/b1 0.01 0.01 +3.8% PASS
total/synth/SUB/b0 0.01 0.01 -3.0% PASS
total/synth/SUB/b1 0.01 0.01 +2.9% PASS
total/synth/SWAP1/s0 0.01 0.01 +5.7% PASS
total/synth/SWAP10/s0 0.01 0.01 +5.1% PASS
total/synth/SWAP11/s0 0.01 0.01 +5.4% PASS
total/synth/SWAP12/s0 0.01 0.01 +5.6% PASS
total/synth/SWAP13/s0 0.01 0.01 +5.6% PASS
total/synth/SWAP14/s0 0.01 0.01 +5.5% PASS
total/synth/SWAP15/s0 0.01 0.01 +5.3% PASS
total/synth/SWAP16/s0 0.01 0.01 +5.4% PASS
total/synth/SWAP2/s0 0.01 0.01 +5.5% PASS
total/synth/SWAP3/s0 0.01 0.01 +5.6% PASS
total/synth/SWAP4/s0 0.01 0.01 +5.7% PASS
total/synth/SWAP5/s0 0.01 0.01 +5.6% PASS
total/synth/SWAP6/s0 0.01 0.01 +5.7% PASS
total/synth/SWAP7/s0 0.01 0.01 +5.6% PASS
total/synth/SWAP8/s0 0.01 0.01 +5.7% PASS
total/synth/SWAP9/s0 0.01 0.01 +5.7% PASS
total/synth/XOR/b0 0.01 0.01 -2.0% PASS
total/synth/XOR/b1 0.01 0.01 +2.5% PASS
total/synth/loop_v1 1.45 1.38 -5.1% PASS
total/synth/loop_v2 1.37 1.30 -5.2% PASS

Summary: 194 benchmarks, 1 regressions


Background JIT compilation runs in a separate thread while the
interpreter handles the first invocation. At JUMP/JUMPI, the interpreter
checks whether JIT code has become available and promotes execution
mid-flight via On-Stack Replacement (saving stack/memory to EVMInstance
and entering the JIT at the target PC through its indirect jump table).

Enabled by default; disable with DTVM_EVM_LAZY_JIT=false or
set_option("lazy","false").

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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