Skip to content

chore: improve micro bench runner script#13586

Merged
Alizter merged 1 commit intoocaml:mainfrom
Alizter:push-wyluokuplsrz
Feb 18, 2026
Merged

chore: improve micro bench runner script#13586
Alizter merged 1 commit intoocaml:mainfrom
Alizter:push-wyluokuplsrz

Conversation

@Alizter
Copy link
Copy Markdown
Collaborator

@Alizter Alizter commented Feb 8, 2026

Using an associative array makes it possible to enumerate over the options when giving an unknown argument. Previously it would say something like

Error: Program './bench/micro/.exe' not found!

now it says:

Unknown benchmark: invalid
Available: thread_pool memo path digest dune

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter requested a review from rgrinberg February 17, 2026 16:27
@Alizter Alizter merged commit 9651cd6 into ocaml:main Feb 18, 2026
29 checks passed
@Alizter Alizter deleted the push-wyluokuplsrz branch February 18, 2026 14:28
@Alizter Alizter changed the title chore: improve miro bench runner script chore: improve micro bench runner script Feb 20, 2026
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