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

Slow construction of QGraphicsRectItem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.3
    • Widgets: GraphicsView
    • None
    • Linux/X11

    Description

      When constructing a QGraphicsRectItem with parent item in its constructor the attached test spends ~95% of the time in QtPrivate::sequential_erase_one<QList<QGraphicsItem*>, QGraphicsItem*>.

       

       

      Attachments

        1. profile-slow.svg
          29 kB
        2. profile-fast.svg
          22 kB
        3. qgraphicsitemsetflag.cpp
          2 kB

        Activity

          People

            bibr Andreas Aardal Hanssen
            mlangen Marc Langenbach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: