Skip to content

Commit 45b77ef

Browse files
committed
Merge branch 'main' of github.com:HTTPArchive/almanac.httparchive.org into production
2 parents 2d1e57d + d9a6b6c commit 45b77ef

File tree

82 files changed

+1926
-448
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+1926
-448
lines changed

.github/workflows/lintsql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
lint:
1313
name: Lint SQL
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout Code
1717
uses: actions/checkout@v4

sql/2020/third-parties/top100_third_parties_by_number_of_websites.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ base AS (
3636
canonicalDomain
3737
)
3838

39-
4039
SELECT
4140
canonicalDomain,
4241
total_pages,

sql/2021/privacy/most_common_featurepolicy_permissionspolicy_directive_values.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ normalized_permissions_policy AS ( -- normalize
124124
merged_permissions_policy
125125
)
126126

127-
128127
SELECT
129128
client,
130129
rank_grouping,

sql/2021/privacy/number_of_websites_with_origin_trial_from_token.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ extracted_origin_trials_from_headers_and_meta_tags AS (
212212
tag_name = 'origin-trial'
213213
)
214214
215-
216215
SELECT
217216
client,
218217
COALESCE(origin_trials_from_custom_metric.featureElem, origin_trials_from_headers_and_meta_tags.featureElem) AS featureElem,

sql/2021/seo/pages-canonical-stats.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ try {
114114
''';
115115
116116
117-
118117
SELECT
119118
client,
120119
COUNT(0) AS total,

sql/2022/css/all_functions.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ WITH totals AS (
4343
client
4444
)
4545

46-
4746
SELECT
4847
*
4948
FROM (

sql/2022/css/layer.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ WITH layers AS (
1414
type = 'css'
1515
)
1616

17-
1817
SELECT
1918
client,
2019
COUNT(DISTINCT IF(has_layer, page, NULL)) AS pages,

sql/2022/css/lcp_initiator_type.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ requests AS (
2020
date = '2022-06-01'
2121
)
2222

23-
2423
SELECT
2524
client,
2625
type AS lcp_initiator_type,

sql/2022/css/print_page_pseudo_classes.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ WITH totals AS (
5252
client
5353
)
5454

55-
5655
SELECT
5756
client,
5857
pseudo_class,

sql/2022/css/print_stylesheet_adoption.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ WITH print AS (
1818
`httparchive.pages.2022_07_01_*` -- noqa: CV09
1919
)
2020

21-
2221
SELECT
2322
client,
2423
COUNTIF(has_print_stylesheet) AS pages,

sql/2022/fonts/font_variant_values.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ WITH totals AS (
3838
client
3939
)
4040

41-
4241
SELECT
4342
client,
4443
prop,

sql/2022/interoperability/layer_per_page.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ WITH detections AS (
3737
page
3838
)
3939

40-
4140
SELECT
4241
percentile,
4342
client,

sql/2022/markup/data_attribute_total.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ WITH totals AS (
2323
_TABLE_SUFFIX
2424
)
2525

26-
2726
SELECT
2827
_TABLE_SUFFIX AS client,
2928
COUNT(DISTINCT url) AS pages,

sql/2022/media/lcp_element_data.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ CREATE TEMP FUNCTION getLoadingClasses(attributes STRING) RETURNS STRING LANGUAG
3838
''';
3939

4040

41-
4241
WITH
4342
lcp_stats AS (
4443
SELECT

sql/2022/performance/bfcache_unload.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ pages AS (
1616
`httparchive.summary_pages.2022_06_01_*`
1717
)
1818

19-
2019
SELECT
2120
client,
2221
_rank AS rank,

sql/2022/performance/cls_animations.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ WITH lh AS (
66
`httparchive.lighthouse.2022_06_01_*`
77
)
88

9-
109
SELECT
1110
percentile,
1211
client,

sql/2022/performance/cls_unsized_image_height.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ WITH lh AS (
77
UNNEST(JSON_QUERY_ARRAY(report, '$.audits.unsized-images.details.items')) AS unsized_image
88
)
99

10-
1110
SELECT
1211
percentile,
1312
client,

sql/2022/performance/cls_unsized_images.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ WITH lh AS (
66
`httparchive.lighthouse.2022_06_01_*`
77
)
88

9-
109
SELECT
1110
percentile,
1211
client,

sql/2022/performance/lcp_host.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ WITH lcp AS (
77
`httparchive.pages.2022_06_01_*`
88
)
99

10-
1110
SELECT
1211
client,
1312
CASE

sql/2022/performance/lcp_host_3p.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ WITH lcp AS (
77
`httparchive.pages.2022_06_01_*`
88
)
99

10-
1110
SELECT
1211
client,
1312
NET.REG_DOMAIN(url) AS lcp_domain,

sql/2022/performance/lcp_initiator_type.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ requests AS (
2020
date = '2022-06-01'
2121
)
2222

23-
2423
SELECT
2524
client,
2625
type AS lcp_initiator_type,

sql/2022/performance/lcp_lazy_wordpress.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ wp AS (
4545
app = 'WordPress'
4646
)
4747

48-
4948
SELECT
5049
client,
5150
COUNTIF(wordpress) AS wordpress,

sql/2022/performance/lcp_preload_discoverable.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ WITH lcp AS (
77
`httparchive.pages.2022_06_01_*`
88
)
99

10-
1110
SELECT
1211
client,
1312
discoverable,

sql/2022/performance/lcp_resource_type.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ WITH lcp AS (
88
`httparchive.pages.2022_06_01_*`
99
)
1010

11-
1211
SELECT
1312
client,
1413
CASE

sql/2022/privacy/number_of_websites_with_origin_trial_from_token.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ extracted_origin_trials_from_headers_and_meta_tags AS (
213213
tag_name = 'origin-trial'
214214
)
215215
216-
217216
SELECT
218217
client,
219218
COALESCE(origin_trials_from_custom_metric.featureElem, origin_trials_from_headers_and_meta_tags.featureElem) AS featureElem,

sql/2022/privacy/top100_cookies_set_from_header.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ cookies AS (
6767
websites_per_client
6868
)
6969

70-
7170
SELECT
7271
*
7372
FROM (

sql/2022/seo/pages-canonical-stats.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ try {
114114
''';
115115
116116
117-
118117
SELECT
119118
client,
120119
COUNT(0) AS total,

sql/2022/seo/robots-meta-usage.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ return results;
2828
''';
2929

3030

31-
3231
SELECT
3332
client,
3433
total,

sql/2022/third-parties/third_parties_using_legacy_javascript.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ base AS (
4444
page
4545
)
4646

47-
4847
SELECT
4948
client,
5049
AVG(pct_1p_legacy) AS avg_pct_1p_legacy,

sql/2023/performance/bfcache_unload.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ WITH lh AS (
1111
is_root_page
1212
)
1313

14-
1514
SELECT
1615
client,
1716
_rank AS rank,

sql/2023/performance/cls_animations.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ WITH lh AS (
99
is_root_page
1010
)
1111

12-
1312
SELECT
1413
percentile,
1514
client,

sql/2023/performance/cls_unsized_image_height.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ WITH lh AS (
1010
is_root_page
1111
)
1212

13-
1413
SELECT
1514
percentile,
1615
client,

sql/2023/performance/cls_unsized_images.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ WITH lh AS (
99
is_root_page
1010
)
1111

12-
1312
SELECT
1413
percentile,
1514
client,

sql/2023/performance/lcp_host.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ WITH lcp AS (
1010
is_root_page
1111
)
1212

13-
1413
SELECT
1514
client,
1615
CASE

sql/2023/performance/lcp_host_3p.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ WITH lcp AS (
1010
is_root_page
1111
)
1212

13-
1413
SELECT
1514
client,
1615
NET.REG_DOMAIN(url) AS lcp_domain,

sql/2023/performance/lcp_initiator_type.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ requests AS (
2323
date = '2023-10-01'
2424
)
2525

26-
2726
SELECT
2827
client,
2928
IFNULL(type, 'unknown') AS lcp_initiator_type,

sql/2023/performance/lcp_lazy_technologies.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ tech_totals AS (
4848
technology
4949
)
5050

51-
5251
SELECT
5352
client,
5453
technology,

sql/2023/performance/lcp_preload_discoverable.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ WITH lcp AS (
1010
is_root_page
1111
)
1212

13-
1413
SELECT
1514
client,
1615
discoverable,

sql/2023/performance/lcp_resource_type.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ WITH lcp AS (
1111
is_root_page
1212
)
1313

14-
1514
SELECT
1615
client,
1716
CASE

sql/2024/accessibility/lighthouse_score_by_government_with_urls.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ domain_scores AS (
384384

385385
'|\\.(gov|mil|gouv|gob|gub|go|govt|gv|nic|government)\\.(taipei|[a-z]{2,3})/' -- Other generic government formats (e.g., gouv.fr, gob.mx, go.jp)
386386

387-
388387
'|\\.gc\\.ca/' -- Canada and provinces
389388
'|\\.canada\\.ca/'
390389
'|\\.alberta\\.ca/'

sql/2024/ecommerce/core_web_vitals_yoy.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ GROUP BY
7171
client,
7272
app
7373

74-
7574
UNION ALL
7675

7776
-- Year 2023
@@ -188,6 +187,5 @@ GROUP BY
188187
client,
189188
app
190189

191-
192190
ORDER BY
193191
origins DESC

sql/2024/media/lcp_element_data.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ CREATE TEMP FUNCTION getLoadingClasses(attributes STRING) RETURNS STRING LANGUAG
3939
''';
4040

4141

42-
4342
WITH
4443
lcp_stats AS (
4544
SELECT

sql/2024/performance/bfcache_unload.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ WITH lh AS (
2020
date = '2024-06-01'
2121
)
2222

23-
2423
SELECT
2524
client,
2625
_rank AS rank,

sql/2024/performance/cls_animations.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ WITH lh AS (
99
is_root_page
1010
)
1111

12-
1312
SELECT
1413
percentile,
1514
client,

sql/2024/performance/cls_unsized_image_height.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ WITH lh AS (
1010
is_root_page
1111
)
1212

13-
1413
SELECT
1514
percentile,
1615
client,

sql/2024/performance/cls_unsized_images.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ WITH lh AS (
99
is_root_page
1010
)
1111

12-
1312
SELECT
1413
percentile,
1514
client,

sql/2024/performance/lcp_host.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ WITH lcp AS (
1010
is_root_page
1111
)
1212

13-
1413
SELECT
1514
client,
1615
CASE

sql/2024/performance/lcp_host_3p.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ WITH lcp AS (
1010
is_root_page
1111
)
1212

13-
1413
SELECT
1514
client,
1615
NET.REG_DOMAIN(url) AS lcp_domain,

sql/2024/performance/lcp_initiator_type.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ requests AS (
2323
date = '2024-06-01'
2424
)
2525

26-
2726
SELECT
2827
client,
2928
IFNULL(type, 'unknown') AS lcp_initiator_type,

0 commit comments

Comments
 (0)