Skip to content

Conversation

jacobtrombetta
Copy link
Contributor

Rationale for this change

The sumcheck benchmark currently only measures the Curve25519 field. The sumcheck benchmark is updated to support multiple fields. Additionally, the bn254 scalar field is added to the sumcheck benchmark.

What changes are included in this PR?

  • The sumcheck benchmark is updated to support multiple curves in commit 7655b9e
  • The bn254 scalar field is added to the sumcheck benchmark e342db6

Are these changes tested?

Yes

@jacobtrombetta jacobtrombetta requested a review from Copilot August 13, 2025 15:50
Copy link

@Copilot 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 enhances the sumcheck benchmark to support multiple scalar fields, specifically adding bn254 alongside the existing curve25519 field. The changes enable field-agnostic benchmarking by introducing template-based implementations and command-line field selection.

  • Templated the benchmark functions to work with different field types
  • Added bn254 scalar field support with appropriate includes and dependencies
  • Enhanced command-line interface to accept field selection as a parameter
  • Improved benchmark output with statistical metrics including standard deviation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
benchmark/sumcheck/benchmark.m.cc Refactored to support multiple scalar fields, templated functions, and enhanced statistical output
benchmark/sumcheck/BUILD Added bn254 field dependencies for compilation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jacobtrombetta jacobtrombetta force-pushed the bench/add-bn254-scalar-filed-to-sumcheck-benchmark branch from bb9bcc8 to f2a3af1 Compare August 13, 2025 17:27
@jacobtrombetta jacobtrombetta force-pushed the bench/add-bn254-scalar-filed-to-sumcheck-benchmark branch from f2a3af1 to f001c6c Compare August 13, 2025 17:44
@jacobtrombetta jacobtrombetta force-pushed the bench/add-bn254-scalar-filed-to-sumcheck-benchmark branch from f001c6c to 22b64cd Compare August 14, 2025 14:24
Copy link

This PR has been marked as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant