RJIT: Tweak the default call threshold
This number works better on yjit-bench (ruby-lsp).
This commit is contained in:
parent
cbfb5fbb25
commit
417eb83b48
2
rjit.c
2
rjit.c
@ -102,7 +102,7 @@ VALUE rb_rjit_raw_samples = 0;
|
|||||||
VALUE rb_rjit_line_samples = 0;
|
VALUE rb_rjit_line_samples = 0;
|
||||||
|
|
||||||
// A default threshold used to add iseq to JIT.
|
// 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.
|
// Size of executable memory block in MiB.
|
||||||
#define DEFAULT_EXEC_MEM_SIZE 64
|
#define DEFAULT_EXEC_MEM_SIZE 64
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user