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

Poor AnimatedImage performance

XMLWordPrintable

       

      I compared the performance of Flutter, Qt, and React Native in rendering.
      Everything was in order until I decided to use AnimatedImage in my tests.
      All that the app was doing was displaying X gifs in a grid.
      For X=18 the Qt app was already using a lot of memory. It was almost 1GB.
      For X=200 it quickly maximized the available memory and the app died.

      Underlying QMovie probably causes that.

      Competitive frameworks didn't have those problems.

      I've tested with Qt 6.3 and 5.15.2.
      Attached is the code source of the app and a screenshot from the profiler (for X=18).

        1. AnimatedImage performance.png
          829 kB
          Łukasz Kosiński
        2. AnimatedImage bug report.zip
          755 kB
          Łukasz Kosiński
        3. screenshot-1.png
          70 kB
          Laszlo Agocs
        4. image-2022-05-26-10-58-11-649.png
          100 kB
          Łukasz Kosiński
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.graphics.and.multimedia Qt Graphics Team
            kosadev Łukasz Kosiński
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes