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

Add benchmarking for compute units usage #2466

Merged
merged 15 commits into from Apr 24, 2023

Conversation

acheroncrypto
Copy link
Collaborator

Added benchmarking for compute units usage in Anchor programs.

This is done by creating a program to measure the results and comparing the current results with the previous version's results. Any change over 1% needs to be noted in /bench or CI will fail.

Updating the benchmark results is handled automatically when running the benchmark tests and PRs that change compute units should run anchor test --skip-lint in /tests/bench.

For more information see Compute Units and /tests/bench.

@vercel
Copy link

vercel bot commented Apr 23, 2023

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto merged commit 5910dd3 into coral-xyz:master Apr 24, 2023
44 of 45 checks passed
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.

None yet

1 participant