You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Huge caveat that I'm very much learning my way around profiling and TCA performance, but I noticed something surprising that I don't understand. Following is 550ms snapshot is from a pretty deeply nested view and store scope. Each time an action is sent through the scope it seems to spend a few Self Weight milliseconds, adding up to quite a bit of time just to get through all of the layers.
(BTW, this send is driven by a very frequent change of an audio timecode)
I believe it's this closure, which seems innocent enough: it's calling the scope transformation function and assigning it to a CurrentValueSubject. Or is it referring to the toLocalState closure?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Huge caveat that I'm very much learning my way around profiling and TCA performance, but I noticed something surprising that I don't understand. Following is 550ms snapshot is from a pretty deeply nested view and store scope. Each time an action is sent through the
scope
it seems to spend a fewSelf Weight
milliseconds, adding up to quite a bit of time just to get through all of the layers.(BTW, this
send
is driven by a very frequent change of an audio timecode)I believe it's this closure, which seems innocent enough: it's calling the scope transformation function and assigning it to a
CurrentValueSubject
. Or is it referring to thetoLocalState
closure?swift-composable-architecture/Sources/ComposableArchitecture/Store.swift
Lines 338 to 343 in c41f8c4
Appreciate any insights into how to read this, if it's a problem, and how to solve it?
Beta Was this translation helpful? Give feedback.
All reactions