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

tst_bench_vector's QRawVector needs a substantial rewrite for Qt 6

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 6.0.0, 6.2
    • None
    • All

      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.

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

            cnn Qt Core & Network
            Eddy Edward Welbourne
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes