End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
RubyVM::YJIT.reset_stats!
reset_stats!
yjit.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/yjit.rb, line 28
def self.reset_stats!
Primitive.rb_yjit_reset_stats_bang
end
Discard statistics collected for –yjit-stats.
See also
.insns_compiled
.runtime_stats
.exit_locations
.stats_enabled?
also in
4.1 · 4.0 · 3.4 · 3.3