metabolist / metatext

A free, open-source iOS Mastodon client.
https://metabolist.org/metatext
GNU General Public License v3.0
726 stars 101 forks source link

Slow when loading more data from server #236

Closed bitboxer closed 2 years ago

bitboxer commented 2 years ago

Describe the bug

Somehow the app is lagging a lot every time i have the feeling it is contacting the server. At start, when i switch back to the app, when I click any of the interactions that result in a server call.

It basically feels like the app is doing the calls in the UI thread and blocking the swift rendering engine.

To Reproduce Steps to reproduce the behavior:

  1. Click on anything that needs a server get
  2. See the ui blocking

Expected behavior Snappy app

codebykat commented 2 years ago

Happens to me too. Scrolling gets jerky / feels kinda unresponsive before the new posts alert shows. Also "Load More" has a delay between finishing to load and loading in the new posts.

Edited: My experience at least is a duplicate of https://github.com/metabolist/metatext/issues/221

bitboxer commented 2 years ago

Yeah, but it is more than just the new posts are loaded. It feels more like every interaction that has to get data from a server.

alexbbrown commented 2 years ago

This feels like #221

bitboxer commented 2 years ago

The latest release fixed it for me. Thanks 🥰🥰🥰