optimization: Explore reducing number of transaction list iterations
- Langage dominant
- Rust
- Étoiles
- 8
- Forks
- 9
- Merge moyen
- 2 j 13 h
- PR mergées (30 j)
- 6
Description
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_
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par execution/evm/execution.go aux lignes 134-142 et suivez l'itération initiale de la liste des transactions ainsi que les vérifications ultérieures décrites dans l'issue. Déterminez si les vérifications peuvent être combinées sans modifier le comportement, puis vérifiez que le traitement des transactions produit toujours les mêmes résultats et que l'itération supplémentaire est supprimée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- rust
- Domaine
- performance
- Type d'issue
- Refactorisation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100