Skip to content

perf: reduce payload build churn and cache loss during block assembly#223

Open
MatusKysel wants to merge 1 commit intodevelopfrom
perf/payload-build-serialization
Open

perf: reduce payload build churn and cache loss during block assembly#223
MatusKysel wants to merge 1 commit intodevelopfrom
perf/payload-build-serialization

Conversation

@MatusKysel
Copy link
Contributor

Miner: serialize payload builds and keep cached reads

  • wrap build_payload/build_empty_payload in BuildResultWithCachedReads so cached reads are restored after each attempt
  • gate concurrent payload builds with build_in_flight and keep best_payload inline instead of collecting a vector
  • minor cleanup in builder: consume assembled_system_txs, avoid clones

@MatusKysel MatusKysel force-pushed the perf/payload-build-serialization branch from 58c5c6e to d21cc16 Compare December 19, 2025 10:27
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