Skip to content

Commit

Permalink
stopwatching
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbobbe committed Oct 27, 2023
1 parent 848d233 commit 2c4b16b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/model/store.dart
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,9 @@ class PerAccountStore extends ChangeNotifier {
for (final view in _messageListViews) {
view.maybeUpdateMessageFlags(event);
}
final stopwatch = Stopwatch()..start();
unreads.handleUpdateMessageFlagsEvent(event);
print('handleUpdateMessageFlagsEvent: ${(stopwatch..stop()).elapsed.inMilliseconds}ms');
} else if (event is ReactionEvent) {
assert(debugLog("server event: reaction/${event.op}"));
for (final view in _messageListViews) {
Expand Down

0 comments on commit 2c4b16b

Please sign in to comment.