Skip to content

Commit 554a236

Browse files
committed
Linting fixes
1 parent 3737f38 commit 554a236

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

sql/2025/webassembly/counts.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ WITH wasmRequests AS (
77
page,
88
root_page,
99
url,
10-
REGEXP_EXTRACT(url, r'([^/]+)$') AS filename,
10+
REGEXP_EXTRACT(url, r'([^/]+)$') AS filename,
1111
SAFE_CAST(JSON_VALUE(summary, '$.respBodySize') AS INT64) AS respBodySize
1212
FROM
1313
`httparchive.crawl.requests`
1414
WHERE
15-
date IN ('2021-07-01', '2022-06-01','2023-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
1616
(
1717
(date IN ('2024-06-01', '2025-07-01') AND type = 'wasm')
1818
OR
@@ -29,7 +29,7 @@ totals AS (
2929
FROM
3030
`httparchive.crawl.requests`
3131
WHERE
32-
date IN ('2021-07-01', '2022-06-01', '2023-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')
3333
GROUP BY
3434
date,
3535
client
@@ -38,7 +38,7 @@ totals AS (
3838
SELECT
3939
date,
4040
client,
41-
COUNT(0) AS total_wasm_requests,
41+
COUNT(0) AS total_wasm_requests,
4242
COUNT(DISTINCT filename) AS unique_filenames,
4343
-- NEW: Distinct based on full URL
4444
COUNT(DISTINCT url) AS unique_urls,

src/content/en/2025/webassembly.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ We follow the same methodology from [the 2021 Web Almanac](../2021/webassembly#m
3636
**Analysis:** In addition to the HTTP Archive dataset, we use the <a hreflang="en" href="#/">almanac-wasm</a> tool to download and validate the WebAssembly modules identified from the HTTP Archive for local analysis. This tool extracts metadata from these downloaded files, allowing us to identify programming languages, libraries, and specific features used within the Wasm modules.
3737

3838

39-
**Limitations:** Our tool `àlmanac-wasm` focuses on static analysis of Wasm modules and does not execute them. Therefore, we cannot capture dynamic behaviors or runtime features that may be present during actual execution in a browser or standalone environment. Additionally, some Wasm modules may be obfuscated or minified, which can limit our ability to accurately identify their characteristics.
39+
**Limitations:** Our tool `àlmanac-wasm` focuses on static analysis of Wasm modules and does not execute them. Therefore, we cannot capture dynamic behaviors or runtime features that may be present during actual execution in a browser or standalone environment. Additionally, some Wasm modules may be obfuscated or minified, which can limit our ability to accurately identify their characteristics.
4040

4141

4242
## WebAssembly usage
@@ -50,7 +50,7 @@ We follow the same methodology from [the 2021 Web Almanac](../2021/webassembly#m
5050
)
5151
}}
5252

53-
Our analysis shows while WebAssembly's adoption in 2021 0.04% was, we find that in 2025, it has grown to 0.35% on desktop and 0.28% on mobile, representing approximately 43,000 sites for each platform within our dataset.
53+
Our analysis shows while WebAssembly's adoption in 2021 0.04% was, we find that in 2025, it has grown to 0.35% on desktop and 0.28% on mobile, representing approximately 43,000 sites for each platform within our dataset.
5454

5555
### Year-on-year trend
5656

@@ -94,7 +94,7 @@ Adoption rates decrease as site rank declines, following a consistent distributi
9494
sheets_gid="540023407"
9595
)
9696
}}
97-
97+
9898

9999
Overall, we recorded 303,496 WebAssembly requests on desktop and 308,971 on mobile. Although more desktop sites utilize WebAssembly, the total volume of requests is slightly higher on mobile.
100100

@@ -116,7 +116,7 @@ Furthermore, we identified 157,967 unique URLs on desktop and 165,870 on mobile.
116116
)
117117
}}
118118

119-
The standard `application/wasm` MIME type was identified in 293,470 desktop and 301,127 mobile requests. Instances of missing or incorrect MIME types (such as `text/html` or `text/plain`) were low, affecting 3.2% of desktop and 2.4% of mobile requests. These represent a significant decline compared to 2021, indicating improved awareness and adherence to proper server configuration.
119+
The standard `application/wasm` MIME type was identified in 293,470 desktop and 301,127 mobile requests. Instances of missing or incorrect MIME types (such as `text/html` or `text/plain`) were low, affecting 3.2% of desktop and 2.4% of mobile requests. These represent a significant decline compared to 2021, indicating improved awareness and adherence to proper server configuration.
120120

121121

122122
### Module size
@@ -186,7 +186,7 @@ We find that System (43%), Microsoft (23%), RXEngine (6%), and Dotnet (6%) are t
186186
## WebAssembly languages
187187

188188

189-
WebAssembly can be developed using various languages, including C++, C#, and Ruby. With the introduction of Wasm 3.0, the range of supported languages has extended to include examples such as Java, Scala, Kotlin, and Dart. In this section, we provide an overview of the languages used to develop WebAssembly modules.
189+
WebAssembly can be developed using various languages, including C++, C#, and Ruby. With the introduction of Wasm 3.0, the range of supported languages has extended to include examples such as Java, Scala, Kotlin, and Dart. In this section, we provide an overview of the languages used to develop WebAssembly modules.
190190

191191

192192
{{ figure_markup(

0 commit comments

Comments
 (0)