Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
RubyVM::YJIT.total_compile_time_ns
total_compile_time_ns
yjit.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/yjit.rb, line 38
def self.total_compile_time_ns
Primitive.rb_yjit_total_compile_time_ns_get
end
Monotonically increasing counter representing the amount of wall time nanoseconds spent compiling.