[mob][photos] Clustering time logs
This commit is contained in:
parent
f49ede4a74
commit
6a0a9bad1e
2 changed files with 4 additions and 2 deletions
|
@ -624,7 +624,7 @@ class FaceClusteringService {
|
|||
}
|
||||
|
||||
// analyze the results
|
||||
FaceClusteringService._analyzeClusterResults(sortedFaceInfos);
|
||||
// FaceClusteringService._analyzeClusterResults(sortedFaceInfos);
|
||||
|
||||
return ClusteringResult(
|
||||
newFaceIdToCluster: newFaceIdToCluster,
|
||||
|
|
|
@ -295,6 +295,7 @@ class FaceMlService {
|
|||
bool clusterInBuckets = true,
|
||||
}) async {
|
||||
_logger.info("`clusterAllImages()` called");
|
||||
final clusterAllImagesTime = DateTime.now();
|
||||
|
||||
try {
|
||||
// Get a sense of the total number of faces in the database
|
||||
|
@ -408,7 +409,8 @@ class FaceMlService {
|
|||
_logger.info('Done updating FaceIDs with clusterIDs in the DB, in '
|
||||
'${DateTime.now().difference(clusterDoneTime).inSeconds} seconds');
|
||||
}
|
||||
_logger.info('clusterAllImages() finished');
|
||||
_logger.info('clusterAllImages() finished, in '
|
||||
'${DateTime.now().difference(clusterAllImagesTime).inSeconds} seconds');
|
||||
} catch (e, s) {
|
||||
_logger.severe("`clusterAllImages` failed", e, s);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue