diff options
author | Jimmy Miller <jimmy.miller@shopify.com> | 2022-11-10 12:56:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 12:56:22 -0500 |
commit | 8b3347950e6344474430ed08f5fa19f613883660 (patch) | |
tree | a932fb4a9e0e51cc4c81bc5e6325d945ea99c03f /shape.c | |
parent | 0de3bc92b4fc3bb9fc0930e98baed37044ed44e1 (diff) | |
download | ruby-8b3347950e6344474430ed08f5fa19f613883660.tar.gz |
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 <takashikkbn@gmail.com>
Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
Diffstat (limited to 'shape.c')
0 files changed, 0 insertions, 0 deletions