Skip to content

Conversation

@MegaRedHand
Copy link
Collaborator

@MegaRedHand MegaRedHand commented Nov 14, 2025

This PR improves tooling/import_benchmark by adding a target that runs multiple repetitions of the same benchmark.

Copilot AI review requested due to automatic review settings November 14, 2025 22:10
@MegaRedHand MegaRedHand requested a review from a team as a code owner November 14, 2025 22:10
@MegaRedHand MegaRedHand added performance Block execution throughput and performance in general tooling External and Internal tooling that makes it easier to test the client labels Nov 14, 2025
@github-actions github-actions bot added L1 Ethereum client and removed performance Block execution throughput and performance in general labels Nov 14, 2025
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.

Pull Request Overview

This PR adds automation for running multiple benchmark iterations by introducing a shell script and a new Makefile target. The goal is to streamline the process of running repeated import benchmarks with automatic log file numbering.

  • Adds benchmark.sh script to automate multiple benchmark runs with sequential log numbering
  • Introduces run-benches Makefile target as a convenient wrapper for the script
  • Enables running 3 benchmark iterations by default using the existing benchmark infrastructure

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
tooling/import_benchmark/benchmark.sh New shell script that runs multiple benchmark iterations with automatic log file numbering and cleanup
tooling/import_benchmark/Makefile Adds run-benches target to invoke the benchmark script with 3 repetitions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

Benchmark Block Execution Results Comparison Against Main

Command Mean [s] Min [s] Max [s] Relative
base 59.803 ± 0.191 59.508 60.099 1.00
head 60.018 ± 0.233 59.726 60.452 1.00 ± 0.01

@github-project-automation github-project-automation bot moved this to In Review in ethrex_l1 Nov 25, 2025
@MegaRedHand MegaRedHand added this pull request to the merge queue Nov 25, 2025
Merged via the queue into main with commit 7d7a6bb Nov 25, 2025
41 checks passed
@MegaRedHand MegaRedHand deleted the improve-import-benchmark branch November 25, 2025 16:24
@github-project-automation github-project-automation bot moved this from Todo to Done in ethrex_performance Nov 25, 2025
@github-project-automation github-project-automation bot moved this from In Review to Done in ethrex_l1 Nov 25, 2025
LeanSerra pushed a commit that referenced this pull request Nov 26, 2025
This PR improves `tooling/import_benchmark` by adding a target that runs
multiple repetitions of the same benchmark.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L1 Ethereum client tooling External and Internal tooling that makes it easier to test the client

Projects

Status: Done
Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants