Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
RubyVM::YJIT.reset_stats!
() -> void
reset_stats!
yjit.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/yjit.rb, line 32
def self.reset_stats!
Primitive.rb_yjit_reset_stats_bang
end
Discard statistics collected for --yjit-stats.
See also
.max_compile_time_ns=
.runtime_stats
.max_compile_time_ns
.stats_enabled?
also in
4.0 · 3.4 · 3.3 · 3.2