Skip to content

Conversation

MegaRedHand
Copy link
Collaborator

@MegaRedHand MegaRedHand commented Oct 9, 2025

Based on path_based branch.

Copy link

github-actions bot commented Oct 9, 2025

Lines of code report

Total lines added: 21
Total lines removed: 42
Total lines changed: 63

Detailed view
+------------------------------------------------------+-------+------+
| File                                                 | Lines | Diff |
+------------------------------------------------------+-------+------+
| ethrex/cmd/ethrex/l2/command.rs                      | 635   | -14  |
+------------------------------------------------------+-------+------+
| ethrex/crates/blockchain/blockchain.rs               | 883   | -1   |
+------------------------------------------------------+-------+------+
| ethrex/crates/common/trie/node.rs                    | 246   | -5   |
+------------------------------------------------------+-------+------+
| ethrex/crates/common/trie/node/branch.rs             | 529   | -1   |
+------------------------------------------------------+-------+------+
| ethrex/crates/common/trie/trie.rs                    | 911   | -3   |
+------------------------------------------------------+-------+------+
| ethrex/crates/networking/p2p/sync/state_healing.rs   | 381   | -8   |
+------------------------------------------------------+-------+------+
| ethrex/crates/networking/p2p/sync/storage_healing.rs | 568   | -10  |
+------------------------------------------------------+-------+------+
| ethrex/crates/networking/rpc/utils.rs                | 380   | +2   |
+------------------------------------------------------+-------+------+
| ethrex/crates/storage/store.rs                       | 1484  | +1   |
+------------------------------------------------------+-------+------+
| ethrex/crates/storage/store_db/in_memory.rs          | 597   | +1   |
+------------------------------------------------------+-------+------+
| ethrex/crates/storage/store_db/rocksdb.rs            | 1207  | +1   |
+------------------------------------------------------+-------+------+
| ethrex/crates/storage/trie_db/layering.rs            | 134   | +13  |
+------------------------------------------------------+-------+------+
| ethrex/tooling/ef_tests/blockchain/test_runner.rs    | 353   | +3   |
+------------------------------------------------------+-------+------+

Copy link

github-actions bot commented Oct 9, 2025

Benchmark for f8f80cc

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 34.9±0.30ms 34.7±0.13ms -0.57%
Trie/cita-trie insert 1k 3.6±0.02ms 3.5±0.10ms -2.78%
Trie/ethrex-trie insert 10k 54.8±0.69ms 61.9±0.84ms +12.96%
Trie/ethrex-trie insert 1k 6.1±0.03ms 7.9±0.12ms +29.51%

@jrchatruc jrchatruc changed the base branch from main to path_based October 10, 2025 15:41
Copy link

Benchmark for df49426

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 34.7±0.32ms 35.8±0.56ms +3.17%
Trie/cita-trie insert 1k 3.5±0.01ms 3.7±0.25ms +5.71%
Trie/ethrex-trie insert 10k 66.2±0.67ms 61.7±0.48ms -6.80%
Trie/ethrex-trie insert 1k 8.3±0.04ms 8.0±0.03ms -3.61%

Copy link

Benchmark for 0c1e473

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 36.6±1.24ms 36.8±1.38ms +0.55%
Trie/cita-trie insert 1k 3.5±0.02ms 3.6±0.13ms +2.86%
Trie/ethrex-trie insert 10k 68.5±1.23ms 63.8±1.93ms -6.86%
Trie/ethrex-trie insert 1k 8.3±0.02ms 8.1±0.05ms -2.41%

Copy link

Benchmark for 5c8ede3

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 38.7±1.74ms 38.1±1.34ms -1.55%
Trie/cita-trie insert 1k 3.6±0.01ms 3.6±0.17ms 0.00%
Trie/ethrex-trie insert 10k 70.3±1.78ms 66.3±2.21ms -5.69%
Trie/ethrex-trie insert 1k 8.4±0.04ms 8.0±0.03ms -4.76%

Copy link

Benchmark for 60de075

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 34.3±0.67ms 34.7±0.43ms +1.17%
Trie/cita-trie insert 1k 3.5±0.02ms 3.6±0.01ms +2.86%
Trie/ethrex-trie insert 10k 66.5±0.30ms 61.5±0.71ms -7.52%
Trie/ethrex-trie insert 1k 8.4±0.13ms 8.3±0.32ms -1.19%

Copy link

Benchmark for 1803718

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 37.6±1.90ms 35.1±0.70ms -6.65%
Trie/cita-trie insert 1k 3.6±0.03ms 3.5±0.01ms -2.78%
Trie/ethrex-trie insert 10k 67.6±1.48ms 61.9±0.67ms -8.43%
Trie/ethrex-trie insert 1k 8.4±0.20ms 8.0±0.20ms -4.76%

Copy link

Benchmark for bdc6919

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 34.7±0.53ms 34.5±0.21ms -0.58%
Trie/cita-trie insert 1k 3.5±0.01ms 3.5±0.18ms 0.00%
Trie/ethrex-trie insert 10k 66.0±0.82ms 61.5±0.46ms -6.82%
Trie/ethrex-trie insert 1k 8.4±0.11ms 8.0±0.03ms -4.76%

Copy link

Benchmark for dd3229c

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 37.9±3.30ms 35.2±1.45ms -7.12%
Trie/cita-trie insert 1k 3.5±0.02ms 3.5±0.01ms 0.00%
Trie/ethrex-trie insert 10k 67.4±1.17ms 61.6±0.64ms -8.61%
Trie/ethrex-trie insert 1k 8.4±0.19ms 8.0±0.23ms -4.76%

> [!NOTE]
> This PR points to `main` to trigger the workflow `pr-main_l2` that
runs the state diff test.

**Motivation**

<!-- Why does this pull request exist? What are its goals? -->

**Description**

<!-- A clear and concise general description of the changes this PR
introduces -->

<!-- Link to issues: Resolves #111, Resolves #222 -->

Closes #issue_number
Copy link

Benchmark for 36430f2

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 36.9±2.06ms 39.6±2.89ms +7.32%
Trie/cita-trie insert 1k 3.5±0.05ms 3.6±0.22ms +2.86%
Trie/ethrex-trie insert 10k 66.3±1.10ms 64.3±4.18ms -3.02%
Trie/ethrex-trie insert 1k 8.3±0.10ms 8.0±0.20ms -3.61%

@ilitteri ilitteri changed the title Path based cleanup chore(l1): path based cleanup Oct 14, 2025
@ilitteri ilitteri marked this pull request as ready for review October 14, 2025 21:01
@ilitteri ilitteri requested a review from a team as a code owner October 14, 2025 21:01
@github-actions github-actions bot added the L1 Ethereum client label Oct 14, 2025
Copy link

Benchmark for ff1a66b

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 39.0±3.19ms 39.8±2.93ms +2.05%
Trie/cita-trie insert 1k 3.5±0.01ms 3.6±0.17ms +2.86%
Trie/ethrex-trie insert 10k 69.1±1.49ms 65.9±2.08ms -4.63%
Trie/ethrex-trie insert 1k 8.4±0.07ms 8.1±0.07ms -3.57%

@github-project-automation github-project-automation bot moved this to In Review in ethrex_l1 Oct 14, 2025
@jrchatruc jrchatruc merged commit 7b19135 into path_based Oct 14, 2025
48 of 49 checks passed
@jrchatruc jrchatruc deleted the path_based_cleanup branch October 14, 2025 22:20
@github-project-automation github-project-automation bot moved this from In Review to Done in ethrex_l1 Oct 14, 2025
@Oppen Oppen mentioned this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L1 Ethereum client

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants