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

Support to build and run benchmarks in byte mode #298

Conversation

shakthimaan
Copy link
Contributor

  • Adds run_config_byte.json to build and run benchmarks in byte mode.
  • The benchmarks dune files have been updated to add the modes for native and byte, but, we need to use the run_config_byte.json file as follows:
$ USE_SYS_DUNE_HACK=1 SANDMARK_CUSTOM_NAME=5.00.0 BUILD_BENCH_TARGET=bytebench RUN_CONFIG_JSON=run_config_byte.json make ocaml-versions/5.00.0+stable.bench 
  • The 5.00.0+stable.json file has been updated to February 24, 2022 commit.
  • The CI has not been updated for the run_config_byte.json file as the execution is very slow compared to native runs.

@kayceesrk
Copy link
Contributor

Should README also be updated with the information for how to run the bytecode benchmarks?

@shakthimaan
Copy link
Contributor Author

The README has been updated, along with the necessary 5.0.0+trunk naming changes.

@shakthimaan shakthimaan merged commit 2e38ae9 into ocaml-bench:main Mar 2, 2022
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

2 participants