Skip to content

Conversation

@jbargu
Copy link

@jbargu jbargu commented Jun 22, 2025

πŸ“ Description

Fixes the benches from arbiter-core to arbiter-ethereum and adds an Anvil IPC test.

πŸ” Changes include

  • πŸ› Bugfix
  • ✨ New feature
  • πŸ“š Documentation
  • ⚑ Performance improvement
  • πŸ”¨ Refactoring
  • βœ… Test updates

πŸ§ͺ Testing

cargo bench --package arbiter-ethereum

It produces a small improvement in comparison to RPC:

arbiter-ethereum version: 0.1.0
ethers-core anvil version: 2.0.14
Date: 2025-06-22
shape: (4, 7)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Operation      ┆ anvil (ΞΌs) ┆ anvil-ipc (ΞΌs) ┆ arbiter (ΞΌs) ┆ Speedup - arbiter vs   ┆ Speedup - arbiter vs  ┆ Speedup - anvil IPC   β”‚
β”‚ ---            ┆ ---        ┆ ---            ┆ ---          ┆ anvil RPC              ┆ anvil IPC             ┆ vs anvil RPC          β”‚
β”‚ str            ┆ f64        ┆ f64            ┆ f64          ┆ ---                    ┆ ---                   ┆ ---                   β”‚
β”‚                ┆            ┆                ┆              ┆ f64                    ┆ f64                   ┆ f64                   β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•ͺ════════════β•ͺ════════════════β•ͺ══════════════β•ͺ════════════════════════β•ͺ═══════════════════════β•ͺ═══════════════════════║
β”‚ Deploy         ┆ 6179.0     ┆ 5723.0         ┆ 155.0        ┆ 39.864516              ┆ 36.922581             ┆ 1.079678              β”‚
β”‚ Lookup         ┆ 1341.0     ┆ 1026.0         ┆ 73.0         ┆ 18.369863              ┆ 14.054795             ┆ 1.307018              β”‚
β”‚ Stateless Call ┆ 1247.0     ┆ 935.0          ┆ 215.0        ┆ 5.8                    ┆ 4.348837              ┆ 1.33369               β”‚
β”‚ Stateful Call  ┆ 18941.0    ┆ 15956.0        ┆ 155.0        ┆ 122.2                  ┆ 102.941935            ┆ 1.187077              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“‹ Checklist

  • I have tested the changes locally
  • I have updated the documentation accordingly
  • I have added tests that prove my fix/feature works
  • All tests pass locally

Additional notes

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