summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-12-24 20:36:12 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2024-12-24 20:36:12 -0800
commit7245d3e3565d0744cb5e8f697b6721eaa700a4d6 (patch)
tree21a92160a670f621b6a79deb8ad57a0ee1fe0d34
parent828e913cf7a98619ca1bdc29279dc72c1c81db17 (diff)
[DOC] Mention --yjit-perf=codegen in NEWS
-rw-r--r--NEWS.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 9638863d01..dcc40b8afc 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -471,6 +471,7 @@ The following bundled gems are promoted from default gems.
* `--yjit-mem-size` introduces a unified memory limit (default 128MiB) to track total YJIT memory usage,
providing a more intuitive alternative to the old `--yjit-exec-mem-size` option.
* `--yjit-trace-exits=COUNTER` allows tracing of counted exits and fallbacks.
+ * `--yjit-perf=codegen` allows profiling of JIT code based on YJIT's codegen functions.
* `--yjit-log` enables a compilation log to track what gets compiled.
* Ruby API
* `RubyVM::YJIT.enable(log: true)` also enables a compilation log.