Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1d25a6c
Revise WebAssembly 2025
nrllh Jan 29, 2026
5403da9
Enhanced unique metrics
nrllh Jan 29, 2026
3737f38
Final edits
nrllh Jan 29, 2026
554a236
Linting fixes
tunetheweb Jan 29, 2026
2db0755
SQL JSON_VALUE preference
tunetheweb Jan 29, 2026
45c892f
Restore SQL comment
tunetheweb Jan 29, 2026
c4b261b
Another comment
tunetheweb Jan 29, 2026
712e381
Apply suggestions from code review
nrllh Jan 29, 2026
bf892e5
Further edits
nrllh Jan 29, 2026
a548ca1
Fix formatting in WebAssembly introduction section
nrllh Jan 29, 2026
b9f034b
Revise WebAssembly data collection statistics
nrllh Jan 29, 2026
c277939
Merge branch 'main' into webassembly-pass
tunetheweb Jan 31, 2026
b39e948
Merge branch 'main' into webassembly-pass
tunetheweb Jan 31, 2026
9b153cf
Apply suggestions from code review
tunetheweb Feb 8, 2026
6950d2d
Update link for almanac-wasm tool
nrllh Feb 9, 2026
65f11bc
Update WebAssembly usage statistics
nrllh Feb 9, 2026
8776217
Update WebAssembly libraries popularity statement
nrllh Feb 9, 2026
82ae914
Revise WebAssembly chapter with updated statistics and tools
nimeshgit Feb 10, 2026
617ad95
Delete src/static/images/2025/webassembly/language-usage.png
nimeshgit Feb 10, 2026
7174150
added compression methods + updated language usage
nimeshgit Feb 10, 2026
112e9d1
Optimised images with calibre/image-actions
github-actions[bot] Feb 10, 2026
a801ca0
Merge branch 'main' into webassembly-pass
nimeshgit Feb 10, 2026
11a4fb9
Optimised images with calibre/image-actions
github-actions[bot] Feb 10, 2026
26f645b
Merge branch 'main' into webassembly-pass
tunetheweb Feb 10, 2026
ebef541
Optimised images with calibre/image-actions
github-actions[bot] Feb 10, 2026
2cbb3d2
Retake images
tunetheweb Feb 10, 2026
64388f0
Optimised images with calibre/image-actions
github-actions[bot] Feb 10, 2026
201c768
Minor edits
tunetheweb Feb 10, 2026
7ce58c3
More edits
tunetheweb Feb 10, 2026
0fa7a63
Retake image
tunetheweb Feb 10, 2026
5d913fc
Optimised images with calibre/image-actions
github-actions[bot] Feb 10, 2026
8a06e23
Edits
tunetheweb Feb 10, 2026
e239783
Merge branch 'webassembly-pass' of github.com:HTTPArchive/almanac.htt…
tunetheweb Feb 10, 2026
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
17 changes: 11 additions & 6 deletions sql/2025/webassembly/counts.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ WITH wasmRequests AS (
page,
root_page,
url,
REGEXP_EXTRACT(url, r'([^/]+)$') AS filename -- lowercase & extract filename between last `/` and `.` or `?`
REGEXP_EXTRACT(url, r'([^/]+)$') AS filename, -- lowercase & extract filename between last `/` and `.` or `?`
SAFE_CAST(JSON_VALUE(summary.respBodySize) AS INT64) AS respBodySize
FROM
`httparchive.crawl.requests`
WHERE
date IN ('2021-07-01', '2022-06-01', '2024-06-01', '2025-07-01') AND
date IN ('2021-07-01', '2022-06-01', '2023-06-01', '2024-06-01', '2025-07-01') AND
(
(date IN ('2024-06-01', '2025-07-01') AND type = 'wasm') -- wasm type was added in Jan 2024
OR
(date IN ('2021-07-01', '2022-06-01') AND (JSON_VALUE(summary.mimeType) = 'application/wasm' OR JSON_VALUE(summary.ext) = 'wasm'))
(date IN ('2021-07-01', '2022-06-01', '2023-06-01') AND (JSON_VALUE(summary.mimeType) = 'application/wasm' OR JSON_VALUE(summary.ext) = 'wasm'))
)
),

Expand All @@ -28,7 +29,7 @@ totals AS (
FROM
`httparchive.crawl.requests`
WHERE
date IN ('2021-07-01', '2022-06-01', '2024-06-01', '2025-07-01')
date IN ('2021-07-01', '2022-06-01', '2023-06-01', '2024-06-01', '2025-07-01')
GROUP BY
date,
client
Expand All @@ -37,8 +38,12 @@ totals AS (
SELECT
date,
client,
COUNT(0) AS total_wasm,
COUNT(DISTINCT filename) AS unique_wasm,
COUNT(0) AS total_wasm_requests,
COUNT(DISTINCT filename) AS unique_filenames,
-- NEW: Distinct based on full URL
COUNT(DISTINCT url) AS unique_urls,
-- NEW: Distinct based on Name + Size
COUNT(DISTINCT CONCAT(filename, '-', CAST(respBodySize AS STRING))) AS unique_wasm_by_size,
COUNT(DISTINCT root_page) AS sites,
total_sites,
COUNT(DISTINCT root_page) / total_sites AS pct_sites,
Expand Down
Loading
Loading