We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe13558 commit e0881a6Copy full SHA for e0881a6
test/benchmarks_test.rb
@@ -2,12 +2,12 @@
2
require 'yaml'
3
4
describe 'benchmarks.yml' do
5
- it 'has the same entries as /benchmarks' do
+ it 'lists standard Ruby/JIT benchmarks, excluding custom Ractor benchmarks' do
6
yjit_bench = File.expand_path('..', __dir__)
7
benchmarks_yml = YAML.load_file("#{yjit_bench}/benchmarks.yml")
8
benchmarks = Dir.glob("#{yjit_bench}/benchmarks/*").map do |entry|
9
- File.basename(entry).delete_suffix('.rb')
10
- end
+ File.basename(entry).delete_suffix('.rb') unless File.basename(entry) == "ractor"
+ end.compact
11
assert_equal benchmarks.sort, benchmarks_yml.keys.sort
12
end
13
0 commit comments