Details
-
Task
-
Resolution: Unresolved
-
P4: Low
-
None
-
6.0.0, 6.2
-
None
Description
The benchmark for QVector contains a "raw vector" test (originally introduced in Qt 4.7 to compare performance with that of std::vector) which does some positively devious hackery to overwrite the memory of a QVector with an ersatz object that has the same layout as a Qt 5 QVector.
Given the drastic change in the internal layout of QVector at Qt 6 (due to its conversion to QList, alongside major reworking of QArrayData), this ersatz object is no longer up to the job.
I shall disable the relevant test and tag it with this issue's ID, for re-enabling when this heinous hackery has been reworked.
Attachments
Issue Links
- resulted from
-
QTBUG-91713 QtBase benchmarks fail for qtimezone, qdiriterator, and qfile
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-95061 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
358876,4 | Suppress a broken benchmark comparing QVector to std::vector | dev | qt/qtbase | Status: MERGED | +2 | 0 |
360626,2 | Suppress a broken benchmark comparing QVector to std::vector | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |