ZacharyZhang-NY ae11fbf00c Measure the budget end to end, and fail on any console error
The Playwright suite now checks PRD section 7 and the budget on the
local build and on each preview and live URL.

Frame times count the whole frame: Go reports its share after
copying the pixels, and the page adds the canvas blit and keeps
p50 and p95 over the last 240 frames. A test slows putImageData
and expects p95 to show it.

The budget test runs on a moving component page and logs what it
measures: first frame, p50, p95 and the wasm's brotli bytes, as
Cloudflare sent them or compressed locally. Today: first frame
about 60 ms, p95 about 10 ms, wasm under 5 MB, against 300 ms,
16 ms and 8 MB.

Every page now ends free of console and page errors, whether a
test used open() or not; the two tests that fail on purpose say so.
Clicks and typing reach components on their own pages.
2026-10-12 16:21:14 -04:00
2026-10-11 15:18:33 -04:00
2026-10-11 15:18:33 -04:00
2026-10-11 15:18:33 -04:00

8bitMyGoUI

16 位游戏风格的像素组件库,建立在 MyGo 原生 UI 之上。每个点落在点阵上,颜色只来自 16 格调色板,没有抗锯齿。轮换调色板,同一画面就有昼夜和四季。

展示页把同一份 Go 代码编译成 WebAssembly,在浏览器里逐点绘制。

开发中。进度见仓库提交。

许可

MIT。

S
Description
16-bit pixel-art UI components for MyGo native Go UI; showcase runs the same Go in the browser via wasm.
Readme MIT
2.7 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 98.7%
JavaScript 1.1%
Shell 0.1%
HTML 0.1%