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

Fix warnings in the end2end client benchmark code #78

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

rillian
Copy link
Contributor

@rillian rillian commented Jul 24, 2024

  • Remove unused types.
  • Constrain the benchmark sample size with a BenchmarkGroup derived from the passed framework handle rather than creating a separate one.
  • Remove redundant & references.

rillian added 2 commits July 24, 2024 09:09
Address warnings about unused imports and the `SF` type definition
by removing them.
Create a custom `BenchmarkGroup` to limit the number of samples
instead of creating a new `Criterion` instance from scratch.
Follows the expected style and addresses a warning about the
argument going unused.

NB the new group breaks continuity with benchmark results
stored from previous runs.
@rillian rillian requested review from claucece and ankeleralph July 24, 2024 16:16
@rillian rillian self-assigned this Jul 24, 2024
These bindings are already references. Addresses a clippy lint.
@rillian rillian mentioned this pull request Jul 24, 2024
Copy link
Collaborator

@ankeleralph ankeleralph left a comment

Choose a reason for hiding this comment

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

Thanks for the clean up. Looks good to me now :)

@rillian rillian merged commit 9223478 into main Jul 29, 2024
3 of 4 checks passed
@rillian rillian deleted the client-bench-warnings branch July 29, 2024 15:42
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