Skip to content

Record the build and run conditions on Windows - #554

Open
hsbt wants to merge 1 commit into
mainfrom
claude/ruby-bench-mswin-yjit-8ae383
Open

hsbt wants to merge 1 commit into
mainfrom
claude/ruby-bench-mswin-yjit-8ae383

Conversation

@hsbt

@hsbt hsbt commented Oct 13, 2026

Copy link
Copy Markdown
Member

On Windows, RUBY_DESCRIPTION is the same for MSVC and clang-cl builds of one revision and for builds with different flags, and results also depend on power settings that ruby-bench does not control. Two result files from such runs cannot be told apart afterwards.

The result JSON now records build_config (CC, CFLAGS, CPPFLAGS and optflags from RbConfig) and run_conditions, which holds the applied affinity mask and priority class, the active power scheme, and the power mode overlay that Windows 11 applies on top of it. Nothing changes on other platforms.

Generated with Claude Code

RUBY_DESCRIPTION is the same for MSVC and clang-cl builds of one revision and for builds with different flags, and ruby-bench does not control the power settings on Windows. The result JSON now keeps the compiler flags from RbConfig, the applied affinity mask and priority class, and the power scheme with the power mode overlay that Windows 11 applies on top of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant