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 benchmarks suite juvix compile variants #2717

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Conversation

paulcadman
Copy link
Collaborator

The --target flag was replaced by subcommands in #2700

This PR fixes the benchmark suite to use juvix compile native and juvix compile wasi.

In addition this PR adds as compile-only target to juvix-bench

The compile-only target only compiles the executable for each variant of each suite. It doesn't actually run the benchmarks. This is useful when checking that the variant build steps are correct before committing.

Example to run with stack:

stack bench --ba 'compile-only'

@paulcadman paulcadman added this to the 0.6.2 milestone Apr 10, 2024
@paulcadman paulcadman self-assigned this Apr 10, 2024
@paulcadman paulcadman requested a review from janmasrovira April 10, 2024 15:12
The compile-only target only compiles the executable for each variant of
each suite. It doesn't actually run the benchmarks.

Example to run with stack:

```
stack bench --ba 'compile-only'
```
@janmasrovira janmasrovira merged commit 1fd3b34 into main Apr 10, 2024
4 checks passed
@janmasrovira janmasrovira deleted the fix-benchmarks branch April 10, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants