Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-8389

slow painting of long highlighted lines due to QTextEngine::format()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.x
    • 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

    Description

      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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            milianw Milian Wolff
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: