Skip to content

Fix performance regression in clear_modules! #2685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

fingolfin
Copy link
Collaborator

See oscar-system/Oscar.jl#4824 for background.

Unfortunately there is a much worse performance regression on master introduced by PR #2676 (ping @Rahban1). Luckily this one has not yet been in a release of Documenter.

It would be great to have this fix in a release ASAP. Perhaps it would make sense to make a branch for a 1.10.2 release with just this fix but not the other changes, so we have time to properly deal with the other regression (other than reverting the PR in question) ?

@mortenpi
Copy link
Member

LGTM!

Perhaps it would make sense to make a branch for a 1.10.2 release with just this fix but not the other changes, so we have time to properly deal with the other regression (other than reverting the PR in question) ?

We haven't done those in a while, but we can definitely do backports when needed.

Side note -- do you think we could add Oscar to be part of our upstream tests? I wouldn't have noticed the performance issues, but it's a big, complex document, so it might reveal a regression sometimes.

test-documentation-build:
name: doc-build-${{ matrix.package }}
runs-on: ubuntu-latest
env:
PACKAGE: ${{ matrix.package }}
strategy:
fail-fast: false
matrix:
include:
- package: 'MathOptInterface'

@mortenpi mortenpi merged commit 3684e46 into JuliaDocs:master Apr 25, 2025
26 checks passed
mortenpi pushed a commit that referenced this pull request Apr 25, 2025
mortenpi added a commit that referenced this pull request Apr 25, 2025
* Remove at-meta, at-setup, at-docs from search index (#2675)

Co-authored-by: Morten Piibeleht <morten.piibeleht@gmail.com>
(cherry picked from commit e20db94)

* Fix performance regression in clear_modules! (#2685)

(cherry picked from commit 3684e46)

* Set version to 1.10.2

---------

Co-authored-by: Mohd Rahban Ghani <rahban.ghani2001@gmail.com>
Co-authored-by: Max Horn <max@quendi.de>
@fingolfin fingolfin deleted the mh/fix-gc-regression branch April 25, 2025 05:38
@fingolfin
Copy link
Collaborator Author

Thank you for the quick release @mortenpi !

We should open an issue on the other performance regression. (I'd do it now but need to run now to get my son to daycare and then get to teaching. I'll try to remember it later.)

I see no reason why we couldn't/ shouldn't add Oscar to those tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants