Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions plan/REVM_integration_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ Generation path (miners, BlockGen helper):

So far only the **verification** step benefits (≈ 15 % faster). Generation will speed up once path 4.5 is implemented.

Batch transactions with reth-bsc(ffi) should transmit transactions from Go to Rust. For simplicity, we used RLP for transmission, which takes a lot of time for encoding and decoding. We excluded the time consumed by the encoding/decoding process. Here is the comparison: (40% promotion)
| Lang | exec a block(avg) | samples|
|-------|--------|------|
| Go | 1.1383ms | per block: 871.458µs/ 1.985167ms/ 3.491958ms/ 892.875µs/ 939.417µs/ 945.208µs |
| Rust | 0.674122ms | per block: (655.584µs (init bscExecutor and execute txs), 387.625µs (only execute txs)) / (659.292µs, 381.792µs) / (654µs, 373.75µs) /(636.417µs, 363.459µs) |

---

## 5 Best-case potential (after Milestone 4.5 & 4.6)
Expand Down