File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ async function run() {
4141 console . log ( 'Context initialized.' ) ;
4242
4343 // Pre-navigate to something so we can reload it
44- const targetUrl = 'https://example.com ' ;
44+ const targetUrl = 'https://web.dev ' ;
4545 console . log ( `Navigating to ${ targetUrl } ...` ) ;
4646 await context . getSelectedPage ( ) . goto ( targetUrl ) ;
4747
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ async function stopTracingAndAppendOutput(
172172 const result = await parseRawTraceBuffer ( traceEventsBuffer ) ;
173173 response . appendResponseLine ( 'The performance trace has been stopped.' ) ;
174174 if ( traceResultIsSuccess ( result ) ) {
175- // await populateCruxData(result.parsedTrace);
175+ await populateCruxData ( result . parsedTrace ) ;
176176 context . storeTraceRecording ( result ) ;
177177 const traceSummaryText = getTraceSummary ( result ) ;
178178 response . appendResponseLine ( traceSummaryText ) ;
You can’t perform that action at this time.
0 commit comments