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.