Skip to content

XRENDERING-778: Rendering a page with thousands of macros is slow#4020

Merged
michitux merged 2 commits intoxwiki:masterfrom
michitux:XRENDERING-778
Apr 2, 2025
Merged

XRENDERING-778: Rendering a page with thousands of macros is slow#4020
michitux merged 2 commits intoxwiki:masterfrom
michitux:XRENDERING-778

Conversation

@michitux
Copy link
Copy Markdown
Contributor

Jira URL

https://jira.xwiki.org/browse/XRENDERING-778

Changes

Description

  • Introduce the concept of isolated execution in wiki macros.
  • Mark many macros as isolated.

Clarifications

Screenshots & Video

grafik

Executed Tests

LANG=C.UTF-8 mvn clean install -Pdocker,legacy,integration-tests,snapshotModules,quality,distribution,flavor-integration-tests -pl $(git diff --name-only --merge-base origin/master | awk -F'/' '{for(i=NF-1; i>0; i--){if($i ~ /src$/){printf(":%s\n", $(i-1)); break;}}}' | sort -u | paste -sd "," -)

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • None for now, probably later.

* Introduce the concept of isolated execution in wiki macros.
* Mark many macros as isolated.
@michitux michitux self-assigned this Mar 31, 2025
* Fix hint translation key.
* Fix Live Data macro coverage.
@michitux michitux merged commit 64fc5f3 into xwiki:master Apr 2, 2025
@michitux michitux deleted the XRENDERING-778 branch April 2, 2025 16:09
michitux added a commit that referenced this pull request May 26, 2025
)

* Introduce the concept of isolated execution in wiki macros.
* Mark many macros as isolated.

(cherry picked from commit 64fc5f3)
earzur pushed a commit to earzur/xwiki-platform that referenced this pull request Sep 8, 2025
…iki#4020)

* Introduce the concept of isolated execution in wiki macros.
* Mark many macros as isolated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants