- 
    
Bug
 - 
    Resolution: Done
 - 
    
P3: Somewhat important
 - 
    4.6.1
 - 
    None
 - 
    Linux 2.6.31-19
Qt 4.6.1
KDE 4.4.0
Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller
4GB Ram, Intel Centrino Duo 
- 
        I10c9fca72343f46db24b1d4f519f7747188d4009 I89c18b804111edfab6254442cbee33da39d1a273
 
The Kate editor for KDE has serious performance problems with files that contain very long lines with highlights. Attached you find a callgrind output and a file with such a long line.
As you will see, more than 70% is spent in QTextEngine::format() alone. Can this be improved?
If you need more information, please let me know.
| For Gerrit Dashboard: QTBUG-8389 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 31089,2 | Speed up QTextEngine::setBoundary | master | qt/qtbase | Status: MERGED | +2 | 0 | 
| 31090,4 | Speed up QTextEngine::resolveAdditionalFormats | master | qt/qtbase | Status: MERGED | +2 | 0 | 
| 32888,2 | Test for quadratic behaviour when rendering long line in QTextEdit | master | qt/qtbase | Status: MERGED | +2 | 0 | 
| 33953,1 | Speed up QTextEngine::resolveAdditionalFormats | 4.8 | qt/qt | Status: MERGED | +2 | 0 | 
| 33954,2 | Speed up QTextEngine::setBoundary | 4.8 | qt/qt | Status: MERGED | +2 | 0 | 
| 34112,4 | Optimize QTextLayout/QTextEngine usage outside of QTextDocument. | 4.8 | qt/qt | Status: ABANDONED | -2 | 0 | 
| 34118,6 | Optimize QTextLayout/QTextEngine usage outside of QTextDocument. | master | qt/qtbase | Status: MERGED | +2 | 0 |