Skip to content

Conversation

@Oppen
Copy link
Contributor

@Oppen Oppen commented Oct 24, 2025

chain_config is a matter of initialization with mutable stores, while
latest_block_header is replaced by an ArcSwap to allow lock-free
swapping with new values.

Motivation

Description

Closes #issue_number

chain_config is a matter of initialization with mutable stores, while
latest_block_header is replaced by an ArcSwap to allow lock-free
swapping with new values.
@github-actions
Copy link

github-actions bot commented Oct 24, 2025

Lines of code report

Total lines added: 0
Total lines removed: 34
Total lines changed: 34

Detailed view
+--------------------------------+-------+------+
| File                           | Lines | Diff |
+--------------------------------+-------+------+
| ethrex/crates/storage/store.rs | 1499  | -34  |
+--------------------------------+-------+------+

@github-actions
Copy link

github-actions bot commented Oct 28, 2025

Benchmark Block Execution Results Comparison Against Main

Command Mean [s] Min [s] Max [s] Relative
base 76.806 ± 0.447 76.084 77.837 1.00
head 77.222 ± 0.264 76.765 77.678 1.01 ± 0.01

@jrchatruc jrchatruc changed the title perf(l1,l2): remove latest_block_header and chain_config locks perf(l1,l2): remove latest_block_header lock Oct 28, 2025
@jrchatruc jrchatruc marked this pull request as ready for review October 28, 2025 20:12
@jrchatruc jrchatruc requested a review from a team as a code owner October 28, 2025 20:12
Copilot AI review requested due to automatic review settings October 28, 2025 20:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L1 Ethereum client L2 Rollup client performance

Projects

Status: No status
Status: No status
Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants