Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
RubyVM::YJIT.stats_enabled?
stats_enabled?
yjit.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/yjit.rb, line 17
def self.stats_enabled?
Primitive.rb_yjit_stats_enabled_p
end
Check if --yjit-stats is used.