Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions SpeedTracker.gs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ var WPT_PARAMS = {
'video': 1, // need to capture video to calculate SpeedIndex
'location': 'Dulles:Chrome.3G',
'mobile': 1,
'fvonly': 1 // we only need the first view
'fvonly': 1, // we only need the first view
'lighthouse': 1
};

// Map for metrics from Webpagetest. Each object contains:
Expand All @@ -66,7 +67,9 @@ var DATA_POINTS = [
{wptName: 'fullyLoaded', prettyName: 'time to full page load', units: 'milliseconds'},
{wptName: 'image_total', prettyName: 'image bytes', units: 'bytes'},
{wptName: 'image_savings', prettyName: 'bytes that could be saved through image compression', units: 'bytes'},
{wptName: 'gzip_savings', prettyName: 'bytes that could be saved through gzip', units: 'bytes'}
{wptName: 'gzip_savings', prettyName: 'bytes that could be saved through gzip', units: 'bytes'},
{wptName: 'lighthouse.Performance.first-contentful-paint', prettyName: 'First Contentful Paint marks the time at which the first text or image is painted', units: 'milliseconds'}
{wptName: 'lighthouse.Performance.interactive', prettyName: 'Time to interactive is the amount of time it takes for the page to become fully interactive', units: 'milliseconds'}
];


Expand Down