Skip to content
class method

RubyVM::YJIT.runtime_stats

(?context: bool) -> ::Hash[untyped, untyped]?
runtime_stats(key = nil)

Return a hash for statistics generated for the --yjit-stats command line option. Return nil when option is not passed or unavailable. If a symbol argument is provided, return only the value for the named stat. If any other type is provided, raises TypeError.