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 search for a default expected file and include for libsodium #278

Conversation

jlb6740
Copy link
Collaborator

@jlb6740 jlb6740 commented Aug 16, 2024

In some directories (at least libsodium) we have the same output expected for all benchmarks in the folder. Instead of creating 10s or even 100s of benchmark.std***. expected files we can have a default expected file that is used as a fall back if it exist. This patch implements this and also adds a expected files for libsodium to address #275.

@jlb6740
Copy link
Collaborator Author

jlb6740 commented Aug 16, 2024

Note also, this is done in WasmScore and there has been no issue.

@jlb6740 jlb6740 requested a review from abrown August 16, 2024 01:34
Copy link
Collaborator

@abrown abrown left a comment

Choose a reason for hiding this comment

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

From the CI run failure, is this default the right expectation for all the libsodium tests?

crates/cli/src/benchmark.rs Outdated Show resolved Hide resolved
crates/cli/src/benchmark.rs Outdated Show resolved Hide resolved
@jlb6740 jlb6740 merged commit f726f03 into bytecodealliance:main Aug 28, 2024
8 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.

2 participants