summaryrefslogtreecommitdiff
path: root/rjit.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-04-26 18:19:44 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-04-26 18:19:48 -0700
commit417eb83b48f2e9eb551e8dd5163778c3ef278972 (patch)
tree93007ad8fbd8669cc846f36a72e64615d31b0885 /rjit.c
parentcbfb5fbb25a8b73127f69f47940c8d380270e6af (diff)
RJIT: Tweak the default call threshold
This number works better on yjit-bench (ruby-lsp).
Diffstat (limited to 'rjit.c')
-rw-r--r--rjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rjit.c b/rjit.c
index e17e4b982e..4ce6af4d4b 100644
--- a/rjit.c
+++ b/rjit.c
@@ -102,7 +102,7 @@ VALUE rb_rjit_raw_samples = 0;
VALUE rb_rjit_line_samples = 0;
// A default threshold used to add iseq to JIT.
-#define DEFAULT_CALL_THRESHOLD 30
+#define DEFAULT_CALL_THRESHOLD 10
// Size of executable memory block in MiB.
#define DEFAULT_EXEC_MEM_SIZE 64