Open
Description
The Rust based "just-in-time" compiler YJIT is already a viable option for production use. With related improvements coming soon in Ruby 3.3, and with Rails Edge now enabling YJIT functionality with an initializer, YJIT adoption is expected to be ever increasing.
We should spike on determining what metric information can be gleaned from YJIT, and categorize the information into 3 buckets: what can be cleaned from within the Ruby VM itself (low hanging fruit), what would require a Shopify tool or 3rd party wrapper to get at, and what would require changes to the YJIT Rust code itself.