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

QDomDocument::save() is slow when saving to a network drive

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 4.7.1
    • Fix Version/s: None
    • Component/s: XML: DOM
    • Labels:
      None
    • Environment:
      Windows7, Windows XP

      Description

      The performance of QDomDocument::save() is very slow when saving to a network drive. This is a regression from Qt 4.3.

      Preparation:
      Assign a UNC path to a network drive, e.g, \\otherpc\share to Z:\

      Steps to reproduce:

      1) Build the attached example.
      2) Execute the example with a local path.as an argument e.g,

      > sample.exe C:\Qt\outputtest

      3) Execute the example with a network drive path as an argument argument, e.g,

      > sample.exe Z:\outputtest

      This has been tested against both Qt 4.7.1 and 4.3.5 with the following result:

      4.7.1 Local 1731 ms
      4.7.1 Network 30232 ms
      4.3.5 Local 1778 ms
      4.3.5 Network 1841 ms

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            naevdal Sigrid Fjell Nævdal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes