Skip to content

Performance Roadmap #308

@rpanic

Description

@rpanic

Basis for this issue is the state after #307

  • Explicit dynamic state access Dynamic state access #309
  • Replace runtimeMethod wrapper with a non-provable version for sequencing that (1) uses non-provable functions for hashing-intensive operations like toStateTransitionsHash() and (2) returns the results of those to the sequencing services to be reused, compared to them recomputing the same values currently
  • Faster mempool simulation and/or Mempool fast mode (no simulation -> optimistic sequencing with ejection in case of failing hooks - building on Solution to Failed TX Hooks #294)
  • Optimistic Parallel execution of runtime and hooks
    Parallelizes execution and state access as well. State access is a natural await point in runtimes, during that time other runtime executions can start, until they in turn need to pause to fetch some state.
    Afterwards, collisions can be detected and resolved
  • Bun
  • spawn sub-processes for tracing along with throw-away masks
  • Poseidon2
  • Performance regression tests, add to CI as separate step

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions