Skip to content

Conversation

@iovoid
Copy link
Contributor

@iovoid iovoid commented Nov 13, 2025

Motivation

We disabled compression for all tables, but some tables with less but larger elements could benefit and bring small space savings.

Description

This PR enables compression for codes and other, smaller, compressible tables.

@iovoid iovoid requested a review from a team as a code owner November 13, 2025 17:27
@iovoid iovoid marked this pull request as draft November 13, 2025 17:27
@github-actions github-actions bot added L1 Ethereum client performance labels Nov 13, 2025
@github-actions
Copy link

github-actions bot commented Nov 13, 2025

Lines of code report

Total lines added: 11
Total lines removed: 0
Total lines changed: 11

Detailed view
+-------------------------------------------+-------+------+
| File                                      | Lines | Diff |
+-------------------------------------------+-------+------+
| ethrex/crates/storage/store_db/rocksdb.rs | 1659  | +11  |
+-------------------------------------------+-------+------+

@iovoid iovoid changed the title perf(l1): compress codes perf(l1)!: compress some tables Nov 13, 2025
@github-actions
Copy link

github-actions bot commented Nov 13, 2025

Benchmark Block Execution Results Comparison Against Main

Command Mean [s] Min [s] Max [s] Relative
base 61.402 ± 1.122 60.045 63.406 1.00
head 62.702 ± 0.493 61.909 63.651 1.02 ± 0.02

@iovoid iovoid changed the title perf(l1)!: compress some tables feat(l1)!: compress some tables Nov 13, 2025
@github-actions github-actions bot removed performance L1 Ethereum client labels Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status
Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants