Skip to content

perf(blockdb): simplify storage helpers and reduce lookup overhead#643

Merged
pk910 merged 6 commits intoethpandaops:masterfrom
Sahil-4555:perf/blockdb-query-and-keypath-optimizations
Apr 17, 2026
Merged

perf(blockdb): simplify storage helpers and reduce lookup overhead#643
pk910 merged 6 commits intoethpandaops:masterfrom
Sahil-4555:perf/blockdb-query-and-keypath-optimizations

Conversation

@Sahil-4555
Copy link
Copy Markdown
Contributor

@Sahil-4555 Sahil-4555 commented Apr 16, 2026

This PR enhances blockdb by removing redundant storage operations and simplifying common logic amongst storage engines. The primary enhancement is in local component lookup, which now use a single bounded scan rather than numerous independent lookups, decreasing benchmark time by about 50% and reducing resources. It also batches local component writes, centralizes shared component-flag detection, and simplifies S3 key handling and exec-data slot parsing, with the slot parsing helper outperforming benchmark results by around 95%.

@pk910 pk910 merged commit 3e892f9 into ethpandaops:master Apr 17, 2026
4 checks passed
@Sahil-4555 Sahil-4555 deleted the perf/blockdb-query-and-keypath-optimizations branch April 17, 2026 16:57
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.

2 participants