Commit 294fc47
WebAssembly 2025 queries updates for counts and page ranking (#4328)
* For WebAssembly Report 2025, Updated all the queries from year (2021 & 2022) to the new schema where applicable.
Added query for wasm usage counts by pages and by distinct wasm's names
(counts.sql & counts_distinct_name.sql)
Added query for various compression methods (compression_methods.sql)
Added query for wasm component usage for domains and cross domains (domains.sql & cross_domain.sql)
Added query for various instruction kinds (instruction_kinds.sql)
Added query for various languages usage in wasm (language_usage.sql)
Added query for various mimeType usage in wasm (mime_types.sql)
Added query for page rankings (page_rankings.sql)
Added query to understand usages by size
(module_sizes.sql, section_sizes.sql, large_custom_sections.sql and total_sizes_by_percentile.sql)
Info : Drop statustics for size_total_br, size_total_strip, size_total_strip_br, size_total_opt, size_total_opt_br, br_savings, strip_br_savings, opt_br_savings and opt_savings because of dataset has null values.
Added query for wasm proposals.sql.
Added query to understand popular wasm libraries in use.
(popular_library_by_name.sql)
All the queries are grouped by clients i.e. desktop and mobile.
* Update sql/2025/webassembly/page_rankings.sql
extended extra category
Co-authored-by: Barry Pollard <barrypollard@google.com>
* Updated query with date '2025-07-01', Removed test folder and Simplified json values without $
* rephrased query for compression methods by clients.
* Refactor wasm count query
* Update sql/2025/webassembly/page_rankings.sql
Co-authored-by: Barry Pollard <barrypollard@google.com>
* Added new line for code lint pipeline and rephrased queries
* Apply suggestion from @tunetheweb
* Apply suggestion from @tunetheweb
* Apply suggestion from @tunetheweb
* Apply suggestion from @tunetheweb
* Apply suggestion from @tunetheweb
* Apply suggestion from @tunetheweb
* Update sql/2025/webassembly/instruction_kinds.sql
* Update SQL query for distinct wasm origin count
* Refactor SQL query for page rankings with cleaner syntax
prefer to use rank_grouping instead of _rank
* Lint
---------
Co-authored-by: Barry Pollard <barrypollard@google.com>1 parent c9c4804 commit 294fc47
2 files changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | | - | |
| 3 | + | |
6 | 4 | | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
| 11 | + | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | | - | |
| 18 | + | |
21 | 19 | | |
22 | | - | |
| 20 | + | |
| 21 | + | |
0 commit comments