You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
379 B
13 lines
379 B
# frozen_string_literal: true |
|
|
|
# Automatically enable YJIT as of Ruby 3.3, as it brings very |
|
# sizeable performance improvements. |
|
|
|
# If you are deploying to a memory constrained environment |
|
# you may want to delete this file, but otherwise it's free |
|
# performance. |
|
if defined?(RubyVM::YJIT.enable) |
|
Rails.application.config.after_initialize do |
|
RubyVM::YJIT.enable |
|
end |
|
end
|
|
|