mplorentz on Nostr: Spent another day trying to optimize scroll performance in Nos. I was able to cut the ...
Spent another day trying to optimize scroll performance in Nos. I was able to cut the hitch rate from 60ms/s to 35ms/s, but it’s very slow and tedious work.
One problem I keep bumping into is images. Some aren’t compressed or don’t have a supported color format and iOS has to convert them on the CPU before they can be passed to the GPU for rendering causing dropped frames. Then some are so big that they spend too long getting rendered and cause dropped frames. We display a lot of little avatar images in Nos in addition to the images linked in notes. Are other clients doing any tricks to help with this?
One problem I keep bumping into is images. Some aren’t compressed or don’t have a supported color format and iOS has to convert them on the CPU before they can be passed to the GPU for rendering causing dropped frames. Then some are so big that they spend too long getting rendered and cause dropped frames. We display a lot of little avatar images in Nos in addition to the images linked in notes. Are other clients doing any tricks to help with this?