Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: fix roundtrip #8815

Merged
merged 1 commit into from
May 2, 2019
Merged
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
206 changes: 103 additions & 103 deletions proto/sample_v2_round_trip.json
Original file line number Diff line number Diff line change
Expand Up @@ -2141,91 +2141,91 @@
"score": 0.46,
"scoreDisplayMode": "numeric",
"title": "Eliminate render-blocking resources"
},
},
"resource-summary": {
"description": "To set budgets for the quantity and size of page resources, add a budget.json file.",
"description": "To set budgets for the quantity and size of page resources, add a budget.json file.",
"details": {
"type": "table",
"headings": [
{
"key": "label",
"itemType": "text",
"itemType": "text",
"key": "label",
"text": "Resource Type"
},
},
{
"key": "requestCount",
"itemType": "numeric",
"itemType": "numeric",
"key": "requestCount",
"text": "Requests"
},
},
{
"key": "size",
"itemType": "bytes",
"itemType": "bytes",
"key": "size",
"text": "Transfer Size"
}
],
],
"items": [
{
"resourceType": "total",
"label": "Total",
"requestCount": 18,
"size": 160738
},
{
"resourceType": "script",
"label": "Script",
"requestCount": 4,
"size": 103675
},
{
"resourceType": "image",
"label": "Image",
"requestCount": 2,
"size": 24741
},
{
"resourceType": "document",
"label": "Document",
"requestCount": 3,
"size": 14109
},
{
"resourceType": "other",
"label": "Other",
"requestCount": 2,
"size": 12861
},
{
"resourceType": "stylesheet",
"label": "Stylesheet",
"requestCount": 7,
"size": 5352
},
{
"resourceType": "media",
"label": "Media",
"requestCount": 0,
"size": 0
},
{
"resourceType": "font",
"label": "Font",
"requestCount": 0,
"size": 0
},
{
"resourceType": "third-party",
"label": "Third-party",
"requestCount": 2,
"size": 30174
"label": "Total",
"requestCount": 18.0,
"resourceType": "total",
"size": 160738.0
},
{
"label": "Script",
"requestCount": 4.0,
"resourceType": "script",
"size": 103675.0
},
{
"label": "Image",
"requestCount": 2.0,
"resourceType": "image",
"size": 24741.0
},
{
"label": "Document",
"requestCount": 3.0,
"resourceType": "document",
"size": 14109.0
},
{
"label": "Other",
"requestCount": 2.0,
"resourceType": "other",
"size": 12861.0
},
{
"label": "Stylesheet",
"requestCount": 7.0,
"resourceType": "stylesheet",
"size": 5352.0
},
{
"label": "Media",
"requestCount": 0.0,
"resourceType": "media",
"size": 0.0
},
{
"label": "Font",
"requestCount": 0.0,
"resourceType": "font",
"size": 0.0
},
{
"label": "Third-party",
"requestCount": 2.0,
"resourceType": "third-party",
"size": 30174.0
}
]
},
"displayValue": "18 requests • 157 KB",
"id": "resource-summary",
"score": null,
"scoreDisplayMode": "informative",
],
"type": "table"
},
"displayValue": "18 requests \u2022 157 KB",
"id": "resource-summary",
"score": null,
"scoreDisplayMode": "informative",
"title": "Keep request counts low and transfer sizes small"
},
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems...not ideal :) why is adding so many extra spaces and useless .0s?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed the trailing spaces in #8818, we could try to get rid of the useless .0s, but it's messier...

"robots-txt": {
"description": "If your robots.txt file is malformed, crawlers may not be able to understand how you want your website to be crawled or indexed.",
"id": "robots-txt",
Expand Down Expand Up @@ -3435,12 +3435,12 @@
"group": "diagnostics",
"id": "font-display",
"weight": 0.0
},
},
{
"group": "diagnostics",
"id": "resource-summary",
"weight": 0
},
"group": "diagnostics",
"id": "resource-summary",
"weight": 0.0
},
{
"id": "network-requests",
"weight": 0.0
Expand Down Expand Up @@ -3718,24 +3718,24 @@
"finalUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
"i18n": {
"rendererFormattedStrings": {
"auditGroupExpandTooltip": "Show audits",
"crcInitialNavigation": "Initial Navigation",
"crcLongestDurationLabel": "Maximum critical path latency:",
"errorLabel": "Error!",
"errorMissingAuditInfo": "Report error: no audit information",
"labDataTitle": "Lab Data",
"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.",
"manualAuditsGroupTitle": "Additional items to manually check",
"notApplicableAuditsGroupTitle": "Not applicable",
"opportunityResourceColumnLabel": "Opportunity",
"opportunitySavingsColumnLabel": "Estimated Savings",
"passedAuditsGroupTitle": "Passed audits",
"snippetCollapseButtonLabel": "Collapse snippet",
"snippetExpandButtonLabel": "Expand snippet",
"thirdPartyResourcesLabel": "Show 3rd-party resources",
"toplevelWarningsMessage": "There were issues affecting this run of Lighthouse:",
"varianceDisclaimer": "Values are estimated and may vary.",
"warningAuditsGroupTitle": "Passed audits but with warnings",
"auditGroupExpandTooltip": "Show audits",
"crcInitialNavigation": "Initial Navigation",
"crcLongestDurationLabel": "Maximum critical path latency:",
"errorLabel": "Error!",
"errorMissingAuditInfo": "Report error: no audit information",
"labDataTitle": "Lab Data",
"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.",
"manualAuditsGroupTitle": "Additional items to manually check",
"notApplicableAuditsGroupTitle": "Not applicable",
"opportunityResourceColumnLabel": "Opportunity",
"opportunitySavingsColumnLabel": "Estimated Savings",
"passedAuditsGroupTitle": "Passed audits",
"snippetCollapseButtonLabel": "Collapse snippet",
"snippetExpandButtonLabel": "Expand snippet",
"thirdPartyResourcesLabel": "Show 3rd-party resources",
"toplevelWarningsMessage": "There were issues affecting this run of Lighthouse:",
"varianceDisclaimer": "Values are estimated and may vary.",
"warningAuditsGroupTitle": "Passed audits but with warnings",
"warningHeader": "Warnings: "
}
},
Expand Down Expand Up @@ -4174,19 +4174,19 @@
"entryType": "measure",
"name": "lh:audit:offline-start-url",
"startTime": 0.0
},
},
{
"duration": 100,
"entryType": "measure",
"name": "lh:audit:resource-summary",
"duration": 100.0,
"entryType": "measure",
"name": "lh:audit:resource-summary",
"startTime": 0.0
},
},
{
"duration": 100,
"entryType": "measure",
"name": "lh:computed:ResourceSummary",
"duration": 100.0,
"entryType": "measure",
"name": "lh:computed:ResourceSummary",
"startTime": 0.0
},
},
{
"duration": 100.0,
"entryType": "measure",
Expand Down