From 07c05b6fe931337e928a89ac5ebf654862dc0eca Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 31 May 2021 21:12:27 -0700 Subject: Drop JIT_ISEQ_SIZE_THRESHOLD Compiling everything seems to contributed to improving the final performance in general. MJIT's compilation is slow anyway, especially when you need to wait for JIT compaction. This might make sense for short-time benchmarks like Optcarrot with default parameters, but it didn't give benefits in my local environment. --- mjit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mjit.c') diff --git a/mjit.c b/mjit.c index 2ee9225cf7..e1eb913aba 100644 --- a/mjit.c +++ b/mjit.c @@ -250,8 +250,7 @@ static inline int mjit_target_iseq_p(struct rb_iseq_constant_body *body) { return (body->type == ISEQ_TYPE_METHOD || body->type == ISEQ_TYPE_BLOCK) - && !body->builtin_inline_p - && body->iseq_size < JIT_ISEQ_SIZE_THRESHOLD; + && !body->builtin_inline_p; } static void -- cgit v1.2.3