File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export class BuildController extends EventEmitter implements IBuildController {
4343
4444 public async build ( buildData : IBuildData ) : Promise < string > {
4545 this . $logger . info ( "Building project..." ) ;
46+ const startTime = performance . now ( ) ;
4647
4748 const platform = buildData . platform . toLowerCase ( ) ;
4849 const projectData = this . $projectDataService . getProjectData (
@@ -102,7 +103,11 @@ export class BuildController extends EventEmitter implements IBuildController {
102103 buildInfoFileDir
103104 ) ;
104105
106+ const endTime = performance . now ( ) ;
107+ const buildTime = ( endTime - startTime ) / 1000 ;
108+
105109 this . $logger . info ( "Project successfully built." ) ;
110+ this . $logger . info ( `Build time: ${ buildTime . toFixed ( 3 ) } s.` ) ;
106111
107112 const result = await this . $buildArtefactsService . getLatestAppPackagePath (
108113 platformData ,
You can’t perform that action at this time.
0 commit comments