diff --git a/app/lib/entity/file/data_source2.dart b/app/lib/entity/file/data_source2.dart index c1ee2b9e..ec6b0df6 100644 --- a/app/lib/entity/file/data_source2.dart +++ b/app/lib/entity/file/data_source2.dart @@ -104,8 +104,11 @@ class FileNpDbDataSource implements FileDataSource2 { Stream> getFileDescriptors( Account account, String shareDirPath) async* { _log.info("[getFileDescriptors] $account"); + final stopwatch = Stopwatch()..start(); yield await _getPartialFileDescriptors(account); yield await _getCompleteFileDescriptors(account, shareDirPath); + _log.info( + "[getFileDescriptors] Elapsed time: ${stopwatch.elapsedMilliseconds}ms"); } @override