Skip to content

Commit

Permalink
disable YJIT in local to speed up tests (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly authored Feb 19, 2025
1 parent 0859de4 commit 243ff23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/initializers/yjit.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Rails.application.configure do
# YJIT slows down the test suite and doesn't really help in development
# It will be disabled by default in Rails 8.1
# https://github.com/rails/rails/pull/53746

config.yjit = !Rails.env.local?
end

0 comments on commit 243ff23

Please sign in to comment.