Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(engine): warm transactions in parallel #12083

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Oct 25, 2024

Spawns each transaction as a thread, before executing the entire block.

TODO:

  • Disable most evm checks inside tx thread
  • Add heuristic for when we should warm in parallel (gas? num of txs? divide the block by N where N = number of threads?)

Additionally we should have more caches behind all of this

@Rjected Rjected changed the title perf: warm transactions in parallel perf(engine): warm transactions in parallel Oct 25, 2024
@Rjected Rjected force-pushed the dan/parallel-warming branch 2 times, most recently from 6c58fba to 4b20a5d Compare October 25, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant