Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15
-
a62fa9b7cc520f3548356182bf5d6642c05be204 (qt/qtbase/dev) 4460711a802b4dfb6a9e71666185b15c59fb2e3a (qt/qtbase/6.0) 37f899ef7743cce5d5ba468debdce6f1156d9e96 (qt/tqtc-qtbase/tqtc/lts-5.15)
Description
We're a drastic worsening in performance of QTextDocument in 5.15 compared to 5.14. The offending commit has been bisected and identified as 09ee4282e5eedf5b44245e8b28b223339f87ddfa. With regards to paragraph count, the attached example has quadratic behaviour in 5.15, where 5.14 looks more to be linear in behaviour.
Also attached a visualization of the difference where X is number of paragraphs and Y is the time it akes to perform the layout.
Attachments
For Gerrit Dashboard: QTBUG-89599 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
329076,2 | Fix incremental layouting of QTextDocumentLayout | dev | qt/qtbase | Status: NEW | +1 | 0 |
329106,3 | Revert "Fix invalid text layout data when a full layout run is interrupted" | dev | qt/qtbase | Status: MERGED | +2 | 0 |
329230,2 | Revert "Fix invalid text layout data when a full layout run is interrupted" | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |
329231,2 | Revert "Fix invalid text layout data when a full layout run is interrupted" | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |