Skip to content

Commit

Permalink
RJIT: Use RJIT_STATS on --enable-rjit=dev
Browse files Browse the repository at this point in the history
RUBY_DEBUG is too slow.
  • Loading branch information
k0kubun committed Mar 18, 2023
1 parent 644c998 commit 39cd74d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -3872,8 +3872,8 @@ AS_CASE(["$RJIT_SUPPORT"],
AS_CASE(["$RJIT_SUPPORT"],
[dev], [
# Enable RJIT_STATS (vm_insns_count of --rjit-stats)
AC_DEFINE(RUBY_DEBUG, 1)
# Enable extra stats (vm_insns_count, ratio_in_rjit)
AC_DEFINE(RJIT_STATS, 1)
])
AC_DEFINE(USE_RJIT, 1)
Expand Down

0 comments on commit 39cd74d

Please sign in to comment.