Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arthur-abogadil/1d978c5e759546b5dfcca2ce61d2a095 to your computer and use it in GitHub Desktop.
Save arthur-abogadil/1d978c5e759546b5dfcca2ce61d2a095 to your computer and use it in GitHub Desktop.
page speed api - json
{
"captchaResult": "CAPTCHA_NOT_NEEDED",
"kind": "pagespeedonline#result",
"id": "https://developers.google.com/",
"loadingExperience": {
"id": "https://developers.google.com/",
"metrics": {
"FIRST_CONTENTFUL_PAINT_MS": {
"percentile": 3482,
"distributions": [
{
"min": 0,
"max": 1000,
"proportion": 0.37151728768042963
},
{
"min": 1000,
"max": 2500,
"proportion": 0.4244153519077991
},
{
"min": 2500,
"proportion": 0.2040673604117713
}
],
"category": "SLOW"
},
"FIRST_INPUT_DELAY_MS": {
"percentile": 36,
"distributions": [
{
"min": 0,
"max": 50,
"proportion": 0.960628961482204
},
{
"min": 50,
"max": 250,
"proportion": 0.02888834714773281
},
{
"min": 250,
"proportion": 0.010482691370063388
}
],
"category": "FAST"
}
},
"overall_category": "SLOW",
"initial_url": "https://developers.google.com/"
},
"originLoadingExperience": {
"id": "https://developers.google.com",
"metrics": {
"FIRST_CONTENTFUL_PAINT_MS": {
"percentile": 2761,
"distributions": [
{
"min": 0,
"max": 1000,
"proportion": 0.4236433226493666
},
{
"min": 1000,
"max": 2500,
"proportion": 0.45045120795679117
},
{
"min": 2500,
"proportion": 0.1259054693938423
}
],
"category": "SLOW"
},
"FIRST_INPUT_DELAY_MS": {
"percentile": 45,
"distributions": [
{
"min": 0,
"max": 50,
"proportion": 0.9537371485251699
},
{
"min": 50,
"max": 250,
"proportion": 0.03044972719889055
},
{
"min": 250,
"proportion": 0.01581312427593959
}
],
"category": "FAST"
}
},
"overall_category": "SLOW",
"initial_url": "https://developers.google.com/"
},
"lighthouseResult": {
"requestedUrl": "https://developers.google.com/",
"finalUrl": "https://developers.google.com/",
"lighthouseVersion": "3.2.0",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/72.0.3584.0 Safari/537.36",
"fetchTime": "2018-11-01T03:03:58.394Z",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3559.0 Safari/537.36",
"hostUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/72.0.3584.0 Safari/537.36",
"benchmarkIndex": 590.0
},
"runWarnings": [],
"configSettings": {
"emulatedFormFactor": "desktop",
"locale": "en-US",
"onlyCategories": [
"performance"
]
},
"audits": {
"estimated-input-latency": {
"id": "estimated-input-latency",
"title": "Estimated Input Latency",
"description": "The score above is an estimate of how long your app takes to respond to user input, in milliseconds, during the busiest 5s window of page load. If your latency is higher than 50 ms, users may perceive your app as laggy. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/estimated-input-latency).",
"score": 1.0,
"scoreDisplayMode": "numeric",
"displayValue": "30 ms"
},
"uses-rel-preconnect": {
"id": "uses-rel-preconnect",
"title": "Preconnect to required origins",
"description": "Consider adding preconnect or dns-prefetch resource hints to establish early connections to important third-party origins. [Learn more](https://developers.google.com/web/fundamentals/performance/resource-prioritization#preconnect).",
"score": 1.0,
"scoreDisplayMode": "numeric",
"details": {
"headings": [],
"type": "opportunity",
"items": [],
"overallSavingsMs": 0.0
}
},
...
},
"categories": {
"performance": {
"id": "performance",
"title": "Performance",
"score": 0.96,
"auditRefs": [
{
"id": "first-contentful-paint",
"weight": 3.0,
"group": "metrics"
},
{
"id": "first-meaningful-paint",
"weight": 1.0,
"group": "metrics"
},
...
]
}
},
"categoryGroups": {
"a11y-element-names": {
"title": "Elements Have Discernible Names",
"description": "These are opportunities to improve the semantics of the controls in your application. This may enhance the experience for users of assistive technology, like a screen reader."
},
"a11y-language": {
"title": "Page Specifies Valid Language",
"description": "These are opportunities to improve the interpretation of your content by users in different locales."
},
...
},
"i18n": {
"rendererFormattedStrings": {
"varianceDisclaimer": "Values are estimated and may vary.",
"opportunityResourceColumnLabel": "Opportunity",
"opportunitySavingsColumnLabel": "Estimated Savings",
"errorMissingAuditInfo": "Report error: no audit information",
"errorLabel": "Error!",
"warningHeader": "Warnings: ",
"auditGroupExpandTooltip": "Show audits",
"passedAuditsGroupTitle": "Passed audits",
"notApplicableAuditsGroupTitle": "Not applicable",
"manualAuditsGroupTitle": "Additional items to manually check",
"toplevelWarningsMessage": "There were issues affecting this run of Lighthouse:",
"scorescaleLabel": "Score scale:",
"crcLongestDurationLabel": "Maximum critical path latency:",
"crcInitialNavigation": "Initial Navigation",
"lsPerformanceCategoryDescription": "[Lighthouse](https://developers.google.com/web/tools/lighthouse/) analysis of the current page on an emulated mobile network. Values are estimated and may vary.",
"labDataTitle": "Lab Data"
}
}
},
"analysisUTCTimestamp": "2018-11-01T03:03:58.394Z"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment