This is split from bug 58736.
Observed on OSX 10.10, LO 220.127.116.11 and later. Speed is good up to at least 18.104.22.168; releases after 22.214.171.124 and before 126.96.36.199 are slow but also hang at the end of the import.
Steps to reproduce:
1. Load the RTF file from attachment 82177 [details]
- File loads as quickly as in LO 3.3.0
- File loads much more slowly than in LO 3.3.0
Looking past the fact that the file fails to finish loading in the early part of the 43all bibisect repo, the speed at which the import occurs (before the hang) suggests that this problem is pre-bibisect
Adjusting metadata to suit.
Setting version to preBibisect to match the whiteboard status
ubuntu 14.04 x64
*Was building LibreOffice simultaneously so speeds probably were affected by this. None the less comparisons probably still valid.
Setting this to NEW as I can confirm there has been a steep decline in performance for this file. setting to:
Minor - slows down professional quality work but does not prevent it;
Medium - as this is a regression, bumped from low.
This is likely because we changed the RTF import filter starting in 3.5. :D We moved from the one that came with AOO to the one Miklos created.
Do you have some concrete numbers on how much time it took to import the document in 3.3 and how much time is required currently?
Ah sorry, forgot to read all comments. ;-) I'll try to run the document in callgrind and see if anything pops out.
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":
tdf#88812 sw: speed up SwDoc::MakeFlyAndMove()
It will be available in 5.0.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
0m46.833s -> 0m26.832s is hopefully enough to get this marked as resolved. ;-)
Migrating Whiteboard tags to Keywords: (perf preBibisect filter:rtf)
removed extra rtf_filter