Last active
April 27, 2019 17:43
-
-
Save RatulSaha/c06a31354ccb07b02584088659cd328f to your computer and use it in GitHub Desktop.
Chrome User Experience Report Analyzed with Google BigQuery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
SUM(fcp.density) | |
FROM | |
`chrome-ux-report.chrome_ux_report.201710`, | |
UNNEST(first_contentful_paint.histogram.bin) AS fcp | |
WHERE | |
origin = "https://www.google.co.in" | |
AND effective_connection_type.name = "3G" | |
AND fcp.END <= 1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
SUM(fcp.density) | |
FROM | |
`chrome-ux-report.chrome_ux_report.201710`, | |
UNNEST(first_contentful_paint.histogram.bin) AS fcp | |
WHERE | |
origin = "https://www.google.co.in" | |
AND effective_connection_type.name = "3G" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
SELECT | |
origin | |
FROM | |
`chrome-ux-report.chrome_ux_report.201710` | |
WHERE | |
effective_connection_type.name = "4G" | |
GROUP BY | |
origin ) INTERSECT DISTINCT ( | |
SELECT | |
origin | |
FROM | |
`chrome-ux-report.chrome_ux_report.201710` | |
WHERE | |
effective_connection_type.name = "3G" | |
GROUP BY | |
origin ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
COUNT(*) | |
FROM ( | |
SELECT | |
origin | |
FROM | |
`chrome-ux-report.chrome_ux_report.201710` | |
WHERE | |
effective_connection_type.name = "4G" | |
GROUP BY | |
origin ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
SUM(onload.density) | |
FROM | |
`chrome-ux-report.chrome_ux_report.201710`, | |
UNNEST(onload.histogram.bin) AS onload | |
WHERE | |
origin = "https://www.google.co.in" | |
AND effective_connection_type.name = "3G" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
SUM(onload.density) | |
FROM | |
`chrome-ux-report.chrome_ux_report.201710`, | |
UNNEST(onload.histogram.bin) AS onload | |
WHERE | |
origin = "http://example.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment