@@ -1721,32 +1721,32 @@ public final class ChatHistoryListNodeImpl: ListView, ChatHistoryNode, ChatHisto
17211721 var measure_isFirstTime = true
17221722 let messageViewQueue = Queue . mainQueue ( )
17231723 let historyViewTransitionDisposable = ( combineLatest ( queue: messageViewQueue,
1724- historyViewUpdate |> debug_measureTimeToFirstEvent ( label: " historyViewUpdate " ) ,
1725- self . chatPresentationDataPromise. get ( ) ,
1726- selectedMessages,
1727- updatingMedia,
1728- automaticDownloadNetworkType,
1729- preferredStoryHighQuality,
1730- animatedEmojiStickers,
1731- additionalAnimatedEmojiStickers,
1732- customChannelDiscussionReadState,
1733- customThreadOutgoingReadState,
1734- availableReactions,
1735- availableMessageEffects,
1736- savedMessageTags,
1737- defaultReaction,
1738- accountPeer,
1739- audioTranscriptionSuggestion,
1740- promises,
1741- topicAuthorId,
1742- translationState,
1743- maxReadStoryId,
1744- recommendedChannels,
1745- audioTranscriptionTrial,
1746- chatThemes,
1747- deviceContactsNumbers,
1748- contentSettings
1749- ) |> debug_measureTimeToFirstEvent ( label: " firstChatHistoryTransition " ) ) . startStrict ( next: { [ weak self] update, chatPresentationData, selectedMessages, updatingMedia, networkType, preferredStoryHighQuality, animatedEmojiStickers, additionalAnimatedEmojiStickers, customChannelDiscussionReadState, customThreadOutgoingReadState, availableReactions, availableMessageEffects, savedMessageTags, defaultReaction, accountPeer, suggestAudioTranscription, promises, topicAuthorId, translationState, maxReadStoryId, recommendedChannels, audioTranscriptionTrial, chatThemes, deviceContactsNumbers, contentSettings in
1724+ historyViewUpdate |> debug_measureTimeToFirstEvent ( label: " chatHistoryNode_historyViewUpdate " ) ,
1725+ self . chatPresentationDataPromise. get ( ) |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_chatPresentationData " ) ,
1726+ selectedMessages |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_selectedMessages " ) ,
1727+ updatingMedia |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_updatingMedia " ) ,
1728+ automaticDownloadNetworkType |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_automaticDownloadNetworkType " ) ,
1729+ preferredStoryHighQuality |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_preferredStoryHighQuality " ) ,
1730+ animatedEmojiStickers |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_animatedEmojiStickers " ) ,
1731+ additionalAnimatedEmojiStickers |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_additionalAnimatedEmojiStickers " ) ,
1732+ customChannelDiscussionReadState |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_customChannelDiscussionReadState " ) ,
1733+ customThreadOutgoingReadState |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_customThreadOutgoingReadState " ) ,
1734+ availableReactions |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_availableReactions " ) ,
1735+ availableMessageEffects |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_availableMessageEffects " ) ,
1736+ savedMessageTags |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_savedMessageTags " ) ,
1737+ defaultReaction |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_defaultReaction " ) ,
1738+ accountPeer |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_accountPeer " ) ,
1739+ audioTranscriptionSuggestion |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_audioTranscriptionSuggestion " ) ,
1740+ promises |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_promises " ) ,
1741+ topicAuthorId |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_topicAuthorId " ) ,
1742+ translationState |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_translationState " ) ,
1743+ maxReadStoryId |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_maxReadStoryId " ) ,
1744+ recommendedChannels |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_recommendedChannels " ) ,
1745+ audioTranscriptionTrial |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_audioTranscriptionTrial " ) ,
1746+ chatThemes |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_chatThemes " ) ,
1747+ deviceContactsNumbers |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_deviceContactsNumbers " ) ,
1748+ contentSettings |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_contentSettings " )
1749+ ) |> debug_measureTimeToFirstEvent ( label: " chatHistoryNode_firstChatHistoryTransition " ) ) . startStrict ( next: { [ weak self] update, chatPresentationData, selectedMessages, updatingMedia, networkType, preferredStoryHighQuality, animatedEmojiStickers, additionalAnimatedEmojiStickers, customChannelDiscussionReadState, customThreadOutgoingReadState, availableReactions, availableMessageEffects, savedMessageTags, defaultReaction, accountPeer, suggestAudioTranscription, promises, topicAuthorId, translationState, maxReadStoryId, recommendedChannels, audioTranscriptionTrial, chatThemes, deviceContactsNumbers, contentSettings in
17501750 let ( historyAppearsCleared, pendingUnpinnedAllMessages, pendingRemovedMessages, currentlyPlayingMessageIdAndType, scrollToMessageId, chatHasBots, allAdMessages) = promises
17511751
17521752 if measure_isFirstTime {
@@ -2311,8 +2311,8 @@ public final class ChatHistoryListNodeImpl: ListView, ChatHistoryNode, ChatHisto
23112311
23122312 var didSetPresentationData = false
23132313 self . presentationDataDisposable = ( combineLatest ( queue: . mainQueue( ) ,
2314- updated,
2315- appConfiguration
2314+ updated |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_beginPresentationDataManagement_updated " ) ,
2315+ appConfiguration |> debug_measureTimeToFirstEvent ( label : " chatHistoryNode_beginPresentationDataManagement_appConfiguration " )
23162316 )
23172317 |> deliverOnMainQueue) . startStrict ( next: { [ weak self] presentationData, appConfiguration in
23182318 if let strongSelf = self {
0 commit comments