We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6b72a commit 7073a6eCopy full SHA for 7073a6e
lib/store.dart
@@ -8,7 +8,13 @@ class PerAccountStore extends ChangeNotifier {
8
// Load the user's data from storage. (Once we have such a thing.)
9
static Future<PerAccountStore> load() async {
10
const account = _fixtureAccount;
11
+
12
+ final stopwatch = Stopwatch()..start();
13
final initialSnapshot = await registerQueue(account); // TODO retry
14
+ final t = (stopwatch..stop()).elapsed;
15
+ // TODO log the time better
16
+ if (kDebugMode) print("initial fetch time: ${t.inMilliseconds}ms");
17
18
return PerAccountStore(account: account, initialSnapshot: initialSnapshot);
19
}
20
0 commit comments