Branch: refs/heads/master
Home:
https://github.com/xwiki/xwiki-rendering
Commit: 579b7fcde2c77499e87611c38f2fec1c6eb49ef6
https://github.com/xwiki/xwiki-rendering/commit/579b7fcde2c77499e87611c38f2…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-04-02 (Wed, 02 Apr 2025)
Changed paths:
M
xwiki-rendering-macros/xwiki-rendering-macro-box/src/main/java/org/xwiki/rendering/internal/macro/box/DefaultBoxMacro.java
M
xwiki-rendering-macros/xwiki-rendering-macro-comment/src/main/java/org/xwiki/rendering/internal/macro/comment/CommentMacro.java
M
xwiki-rendering-macros/xwiki-rendering-macro-content/src/main/java/org/xwiki/rendering/internal/macro/content/ContentMacro.java
M
xwiki-rendering-macros/xwiki-rendering-macro-html/src/main/java/org/xwiki/rendering/internal/macro/html/HTMLMacro.java
M
xwiki-rendering-macros/xwiki-rendering-macro-id/src/main/java/org/xwiki/rendering/internal/macro/id/IdMacro.java
M
xwiki-rendering-macros/xwiki-rendering-macro-message/src/main/java/org/xwiki/rendering/internal/macro/message/AbstractMessageMacro.java
M
xwiki-rendering-macros/xwiki-rendering-macro-raw/src/main/java/org/xwiki/rendering/internal/macro/raw/RawMacro.java
M
xwiki-rendering-macros/xwiki-rendering-macro-toc/src/main/java/org/xwiki/rendering/internal/macro/toc/AbstractTocMacro.java
M xwiki-rendering-transformations/xwiki-rendering-transformation-macro/pom.xml
A
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/java/org/xwiki/rendering/internal/transformation/macro/IsolatedExecutionConfiguration.java
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/java/org/xwiki/rendering/internal/transformation/macro/MacroTransformation.java
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/java/org/xwiki/rendering/macro/Macro.java
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/resources/META-INF/components.txt
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/macro/DefaultMacroManagerTest.java
A
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/transformation/macro/IsolatedExecutionConfigurationTest.java
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/transformation/macro/MacroTransformationTest.java
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/transformation/macro/TestNestedMacro.java
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/transformation/macro/TestPriorityMacro.java
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/transformation/macro/TestRecursiveMacro.java
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/transformation/macro/TestReplacementMacro.java
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/transformation/macro/TestSimpleMacro.java
A
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/transformation/macro/TestTwoNestedMacros.java
M
xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/resources/META-INF/components.txt
Log Message:
-----------
XRENDERING-778: Rendering a page with thousands of macros is slow (#330)
* Introduce the concept of isolated macros.
* In the macro transformation, use a priority queue to efficiently
process macros in order.
* Don't re-scan the XDOM after executing isolated macros.
* Add support for overriding the isolated execution support
through configuration.
* Limit macro indexes to 64 items.
* Add more tests and increase the limit of the recursion test to trigger
the 64-item limit (hard to test that it was hit, but a coverage check
confirmed it).
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-rendering/settings/notifications