Skip to content

Conversation

@b33ngo
Copy link
Contributor

@b33ngo b33ngo commented Nov 11, 2025

No description provided.

@b33ngo b33ngo requested a review from dmitry123 November 11, 2025 12:08
@github-actions
Copy link

github-actions bot commented Nov 11, 2025

Criterion results (vs baseline)


running 60 tests


ERC20 Transfer Comparison/1_Original_EVM_ERC20
                        time:   [7.3587 µs 7.3703 µs 7.3850 µs]
Found 21 outliers among 1000 measurements (2.10%)
  1 (0.10%) low mild
  8 (0.80%) high mild
  12 (1.20%) high severe
ERC20 Transfer Comparison/2_Emulated_EVM_ERC20
                        time:   [170.87 µs 171.24 µs 171.64 µs]
Found 126 outliers among 1000 measurements (12.60%)
  65 (6.50%) high mild
  61 (6.10%) high severe
ERC20 Transfer Comparison/3_rWasm_Contract_ERC20
                        time:   [2.6105 ms 2.6147 ms 2.6198 ms]
Found 34 outliers among 1000 measurements (3.40%)
  14 (1.40%) high mild
  20 (2.00%) high severe

Greeting Contract Comparison/Original_Greeting
                        time:   [3.6234 µs 3.6246 µs 3.6260 µs]
Found 11 outliers among 100 measurements (11.00%)
  4 (4.00%) low mild
  4 (4.00%) high mild
  3 (3.00%) high severe
Greeting Contract Comparison/EVM_Greeting
                        time:   [111.93 µs 112.09 µs 112.25 µs]
Found 6 outliers among 100 measurements (6.00%)
  2 (2.00%) low mild
  3 (3.00%) high mild
  1 (1.00%) high severe
Greeting Contract Comparison/WASM_Greeting
                        time:   [150.71 µs 150.85 µs 151.01 µs]
Found 2 outliers among 100 measurements (2.00%)
  1 (1.00%) high mild
  1 (1.00%) high severe

Heads-up: runner perf is noisy; treat deltas as a smoke check.

@b33ngo b33ngo force-pushed the feat/sync-strategies branch 3 times, most recently from 23b448a to 0824b7c Compare November 14, 2025 12:24
@dmitry123 dmitry123 changed the title Feat/sync strategies feat(sync-strategies): use the same gas metering for different execution strategies Nov 27, 2025
@dmitry123 dmitry123 marked this pull request as draft November 27, 2025 15:49
b33ngo and others added 7 commits November 28, 2025 18:40
…to costs

- Update FUEL_MAX_LINEAR_X from 256KB to 128MB with proper derivation
  documenting i32 overflow constraints in WASM runtime
- Add fuel costs for secp256r1 curve operations (ADD, DOUBLE, DECOMPRESS)
- Add fuel costs for BLS12381 DECOMPRESS and DOUBLE operations
- Handle ENTER_UNCONSTRAINED, EXIT_UNCONSTRAINED, and WRITE_FD syscalls
- Remove catch-all _ => no_fuel!() pattern for exhaustive matching
@b33ngo b33ngo force-pushed the feat/sync-strategies branch from 6d9faf5 to 76da623 Compare November 28, 2025 12:02
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.

3 participants