bluealloy / revm

Rust implementation of the Ethereum Virtual Machine.
https://bluealloy.github.io/revm/
MIT License
1.59k stars 518 forks source link

fix(EOF): Use cfg code size limit for eofcreate #1606

Closed rakita closed 2 months ago

rakita commented 2 months ago

Respect cfg code size for eofcreate output

github-actions[bot] commented 2 months ago

Valgrind Results:

==3945== Cachegrind, a cache and branch-prediction profiler
==3945== Copyright (C) 2002-2017, and GNU GPL'd, by Nicholas Nethercote et al.
==3945== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==3945== Command: target/release/snailtracer
==3945== 
--3945-- warning: L3 cache found, using its data for the LL simulation.
Running snailtracer example!
elapsed: 1.836458623s
==3945== 
==3945== I   refs:      427,042,385
==3945== I1  misses:          7,836
==3945== LLi misses:          2,833
==3945== I1  miss rate:        0.00%
==3945== LLi miss rate:        0.00%
==3945== 
==3945== D   refs:      204,077,697  (132,269,238 rd   + 71,808,459 wr)
==3945== D1  misses:        340,297  (    200,333 rd   +    139,964 wr)
==3945== LLd misses:        137,815  (      4,496 rd   +    133,319 wr)
==3945== D1  miss rate:         0.2% (        0.2%     +        0.2%  )
==3945== LLd miss rate:         0.1% (        0.0%     +        0.2%  )
==3945== 
==3945== LL refs:           348,133  (    208,169 rd   +    139,964 wr)
==3945== LL misses:         140,648  (      7,329 rd   +    133,319 wr)
==3945== LL miss rate:          0.0% (        0.0%     +        0.2%  )