Created attachment 175028 [details]
A fixed-height wrapping cell with 140000 character string
The attachment contains a single cell with a long (140000 char) string; the cell is formatted to wrap, and the row is set to fixed height.
It takes long to open the file, or to select the cell. Possibly this could be optimized somehow?
It looks similar to tdf#144513, but seems to be different, not blocking at TextEngine::CreateLines. This time it spends time at ImpEditEngine::FormatDoc.
Created attachment 175039 [details]
Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated today + gen rendering.
I confirm it's slow indeed.
Butaca Vintage Garden, un clásico en nuestro catálogo. Un maravilla de sillón que le dará un toque cálido al espacio que ocupe
*** Bug 119362 has been marked as a duplicate of this bug. ***
*** Bug 120446 has been marked as a duplicate of this bug. ***
Luboš Luňák committed a patch related to this issue.
It has been pushed to "master":
don't FormatDoc() a whole long text if not necessary (tdf#144515)
It will be available in 7.4.0.
The patch should be included in the daily builds available at
https://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.