Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.0.0 Alpha
-
None
-
core i7-8700
-
-
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
- relates to
-
QTBUG-88484 Disentangle QString::number() from locale code
- Closed
-
QTBUG-87637 Compare container performance (QList, QString, QByteArray) between Qt 5.15 and Qt 6
- Reported