lumehq / lume

A multi-purpose nostr client for Windows and macOS.
GNU General Public License v3.0
246 stars 24 forks source link

The lastest mac release is considerrably slower than 3.0 #194

Open BlowaterNostr opened 4 months ago

reyamir commented 4 months ago

Hi, thank for your report. Can you share me some recording? In the main branch, I've also pushed some commit for improvement but not released yet

If you have time, can you help me test the main branch instead? Just run

pnpm install -r
cd src-tauri && cargo install

Then

pnpm tauri dev
reyamir commented 4 months ago

Other issue I think cause slow performance is mandate bootstrap relays. Defaults, Lume will connect to these relays:

wss://relay.nostr.net
wss://relay.damus.io
wss://directory.yabu.me

If user is far from those relays location, the query will be very slow. So, I also working on bootstrap relays selection, user can choose bootstrap relays or input their own like noStrudel

reyamir commented 4 months ago

Hi @BlowaterNostr, I've pushed some new releases which also have some improvement on performance. can you help me retest it

BlowaterNostr commented 4 months ago

@reyamir Is it the 4.0.8 release?

BlowaterNostr commented 4 months ago

4.0.8 is faster on Apple Silicon than the previous release but still slower than v3. I can see that v4 has more features and you try to make a more guided experience. But the smoothness of v3 is very good. I feel it's a lost for v4 to not be as smooth.

reyamir commented 4 months ago

Yup, thank for your feedback. Can you help me record your experience, you can create new account for it. I want to figure how normal user experiences with lume.

reyamir commented 4 months ago

Yo, I've found some factors cause performance bottlenecks. The next build will probaly faster.

reyamir commented 3 months ago

Hi @BlowaterNostr, I've pushed a new version to improve performance and stability. I've already seen a huge jump in performance on my side, it should really improved on all machines now.

I'm also added the ability to custom bootstrap relays, you can custom it to skip unnecessary relay connection.

In the next update, I'll explore about negentropy to keep bandwidth usage at a minimum while maintaining fast performance.

You can try new version here: https://github.com/lumehq/lume/releases/tag/v4.0.10 or open app to check for new update. Please let me know if you still experience slow performance.

BlowaterNostr commented 3 months ago

It feels much better. FYI https://www.youtube.com/watch?v=m90d2tYCPt4

Crushed once when I closed all the columns but I could not reproduce it.

reyamir commented 3 months ago

It feels much better. FYI https://www.youtube.com/watch?v=m90d2tYCPt4

Crushed once when I closed all the columns but I could not reproduce it.

wow, thank for your detail video. I will improve the UX when user close all columns, it should show some empty state instead of blank screen.