Skip to content

Commit 5ebac80

Browse files
committed
Merge branch 'main' of github.com:HTTPArchive/almanac.httparchive.org into production
2 parents 2166f9a + f709492 commit 5ebac80

File tree

21 files changed

+289
-350
lines changed

21 files changed

+289
-350
lines changed

.github/workflows/add-to-release-notes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
if: github.repository == 'HTTPArchive/almanac.httparchive.org'
1717
steps:
1818
- name: Update release notes
19-
uses: release-drafter/release-drafter@v6.1.1
19+
uses: release-drafter/release-drafter@v6.2.0
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
uses: super-linter/super-linter/slim@v8
3535
env:
3636
DEFAULT_BRANCH: main
37+
ENABLE_GITHUB_PULL_REQUEST_SUMMARY_COMMENT: false
3738
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3839
VALIDATE_BASH: true
3940
VALIDATE_CSS: true

.github/workflows/test_website.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
- name: Lint Generated HTML
4343
uses: super-linter/super-linter/slim@v8
4444
env:
45+
ENABLE_GITHUB_PULL_REQUEST_SUMMARY_COMMENT: false
4546
FILTER_REGEX_INCLUDE: src/static/html/.*
4647
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4748
LOG_LEVEL: DEBUG

sql/2025/webassembly/counts.sql

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@ WITH wasmRequests AS (
77
page,
88
root_page,
99
url,
10-
REGEXP_EXTRACT(url, r'([^/]+)$') AS filename -- lowercase & extract filename between last `/` and `.` or `?`
10+
REGEXP_EXTRACT(url, r'([^/]+)$') AS filename, -- lowercase & extract filename between last `/` and `.` or `?`
11+
SAFE_CAST(JSON_VALUE(summary.respBodySize) AS INT64) AS respBodySize
1112
FROM
1213
`httparchive.crawl.requests`
1314
WHERE
14-
date IN ('2021-07-01', '2022-06-01', '2024-06-01', '2025-07-01') AND
15+
date IN ('2021-07-01', '2022-06-01', '2023-06-01', '2024-06-01', '2025-07-01') AND
1516
(
1617
(date IN ('2024-06-01', '2025-07-01') AND type = 'wasm') -- wasm type was added in Jan 2024
1718
OR
18-
(date IN ('2021-07-01', '2022-06-01') AND (JSON_VALUE(summary.mimeType) = 'application/wasm' OR JSON_VALUE(summary.ext) = 'wasm'))
19+
(date IN ('2021-07-01', '2022-06-01', '2023-06-01') AND (JSON_VALUE(summary.mimeType) = 'application/wasm' OR JSON_VALUE(summary.ext) = 'wasm'))
1920
)
2021
),
2122

@@ -28,7 +29,7 @@ totals AS (
2829
FROM
2930
`httparchive.crawl.requests`
3031
WHERE
31-
date IN ('2021-07-01', '2022-06-01', '2024-06-01', '2025-07-01')
32+
date IN ('2021-07-01', '2022-06-01', '2023-06-01', '2024-06-01', '2025-07-01')
3233
GROUP BY
3334
date,
3435
client
@@ -37,8 +38,12 @@ totals AS (
3738
SELECT
3839
date,
3940
client,
40-
COUNT(0) AS total_wasm,
41-
COUNT(DISTINCT filename) AS unique_wasm,
41+
COUNT(0) AS total_wasm_requests,
42+
COUNT(DISTINCT filename) AS unique_filenames,
43+
-- NEW: Distinct based on full URL
44+
COUNT(DISTINCT url) AS unique_urls,
45+
-- NEW: Distinct based on Name + Size
46+
COUNT(DISTINCT CONCAT(filename, '-', CAST(respBodySize AS STRING))) AS unique_wasm_by_size,
4247
COUNT(DISTINCT root_page) AS sites,
4348
total_sites,
4449
COUNT(DISTINCT root_page) / total_sites AS pct_sites,

0 commit comments

Comments
 (0)