diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-11-04 21:57:44 -0500 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-11-04 22:57:52 -0500 |
| commit | 9cfe949d4e04cd06404a5bdb2005990d3860307b (patch) | |
| tree | 77be31fb68c0ce228547f89a91cce51d9c5da264 /zjit.rb | |
| parent | 033ba3c8812cc4027a44e8339803e4256e9a7e33 (diff) | |
ZJIT: Fallback counter rename: s/fancy/complex/
Kokubun bought up that "complex" is a more fitting name for what these
counters count. Thanks!
Also:
- make the SendFallbackReason enum name consistent with the counter name
- rewrite the printout prompt in zjit.rb
Diffstat (limited to 'zjit.rb')
| -rw-r--r-- | zjit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -165,9 +165,9 @@ class << RubyVM::ZJIT print_counters_with_prefix(prefix: 'send_fallback_', prompt: 'send fallback reasons', buf:, stats:, limit: 20) # Show most popular unsupported call features. Because each call can - # use multiple fancy features, a decrease in this number does not + # use multiple complex features, a decrease in this number does not # necessarily mean an increase in number of optimized calls. - print_counters_with_prefix(prefix: 'fancy_arg_pass_', prompt: 'popular unsupported argument-parameter features', buf:, stats:, limit: 10) + print_counters_with_prefix(prefix: 'complex_arg_pass_', prompt: 'popular complex argument-parameter features not optimized', buf:, stats:, limit: 10) # Show exit counters, ordered by the typical amount of exits for the prefix at the time print_counters_with_prefix(prefix: 'unhandled_yarv_insn_', prompt: 'unhandled YARV insns', buf:, stats:, limit: 20) |
