Mitch Downey :pci: on Nostr: I may have found the biggest slowdown in the Podverse player...it was affecting all ...
I may have found the biggest slowdown in the Podverse player...it was affecting all V4V enabled podcasts. I was calling a global state update method *every second* through our background player interval.
The thing is...the global state doesn't have to update every second, but only when value time splits switch between active and inactive. There are still many improvements possible, but this change should reduce hangs/stickiness dramatically. Shipping to beta now...
https://github.com/podverse/podverse-rn/commit/65c158d8bbbaf62beb3e93b8c72d748bff479f1cPublished at
2023-10-25 21:01:32Event JSON
{
"id": "36ba39e8aac701ec57fa1a2ef8eb1b567895bd31d19cbe026b0a05a426996805",
"pubkey": "224746be809440211eb69ac598e0fdc60827f26ec091b7a4dc207806cf33b3b8",
"created_at": 1698267692,
"kind": 1,
"tags": [
[
"proxy",
"https://podcastindex.social/users/mitch/statuses/111297671468843630",
"activitypub"
]
],
"content": "I may have found the biggest slowdown in the Podverse player...it was affecting all V4V enabled podcasts. I was calling a global state update method *every second* through our background player interval.\n\nThe thing is...the global state doesn't have to update every second, but only when value time splits switch between active and inactive. There are still many improvements possible, but this change should reduce hangs/stickiness dramatically. Shipping to beta now...\n\nhttps://github.com/podverse/podverse-rn/commit/65c158d8bbbaf62beb3e93b8c72d748bff479f1c",
"sig": "3839190716e6603bee303de91fd178cbe0be9421ff7c9b3ac0d656cdc7a1f5d81be3c25bff37395d240c5d13d3ac6420219d9e90c64dafa83433b99bfa10d26d"
}