Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
RubyVM::YJIT.reset_stats!
reset_stats!
yjit.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/yjit.rb, line 27
def self.reset_stats!
Primitive.rb_yjit_reset_stats_bang
end
Discard statistics collected for --yjit-stats.
See also
.print_and_dump_stats
.runtime_stats
.format_number_pct
.stats_enabled?
also in
4.1 · 4.0 · 3.4 · 3.2