summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2023-10-19 15:29:31 -0400
committerGitHub <noreply@github.com>2023-10-19 19:29:31 +0000
commit3e65115cef8dec7d280784fdd7324ede529051be (patch)
tree5cd6e1e0fac13897d318cf2463df41bf604ebe20 /doc
parent9194f489c94a4498bcfa1e858a31ecdef833b4c9 (diff)
YJIT: remove unused `--yjit-greedy-versioning` command-line option (#8713)
Diffstat (limited to 'doc')
-rw-r--r--doc/yjit/yjit.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/yjit/yjit.md b/doc/yjit/yjit.md
index 4c1984ca6b..7e2472b76e 100644
--- a/doc/yjit/yjit.md
+++ b/doc/yjit/yjit.md
@@ -172,8 +172,7 @@ compiled, lower values mean less code is compiled (default 200000)
- `--yjit-stats=quiet`: gather statistics while running a program but don't print them. Stats are accessible through `RubyVM::YJIT.runtime_stats`. (incurs a run-time cost)
- `--yjit-trace-exits`: produce a Marshal dump of backtraces from specific exits. Automatically enables `--yjit-stats`
- `--yjit-max-versions=N`: maximum number of versions to generate per basic block (default 4)
-- `--yjit-greedy-versioning`: greedy versioning mode (disabled by default, may increase code size)
-- `--yjit-perf`: Enable frame pointers and perf profiling
+- `--yjit-perf`: Enable frame pointers and profiling with the `perf` tool
Note that there is also an environment variable `RUBY_YJIT_ENABLE` which can be used to enable YJIT.
This can be useful for some deployment scripts where specifying an extra command-line option to Ruby is not practical.