How to get YJIT stats in web server processes? #3321
Unanswered
PikachuEXE
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Maybe the out of band hook can be used? Line 789 in f6ab4e9 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Upgraded to Ruby 3.3, trying to determine what memory limit to set (via
--yjit-exec-mem-size
, see https://github.com/ruby/ruby/blob/master/doc/yjit/yjit.md)Though in the same doc it's suggested to use
RubyVM::YJIT.runtime_stats[:ratio_in_yjit]
to getthe ratio of YJIT-executed instructions in %
. But how to run that on a running server process (like puma)?Also asked in ruby subreddit
https://old.reddit.com/r/ruby/comments/19ewrpb/how_to_get_yjit_stats_in_web_server_processes/
Beta Was this translation helpful? Give feedback.
All reactions