Skip to content

Conversation

@tompng
Copy link
Member

@tompng tompng commented Nov 9, 2025

Fixes #19
Low resolution-clock is added in windows, but it shouldn't be used in assert_linear_performance.
ruby/ruby's core_assertion.rb selects clock that has enough resolution.

https://github.com/ruby/ruby/pull/14866/files#diff-cd83e37e349e8cf458780bae62026a2c0d5a908a6ce40638d1f862b1a8800cf5

Low resolution-clock is added in windows, but it shouldn't be used in assert_linear_performance.
ruby/ruby's core_assertion.rb selects clock that has enough resolution.
@hsbt
Copy link
Member

hsbt commented Nov 10, 2025

https://github.com/ruby/test-unit-ruby-core/releases/tag/v1.0.11

@tompng tompng deleted the sync_windows_clock_id branch November 10, 2025 10:48
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.

assert_linear_performance fail with Ruby head on windows

2 participants