A platform for community discussion. Free, open, simple.
PERF: Stop running bootsnap in development mode on all environments (#25737)
Alan Guo Xiang Tanbdd91b392882
diff --git a/config/boot.rb b/config/boot.rbindex bf5d61d56d6..d8552b2ffb2 100644--- a/config/boot.rb+++ b/config/boot.rb@@ -14,19 +14,10 @@ require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])if (ENV["DISABLE_BOOTSNAP"] != "1")begin- require "bootsnap"+ require "bootsnap/setup"rescue LoadError# not a strong requirementend-- if defined?(Bootsnap)- Bootsnap.setup(- cache_dir: "tmp/cache", # Path to your cache- load_path_cache: true, # Should we optimize the LOAD_PATH with a cache?- compile_cache_iseq: true, # Should compile Ruby code into ISeq cache?- compile_cache_yaml: false, # Skip YAML cache for now, cause we were seeing issues with it- )- endend# Parallel spec system