Skip to content

Conversation

@tekknolagi
Copy link
Contributor

This at least will compare against ZJIT if present.

This at least will compare against ZJIT if present.
if have_yjit?(RbConfig.ruby)
args.executables["interp"] = [RbConfig.ruby]
args.executables["yjit"] = [RbConfig.ruby, "--yjit", *args.yjit_opts.shellsplit]
elsif have_zjit?(RbConfig.ruby)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want zjit checked first, or yjit first?
Are we generally building rubies with both, or just one of them?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default is still YJIT-only, and I opt-in the ZJIT-YJIT-combo build locally. So it might make sense to put ZJIT first (otherwise ZJIT is never going to be benchmarked for such people). Though I don't run run_benchmarks.rb with the Ruby to be benchmarked, so I'm fine with either of these.

@tekknolagi tekknolagi closed this Aug 26, 2025
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.

4 participants