refactor(ngcc): show timings in 1/10ths of a second (#35931)
PR Close #35931
This commit is contained in:
parent
74e47c503a
commit
a0ce8bc236
|
@ -70,7 +70,7 @@ export class ClusterMaster {
|
|||
|
||||
// First, check whether all tasks have been completed.
|
||||
if (this.taskQueue.allTasksCompleted) {
|
||||
const duration = Math.round((Date.now() - this.processingStartTime) / 1000);
|
||||
const duration = Math.round((Date.now() - this.processingStartTime) / 100) / 10;
|
||||
this.logger.debug(`Processed tasks in ${duration}s.`);
|
||||
|
||||
return this.finishedDeferred.resolve();
|
||||
|
|
|
@ -231,7 +231,7 @@ export function mainNgcc(
|
|||
unprocessableEntryPointPaths.map(path => `\n - ${path}`).join(''));
|
||||
}
|
||||
|
||||
const duration = Math.round((Date.now() - startTime) / 1000);
|
||||
const duration = Math.round((Date.now() - startTime) / 100) / 10;
|
||||
logger.debug(
|
||||
`Analyzed ${entryPoints.length} entry-points in ${duration}s. ` +
|
||||
`(Total tasks: ${tasks.length})`);
|
||||
|
|
Loading…
Reference in New Issue