perf(text): profile MTSDF baker phases - #8
Merged
thejustinwalsh merged 4 commits intoAug 4, 2026
Conversation
thejustinwalsh
force-pushed
the
feat/mtsdf-baker-profiling
branch
3 times, most recently
from
August 1, 2026 09:07
fea8669 to
5befc3c
Compare
thejustinwalsh
force-pushed
the
feat/mtsdf-baker-profiling
branch
from
August 1, 2026 15:44
5befc3c to
359b81d
Compare
thejustinwalsh
marked this pull request as ready for review
August 1, 2026 19:33
thejustinwalsh
force-pushed
the
feat/mtsdf-baker-profiling
branch
from
August 4, 2026 01:44
cf6da9c to
07d1bed
Compare
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
Finding
Texel generation accounts for 98.8% to 99.7% of measured native pipeline time. Complete Inter generates 7,233,197 texels, visits 227,327,416 colored edges, and spends 25,871.57 of 25,957.06 native milliseconds in texel generation. The shipped Wasm pass is 52,420.37 ms; copying its 39,175,608-byte response takes 4.51 ms and final Worker delivery takes 0.47 ms. This admits the adjacent-texel scalar/SIMD comparison and rejects packing, container, or transfer work as the next optimization target.
Evidence
Stack
Depends on #7. The adjacent-texel optimization experiment is layered above this measured boundary.