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

test: revamp e2e benchmark to generate both snark and stark #29

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

tchataigner
Copy link
Contributor

@tchataigner tchataigner commented Jun 19, 2024

This PR refactor the e2e.rs benchmark in the aptos-lc crate so that it also runs the SNARK proof generation.

The output is in the shape:

{
  "epoch_change_proof": {
    "snark_proving_time": 441148,
    "stark_proving_time": 53353
  },
  "inclusion_proof": {
    "snark_proving_time": 423933,
    "stark_proving_time": 40474
  }
}

With the time expressed in ms.

Also, update to the latest commit of:

@tchataigner tchataigner force-pushed the feature/update-bench branch 2 times, most recently from f98d65e to 89da258 Compare June 19, 2024 11:55
@tchataigner tchataigner requested review from wwared and huitseeker June 19, 2024 11:59
@tchataigner tchataigner force-pushed the feature/update-bench branch from 89da258 to 85a0c95 Compare June 19, 2024 12:02
@tchataigner tchataigner requested a review from storojs72 June 19, 2024 12:44
wwared
wwared previously approved these changes Jun 19, 2024
Copy link
Contributor

@wwared wwared left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for this!

I'm not sure why the cycle-count-regression CI check is failing though

aptos/docs/src/benchmark/proof.md Outdated Show resolved Hide resolved
Co-authored-by: wwared <[email protected]>
@tchataigner tchataigner requested a review from wwared June 19, 2024 14:41
@tchataigner
Copy link
Contributor Author

Looks good, thanks for this!

I'm not sure why the cycle-count-regression CI check is failing though

Because of the failing dependencies for the patches. But this PR fixes it.

@tchataigner tchataigner enabled auto-merge (squash) June 19, 2024 14:45
@tchataigner tchataigner merged commit 488446c into dev Jun 19, 2024
2 of 3 checks passed
@tchataigner tchataigner deleted the feature/update-bench branch June 19, 2024 14:52
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.

3 participants