зеркало из https://github.com/github/ruby.git
RJIT: Tweak the default call threshold
This number works better on yjit-bench (ruby-lsp).
This commit is contained in:
Родитель
cbfb5fbb25
Коммит
417eb83b48
2
rjit.c
2
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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче