Skip to content

Conversation

@fedacking
Copy link
Contributor

@fedacking fedacking commented Nov 6, 2025

Motivation

This pr aims to add a consistent command we can use to reproducible benchmark the speed of ethrex, without p2p and other concurrency problems enabled.

Description

  • Adds an import-bench subcommand to import blocks and execute them

@github-actions github-actions bot added the L1 Ethereum client label Nov 6, 2025
@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Lines of code report

Total lines added: 129
Total lines removed: 0
Total lines changed: 129

Detailed view
+--------------------------+-------+------+
| File                     | Lines | Diff |
+--------------------------+-------+------+
| ethrex/cmd/ethrex/cli.rs | 761   | +129 |
+--------------------------+-------+------+

@fedacking
Copy link
Contributor Author

We should print the actual execution time based without taking into account the background thread. Then we should print how much we're waiting. Print as "stall on background task"

@fedacking fedacking marked this pull request as ready for review November 7, 2025 18:06
@fedacking fedacking requested a review from a team as a code owner November 7, 2025 18:06
@ethrex-project-sync ethrex-project-sync bot moved this to In Review in ethrex_l1 Nov 7, 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: In Review

Development

Successfully merging this pull request may close these issues.

2 participants