evstack / evstack/ev-reth

optimization: Explore reducing number of transaction list iterations

Aperta
#31 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
8
Fork
9
Merge medio
2g 13h
PR unite (30g)
6

Descrizione

https://github.com/evstack/ev-node/blob/04637e6ee86b8a9f22440322b77e7775ce2d8dab/execution/evm/execution.go#L134-L142

was referring this iteration, we go over the list of txs in `ev-node`. If we just do all these checks during the initial iteration, it helps reduce another iteration.

Albeit, I think this would only be relevant if we're in the 10^6 range of txs per block which I don't think we're at yet.

Assuming a program can do a 10^9 ops/second, which is 10^6 ops/millisecond. If we're targeting 50 ms block times, that's 5*10^7 ops/millisecond. So approximately, reducing the multiple iterations only start translating to performance gain at 10^6 tx range

_Originally posted by @Manav-Aggarwal in https://github.com/evstack/ev-reth/pull/29#discussion_r2251387435_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.