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

QList - double performance drop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.0
    • 6.0.0 Alpha
    • None
    • core i7-8700
    • Windows
    • 8
    • 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

              agolubev Andrei Golubev
              n_r_w n_r_w
              Maurice Kalinowski Maurice Kalinowski
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: