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