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

QList - double performance drop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 6.0.0 Alpha
    • Fix Version/s: 6.0
    • Labels:
      None
    • Environment:
      core i7-8700
    • Platform/s:
      Windows
    • Story Points:
      8
    • Sprint:
      Qt6_Foundation_Sprint 20, Qt6_Foundation_Sprint 21, Qt6_Foundation_Sprint 22

      Description

      This simple code show QList double performance drop for Qt 6

      QElapsedTimer timer;
      timer.start();    
      QList<QString> list;
      int count = 1000000;
      for (int i = 0; i < count; i++) {
           list.append(QString::number(i));
      }    
      qDebug() << timer.elapsed();
      

      On my machine it prints (release build):

      Qt 5.15.1: 117

      Qt 6.0 alpha: 321

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-87330
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              agolubev Andrei Golubev
              Reporter:
              n_r_w n_r_w
              PM Owner:
              Maurice Kalinowski Maurice Kalinowski
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: