mikedilger on Nostr: The spinner is new and always spins once per frame. I was using it on unstable to ...
The spinner is new and always spins once per frame. I was using it on unstable to test and fix lag issues. We were redrawing once per second (except when scrolling) and when something changed 10ms into that second the screen didn't refresh until that second fully elapsed. This caused a full 1s lag on image loading (added to a 2s lag due to it not having been done async). I recently fixed both of those, so image loading is almost instant if the image is cached.
I kind of like the spinner showing that gossip is alive, and getting a basic feel for how often it is redrawing. But if you think it is bad we will add an option to hide it and hide it by default (because I'll want it on for myself).
Published at
2025-02-03 23:57:30Event JSON
{
"id": "c8ee7f286fd0c6d5a5d7dfb3c7d99486d5476e3ac8a7acff3697afa6517fd2ff",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1738627050,
"kind": 1,
"tags": [
[
"p",
"7bdef7be22dd8e59f4600e044aa53a1cf975a9dc7d27df5833bc77db784a5805"
],
[
"e",
"fa28c0b5b7236eb067e46330a6a8970f3633d534fbadf8b9385c3fc9e11998e9",
"wss://nostr.einundzwanzig.space/",
"root"
],
[
"e",
"0000002612b42491c44c8a2934d9cfda5df6ec4e8af6f80a2303ec4ac45120d5",
"wss://chronicle.dtonon.com/",
"reply",
"7bdef7be22dd8e59f4600e044aa53a1cf975a9dc7d27df5833bc77db784a5805"
]
],
"content": "The spinner is new and always spins once per frame. I was using it on unstable to test and fix lag issues. We were redrawing once per second (except when scrolling) and when something changed 10ms into that second the screen didn't refresh until that second fully elapsed. This caused a full 1s lag on image loading (added to a 2s lag due to it not having been done async). I recently fixed both of those, so image loading is almost instant if the image is cached.\n\nI kind of like the spinner showing that gossip is alive, and getting a basic feel for how often it is redrawing. But if you think it is bad we will add an option to hide it and hide it by default (because I'll want it on for myself).",
"sig": "4f86a62b666ccdc3e5ab30eb228ae92289447233a67961acc39d5859ac995e39601e899d90cfbc783b22749422ed1a4fa8d4a4daeda4c284c9dd533d80a7e44a"
}