Take this comment as an example: https://lemmy.dbzer0.com/comment/20455448

There are a few images with notable resolution (500×500) in that vote comment, that are shown at very small size. Whenever they come into view, the fps of the entire app drops notably for me, down to perhaps the tens. I’ve seen it go even lower on other votes with more emoji.

My phone is quite powerful, and browsers for example can display similar cases fluently even on much worse hardware.

  • limerod@reddthat.com
    link
    fedilink
    arrow-up
    3
    ·
    4 days ago

    I cannot reproduce. The fps does drop to 40-50 once a while but nothing unusual.

    The app is able to consistently maintain 60fps in my case.

      • limerod@reddthat.com
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        I saw your comment after updating the app. It won’t be noticeable now after the update if it could be reproduced on my end.

    • redjard@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      3
      ·
      4 days ago

      It might be me having an unusually-high-dpi screen making it worse. Goes from consistently 120 to the tens.
      How powerful is your phone?

        • redjard@lemmy.dbzer0.comOP
          link
          fedilink
          arrow-up
          1
          ·
          3 days ago

          snap 888 for me, so 1.3x cpu and 2.6x gpu according to some random benchmark site. Older upper-range phone, also 12GB ram.

          Must be my resolution/screen density then. My display width is 1644, so 2.3x the pixels of a 1080p screen. The android “density” value is decreased to 525, the 1080p equivalent is 345. That makes stuff a lot smaller on my display. I think the issue was with the images being scaled down a lot, more so than their actual size, since like ten 500² images should be no issue at all.

          It’s probably the dpi decrease rendering the images even smaller making it worse in my case, tho the resolution prolly aint helpin.

          • limerod@reddthat.com
            link
            fedilink
            arrow-up
            1
            ·
            3 days ago

            My phone’s resolution is 2412×1080. Devcheck says 480dpi. I think there could be some other issue.

            • redjard@lemmy.dbzer0.comOP
              link
              fedilink
              arrow-up
              1
              ·
              3 days ago

              That checks out, 1080p is normal, and 480dpi would be 730 at my resolution, so my 525 makes the images 40% smaller rendering over a similar number of pixels (10% more).
              I guess this was about the scale then, how little of the total display the image was taking up.