From 259c389fe057da591719da7959dd93c66c223c27 Mon Sep 17 00:00:00 2001 From: Dean Welch Date: Fri, 3 Jul 2026 15:30:42 +0100 Subject: [PATCH] Enable ISeq caching to improve performance --- config/boot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/boot.rb b/config/boot.rb index 59943c7e1059f..d5869816bfe1f 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -85,7 +85,7 @@ def invalidate_bootsnap_cache!(bootsnap_config) ignore_directories: [], development_mode: development_mode, load_path_cache: true, # Optimize the LOAD_PATH with a cache - compile_cache_iseq: false, # Don't compile Ruby code into ISeq cache, breaks coverage reporting. + compile_cache_iseq: true, # If coverage reports are inaccurate, disable this (ISeq caching bypasses Coverage tracing). compile_cache_yaml: false, # Don't compile YAML into a cache readonly: false, # Update caches - https://github.com/Shopify/bootsnap/commit/b51397f96c33aa421fd5c29484fb9574df9eb451 }