Skip to content

Commit 930ac46

Browse files
committed
WebAssembly 2025 chapter
1 parent b92fa4d commit 930ac46

4 files changed

Lines changed: 295 additions & 18 deletions

File tree

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,48 @@
1+
2+
WITH totals AS (
3+
SELECT
4+
client,
5+
rank_grouping,
6+
COUNT(DISTINCT root_page) As total_sites
7+
FROM
8+
`httparchive.crawl.requests`,
9+
UNNEST([1000, 10000, 100000, 1000000, 10000000, 100000000]) AS rank_grouping
10+
WHERE
11+
date = '2025-07-01' AND
12+
rank <= rank_grouping
13+
GROUP BY
14+
client,
15+
rank_grouping
16+
ORDER BY
17+
client,
18+
rank_grouping
19+
)
20+
121
SELECT
222
client,
323
rank_grouping,
424
CASE
525
WHEN rank_grouping = 100000000 THEN 'all'
6-
ELSE CAST(rank_grouping AS STRING)
26+
ELSE FORMAT("%'d", rank_grouping)
727
END AS ranking,
8-
COUNT(DISTINCT page) AS pages
28+
COUNT(DISTINCT root_page) AS sites,
29+
total_sites,
30+
COUNT(DISTINCT root_page) / total_sites AS pct_sites
931
FROM
1032
`httparchive.crawl.requests`,
1133
UNNEST([1000, 10000, 100000, 1000000, 10000000, 100000000]) AS rank_grouping
34+
INNER JOIN
35+
totals
36+
USING (client, rank_grouping)
1237
WHERE
1338
date = '2025-07-01' AND
1439
type = 'wasm' AND
1540
rank <= rank_grouping
1641
GROUP BY
1742
client,
18-
rank_grouping
43+
rank_grouping,
44+
total_sites
1945
ORDER BY
2046
client,
2147
rank_grouping
48+

src/config/2025.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
"chapter_number": "2",
2323
"title": "WebAssembly",
2424
"slug": "webassembly",
25-
"hero_dir": "2021",
26-
"todo": true
25+
"hero_dir": "2021"
2726
},
2827
{
2928
"part": "I",

src/config/contributors.json

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,6 +1295,18 @@
12951295
"twitter": "ColinEberhardt",
12961296
"website": "https://blog.scottlogic.com/ceberhardt/"
12971297
},
1298+
"cjihrig": {
1299+
"avatar_url": "2512748",
1300+
"github": "cjihrig",
1301+
"name": "Colin Ihrig",
1302+
"teams": {
1303+
"2025": [
1304+
"editors"
1305+
]
1306+
},
1307+
"twitter": "cjihrig",
1308+
"website": "https://cjihrig.com/"
1309+
},
12981310
"csliva": {
12991311
"avatar_url": "4701180",
13001312
"github": "csliva",
@@ -3655,6 +3667,19 @@
36553667
]
36563668
}
36573669
},
3670+
"nimeshgit": {
3671+
"avatar_url": "38841604",
3672+
"github": "nimeshgit",
3673+
"linkedin": "ops-ml-architect",
3674+
"name": "Nimesh Vadgama - VN",
3675+
"teams": {
3676+
"2025": [
3677+
"analysts",
3678+
"authors"
3679+
]
3680+
},
3681+
"website": "https://ops-ml-architect.blogspot.com/"
3682+
},
36583683
"NishuGoel": {
36593684
"avatar_url": "26349046",
36603685
"github": "NishuGoel",
@@ -3744,8 +3769,9 @@
37443769
"reviewers"
37453770
],
37463771
"2025": [
3747-
"leads",
3748-
"committee"
3772+
"authors",
3773+
"committee",
3774+
"leads"
37493775
]
37503776
},
37513777
"twitter": "nrllah",

0 commit comments

Comments
 (0)