Repository navigation
Reuse fixed ring paths across spool illustrations - #294
Open
bliatun-code wants to merge 1 commit into
Open
bliatun-code wants to merge 1 commit into
bliatun-code wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Compute the spool illustration's ten fixed ring paths once when the visual module loads. Every desktop card and Companion spool illustration reuses those paths. Per-instance gradient IDs, color and shading continue to be computed for that spool.
Measurements
Production Chromium UI and release Rust with synthetic SQLite libraries, locally and on an authenticated paired loopback Client. The 10,000-roll library has 1,000 products with ten rolls each. Starting on a loaded card view, the probe opens list view, searches for a supplier matching 5,000 rolls, clears the search, then returns to cards. For the empty library it measures opening the list. Times run from click or text input through the animation frame after the expected result count and rows appear and all pending desktop calls settle. Medians of seven measured runs after two warm-ups, alternating versions. Byte counts include serialized requests and responses excluding headers and assets.
Desktop SVG markup and generated Companion SVG strings matched the base revision byte for byte for ten color inputs, including solid, multicolor, gradient and fallback colors. A separate Node microbenchmark generating 96 Companion SVG strings measured 27.1 → 11.8 ms (seven measured runs after two warm-ups, alternating versions). This measures markup generation only.