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

Test file_name is ignored when saving? #22

Open
ElectreAAS opened this issue Jun 20, 2022 · 0 comments
Open

Test file_name is ignored when saving? #22

ElectreAAS opened this issue Jun 20, 2022 · 0 comments
Labels
forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system.

Comments

@ElectreAAS
Copy link

Hello,
When using Core_bench.Bench.Test.create with a ~file_name parameter, it is completely ignored?
In this MWE.txt, I use a long descriptive name for the test and a simple name for the file_name, but here's what happens:

dune exec ./main.exe bench1 -- -save

Measurements will be saved.       
Estimated testing time 10s (1 benchmarks x 10s). Change using '-quota'.
Saving to: Long_Descriptive_Name-2022-06-20-12:11-10s.txt.
┌───────────────────────┬──────────┬─────────┬────────────┐
│ Name                  │ Time/Run │ mWd/Run │ Percentage │
├───────────────────────┼──────────┼─────────┼────────────┤
│ Long Descriptive Name │ 114.14ns │  60.00w │    100.00% │
└───────────────────────┴──────────┴─────────┴────────────┘

How could I ensure the measurements are saved in a predetermined location?

@github-iron github-iron added the forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system. label Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system.
Projects
None yet
Development

No branches or pull requests

2 participants