-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
4
-
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
When a page with a data: image is rendered by the word document exporter the data: is analyzed in N^2 time.
Steps to reproduce:
- Create a new page
- Add a "roadmap" macro, default configuration
- Save the page
- Export the page as a doc file
Expected behaviour:
- The page is exported quickly
Actual behaviour:
- The page takes upwards of 45 seconds to render, in a purely CPU bound operation. If a user attempts to reload the page, then now you've got two problems.
Note that this isn't an issue with the roadmap macro, that's just an easy way to create a data: image.
- relates to
-
CONFCLOUD-40177 Exporting a page which contains a data: image to a word document runs in N^2 time
- Closed
Note that the actual N^2 time comes from the bug raised at https://ecosystem.atlassian.net/browse/PLUGWEB-316
This is a suggestion to change the ordering of an if statement, to check for data: before checking for other URLs, as checking for data: is practically free.