anton-rs / cannon-rs

An alternative implementation of the OP Stack's Cannon, a MIPS emulator for the EVM.
MIT License
59 stars 10 forks source link

perf: Use `xkcp-rs` bindings for `mipsevm` keccak operations #30

Closed clabby closed 1 year ago

clabby commented 1 year ago

Overview

Replaces alloy's tiny-keccak hasher with @danipopes' xkcp-rs bindings. xkcp offers a significant speedup in the merkleization of memory inside of the mipsevm.

Execution Benchmark

System: Apple M1 Max 32GB unified memory

Screenshot 2023-10-21 at 10 03 55 PM