lightcraft/docs
Brandon Thomas 3009f836b2 M0.14: web bundle size — fat LTO, size-optimized glue, precompressed output
web profile: fat LTO, 1 codegen unit, strip, panic=abort, opt-level "s", with the per-pixel
crates (pipeline, raster, color, develop, geom, raw, codecs, scenes, preview, JPEG/PNG codecs)
kept at opt-level 3: "s"/"z" there cost +50 %/+130 % render time.
wasm 15.74 MB → 13.53 MB; brotli 3.47 MB → 3.09 MB (gzip 5.25 → 4.58 MB); worker slider job
3.8 → 4.0 ms (noise).

cargo xtask web writes .gz (-9) and .br (-11) copies next to each bundle file (pure Rust:
flate2, brotli) and prints a size table; --serve negotiates Accept-Encoding and serves them
with Content-Encoding. Measurements in docs/web.md → Bundle size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 09:02:15 -04:00
..
images docs: README (MCP, CLI, export, status, contributing), AGENTS.md (asset enforcement, crash recovery, testing/perf), screenshots re-captured with Inter 2026-09-30 23:52:34 -04:00
showcase M1.4: crash-safe catalog persistence (op log + snapshot) 2026-09-30 23:40:40 -04:00
control-protocol.md M0.10: headless UI rendering — CPU rasterizer for egui, ui.screenshot headless + fallback, lightcraft-cli snapshot 2026-10-01 01:48:48 -04:00
gpu-pipeline.md M5.2: GPU pipeline design note (wgpu compute, CPU oracle, stage-cache mapping) 2026-10-01 02:01:33 -04:00
mcp.md M1.4: persistent libraries for headless MCP (lightcraft-cli mcp --library DIR); bump render cache version 2026-10-01 00:17:38 -04:00
web.md M0.14: web bundle size — fat LTO, size-optimized glue, precompressed output 2026-10-01 09:02:15 -04:00
xmp-interop.md M9.2: preset files — .lcpreset import/export (groups preserved), XMP presets via crs: mapping 2026-10-01 01:05:26 -04:00