From 644c9985256e8bf52d8ec362dcebe4a437e7fd51 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 17 Mar 2023 22:31:41 -0700 Subject: RJIT: Support --rjit-stats on release build as well --- doc/rjit/rjit.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/rjit/rjit.md b/doc/rjit/rjit.md index 77be56bfb5..feac739b02 100644 --- a/doc/rjit/rjit.md +++ b/doc/rjit/rjit.md @@ -22,7 +22,8 @@ You may still manually pass `--enable-rjit` to try RJIT on unsupported platforms ### --enable-rjit=dev -`--enable-rjit=dev` makes the interpreter slower, but enables `ruby --rjit-stats` to work. +`--enable-rjit=dev` makes the interpreter slower, but enables `vm_insns_count` and `ratio_in_rjit` +in `ruby --rjit-stats` to work. ## make ### rjit-bindgen @@ -35,7 +36,7 @@ macOS seems to have libclang by default. On Ubuntu, you can install it with `apt ## ruby ### --rjit-stats -This prints RJIT stats at exit. Available with `--enable-rjit=dev` on configure. +This prints RJIT stats at exit. Some stats are available only with `--enable-rjit=dev` on configure. ### --rjit-dump-disasm -- cgit v1.2.1