diff options
author | Takashi Kokubun <[email protected]> | 2023-04-26 18:19:44 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-04-26 18:19:48 -0700 |
commit | 417eb83b48f2e9eb551e8dd5163778c3ef278972 (patch) | |
tree | 93007ad8fbd8669cc846f36a72e64615d31b0885 /rjit.c | |
parent | cbfb5fbb25a8b73127f69f47940c8d380270e6af (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |