File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -347,7 +347,8 @@ class Driver {
347347 performance . mark ( "update-ui-start" ) ;
348348 const start = performance . now ( ) ;
349349 for ( const benchmark of this . benchmarks ) {
350- await benchmark . updateUIBeforeRun ( ) ;
350+ performance . mark ( "update-ui-start" ) ;
351+ benchmark . updateUIBeforeRun ( ) ;
351352 await updateUI ( ) ;
352353 performance . measure ( "runner update-ui" , "update-ui-start" ) ;
353354
@@ -358,14 +359,14 @@ class Driver {
358359 throw e ;
359360 }
360361
361- performance . mark ( "update-ui" ) ;
362+ performance . mark ( "update-ui-start " ) ;
362363 benchmark . updateUIAfterRun ( ) ;
364+ performance . measure ( "runner update-ui" , "update-ui-start" ) ;
363365
364366 if ( isInBrowser ) {
365367 browserFileLoader . free ( benchmark . files ) ;
366368 }
367369 }
368- performance . measure ( "runner update-ui" , "update-ui-start" ) ;
369370
370371 const totalTime = performance . now ( ) - start ;
371372 if ( measureTotalTimeAsSubtest ) {
You can’t perform that action at this time.
0 commit comments