Project

General

Profile

« Previous | Next » 

Revision 8b334795

Added by Jimmy Miller over 2 years ago

Enable --yjit-stats for release builds (#6694)

  • Enable --yjit-stats for release builds

In order for people in the real world to report information about how their application runs with YJIT, we want to expose stats without requiring rebuilding ruby. We can do this without overhead, with the exception of count ratio in yjit, since this relies on the interpreter also counting instructions.

This change exposes those stats, while not showing ratio in yjit if we are not in a stats build.

  • Update yjit.rb

Co-authored-by: Takashi Kokubun
Co-authored-by: Maxime Chevalier-Boisvert