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

QDomDocument setContent() performance downgrade from 5.1.1 to 5.3.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.3.1
    • XML: DOM
    • None
    • windows/7, mingw32

    Description

      When a XML file has lots of entities, 5.3.1's XDomDocument.setContent() take long time. 5.1.1 performs well.

      <?xml version="2.0" encoding="utf-8"?>
      <!DOCTYPE math [
      <!ENTITY angzarr "⍼">
      <!ENTITY cirmid "⫯">
      <!ENTITY cudarrl "⤸">
      <!ENTITY cudarrr "⤵">
      <!ENTITY cularr "↶">
      ]><mn>10</mn>

      The example's number of entities is too small. You have to make it above one thousand. Then it will take one or two seconds to finish.
      I will attach a file.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            yongjiewang Yongjie Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes