Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(l2): prover comparison benchmarks #1221

Merged
merged 24 commits into from
Nov 29, 2024
Merged

feat(l2): prover comparison benchmarks #1221

merged 24 commits into from
Nov 29, 2024

Conversation

xqft
Copy link
Contributor

@xqft xqft commented Nov 20, 2024

Motivation

To compare the L2 prover performance with rsp.

Description

  • adds a prove command to the L2 CLI to prove a block from genesis and chain files
  • adds a cache for rsp containing a L1 mainnet block
  • adds some rules to the prover's Makefile to run the comparison (rsp proving a 24 MGas mainnet block, ethrex proving a 25 MGas L2 block)

@xqft xqft marked this pull request as ready for review November 26, 2024 22:23
@xqft xqft requested a review from a team as a code owner November 26, 2024 22:23
> /dev/null 2>&1
@echo ""
@echo "ethrex_l2 times (L2 block, 25 MGas):"
@RISC0_DEV_MODE=1 time $(ETHREX_L2_BIN) prove \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this be RISC0_DEV_MODE=0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes! good catch, thanks!!

@jrchatruc jrchatruc added this pull request to the merge queue Nov 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Nov 28, 2024
@jrchatruc jrchatruc enabled auto-merge November 29, 2024 15:24
@jrchatruc jrchatruc added this pull request to the merge queue Nov 29, 2024
Merged via the queue into main with commit 18aae39 Nov 29, 2024
16 checks passed
@jrchatruc jrchatruc deleted the l2/comparison_bench branch November 29, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants