diff --git a/CHANGELOG.md b/CHANGELOG.md index b43e3a2c71..d604291c3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Added anchor links to admonition blocks, making it possible to create direct links to specific admonitions. ([#2505], [#2676]) * Added different banners for dev and unreleased docs ([#2382], [#2682]) -## Fixed +### Fixed * `@meta`, `@setup`, and `@docs` blocks no longer generate spurious entries in the search index. ([#1929], [#2675]) +* Fixed a performance regression introduced in v1.10.0 as part of the code clearing out the sandbox modules to save memory and caused by calling `GC.gc()` too often. ## Version [v1.10.1] - 2025-03-31 diff --git a/src/expander_pipeline.jl b/src/expander_pipeline.jl index 547d94d3cb..a7f02c582c 100644 --- a/src/expander_pipeline.jl +++ b/src/expander_pipeline.jl @@ -24,7 +24,6 @@ function clear_modules!(d::Dict{Symbol, Any}) startswith(String(k), "__atexample__") || continue v isa Module && clear_module!(v) end - GC.gc() return end