Skip to content

Warn when two executables have the same revision and flags#503

Open
k0kubun wants to merge 1 commit intoruby:mainfrom
k0kubun:detect-same-revision
Open

Warn when two executables have the same revision and flags#503
k0kubun wants to merge 1 commit intoruby:mainfrom
k0kubun:detect-same-revision

Conversation

@k0kubun
Copy link
Copy Markdown
Member

@k0kubun k0kubun commented Mar 27, 2026

This PR prints a warning when you pass multiple binaries through --chruby or -e that are identical Ruby and flags.

When benchmarking two rubies that produce identical ruby -v output and use the same command-line flags, it's likely a user mistake. Skip the warning when JIT flags differ, since comparing JIT vs non-JIT on the same revision is a valid use case.

When benchmarking two rubies that produce identical `ruby -v` output
and use the same command-line flags, it's likely a user mistake. Skip
the warning when JIT flags differ, since comparing JIT vs non-JIT on
the same revision is a valid use case.
@k0kubun k0kubun requested a review from a team March 27, 2026 23:40
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