Skip to content

Commit

Permalink
chore: add another EOF benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Aug 8, 2024
1 parent 47fbee7 commit d0865e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/revmc-cli/src/benches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ pub fn get_benches() -> Vec<Bench> {
calldata: hex!("d09de08a").to_vec(),
..Default::default()
},
Bench {
name: "counter-eof",
bytecode: include_code_str!("../../../data/counter-eof.rt.hex").unwrap(),
// `increment()`
calldata: hex!("d09de08a").to_vec(),
..Default::default()
},
Bench {
name: "snailtracer",
bytecode: include_code_str!("../../../data/snailtracer.rt.hex").unwrap(),
Expand Down
1 change: 1 addition & 0 deletions data/counter-eof.rt.hex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ef0001010004020001013c04006d00008000056080806040526004361015e100035f80fd5f3560e01c9081633fb5c1cb14e100e081638381f58a14e1009c5063d09de08a14e100045fe0ffd534e100875f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112e1005c5f547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114e100086001015f555f80f37f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5f80fd5f80fd34e100335f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112e100086020905f548152f35f80fd5f80fd34e1003460207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112e100086004355f555f80f35f80fd5f80fda3646970667358221220cc6570f0f9fb641c08c7d9d1c36810bd19987855bcd8f9ccde7cfcd8670b41fa6c6578706572696d656e74616cf564736f6c63782c302e382e32372d646576656c6f702e323032342e372e32342b636f6d6d69742e64353139363430342e6d6f64006b

0 comments on commit d0865e8

Please sign in to comment.