Repository navigation
perf(cli): cache dynamic WASM runtime independently - #189
Merged
Merged
Conversation
Implement content-addressed runtime and sketch caches with atomic publication, corruption recovery, and MAIN_MODULE=1/SIDE_MODULE=1 runtime loading. Add the full transition matrix and real-browser app/no-app smoke coverage.\n\nCloses #188
Restore executable bits for root Emscripten launchers on both fresh installs and cache hits, and resolve the Clippy findings reported by CI.
Use the repository path boundary type for cache and fake-test paths so the custom cross-platform path lint remains clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fastled.js+fastled.wasmas a sketch-independentMAIN_MODULE=1runtimesketch.wasmindependently withSIDE_MODULE=1, loaded by the generated JavaScript APIzccache-fingerprint--no-app,sketch_assets.json, and legacyfiles.jsonValidation
soldr cargo test --workspace(175 unit tests + 2 viewer tests + doctest)uv run --no-project pytest -q(18 passed)files.jsonsmokeQuick-mode benchmark
Release CLI, local FastLED
examples/wasm, median of 3 runs:Dynamic sketch edits were about 39% faster. The SHA-256 of
fastled.wasmremained identical across all dynamic sketch edits, proving that only the sketch unit was rebuilt/relinked.Closes #188