Title: id(roc): F11.15 smaller example modules (wasm-opt -Os, strip, <=400 KB) · Issue #555 · developing-today/code · GitHub
Open Graph Title: id(roc): F11.15 smaller example modules (wasm-opt -Os, strip, <=400 KB) · Issue #555 · developing-today/code
X Title: id(roc): F11.15 smaller example modules (wasm-opt -Os, strip, <=400 KB) · Issue #555 · developing-today/code
Description: What and why Run wasm-opt -Os and strip in each example build.sh so every checked-in module is at or under 400 KB, and measure instantiate time. All seven checked-in modules are 526-686 KB, which costs download and instantiate time for e...
Open Graph Description: What and why Run wasm-opt -Os and strip in each example build.sh so every checked-in module is at or under 400 KB, and measure instantiate time. All seven checked-in modules are 526-686 KB, which c...
X Description: What and why Run wasm-opt -Os and strip in each example build.sh so every checked-in module is at or under 400 KB, and measure instantiate time. All seven checked-in modules are 526-686 KB, which c...
Opengraph URL: https://github.com/developing-today/code/issues/555
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(roc): F11.15 smaller example modules (wasm-opt -Os, strip, \u003c=400 KB)","articleBody":"## What and why\n\nRun `wasm-opt -Os` and strip in each example build.sh so every checked-in module is at or under 400 KB, and measure instantiate time. All seven checked-in modules are 526-686 KB, which costs download and instantiate time for every joiner.\n\n## Source\n\n- [`.opencode/plans/phase-11-foundations.md:56`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-11-foundations.md#L56)\n- [`.opencode/plans/2026-10-20_phase-11-status.md:25`](https://github.com/developing-today/code/blob/main/.opencode/plans/2026-10-20_phase-11-status.md#L25)\n\n## Current status\n\n**Not started.** All seven checked-in modules are over the target: `ls -la pkgs/id/examples/*/*.wasm` gives 526,219 to 685,561 bytes. `grep -l wasm-opt pkgs/id/examples/*/build.sh` matches nothing, and pkgs/id/examples/territory/build.sh:20 builds with `--debug`.\n\n## Acceptance criteria\n\n- [ ] Each example `build.sh` runs `wasm-opt -Os` and strips, and no longer builds with `--debug`\n- [ ] Every checked-in example module is at or under 400 KB\n- [ ] Instantiate time is measured before and after and recorded\n- [ ] Sandbox suite and fuel budgets still pass\n\n## Size\n\nS\n\n## Prerequisites\n\n- #541 — D1-018 F11.18 Pinned Roc compiler for checked-in example modules + CI rebuild job\n\n\u003c!-- discovery:D1-015 -->\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-22T06:09:15Z","url":"https://github.com/developing-today/code/issues/555"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:37326dc0-0c72-e25e-d20c-50a0b9f8f00f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BB2:C5B62:4268F0:598496:6B061E98 |
| html-safe-nonce | ccf40ce88db5b4a2f8e744d8566ee9ebc78794b6266824c3ad6220838f4fc0f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkIyOkM1QjYyOjQyNjhGMDo1OTg0OTY6NkIwNjFFOTgiLCJ2aXNpdG9yX2lkIjoiMTgwMzYxMDczOTY2ODU1NzQ2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8dc21dedfe31d18e68fbf7606d05094c62dd07f94d16da5abc52b31612bc34f9 |
| hovercard-subject-tag | issue:5974063432 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/555/issue_layout |
| twitter:image | https://opengraph.githubassets.com/518490012c54b56c0886ea9b1cdaf1e5c1a3c79880b139b7d2dfce742de79d7f/developing-today/code/issues/555 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/518490012c54b56c0886ea9b1cdaf1e5c1a3c79880b139b7d2dfce742de79d7f/developing-today/code/issues/555 |
| og:image:alt | What and why Run wasm-opt -Os and strip in each example build.sh so every checked-in module is at or under 400 KB, and measure instantiate time. All seven checked-in modules are 526-686 KB, which c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b25c3080e84402f75431d8dc7a96b2635219cec7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width