Repository navigation
chore(benchmark): paths at 900 to 10,000, shapes as nodes and as an atlas on both engines - #30
Merged
riteshshukla04 merged 2 commits intoNov 11, 2026
Conversation
…des and as an atlas on both engines
…reakdown Two runs per combo on both view kinds. skia is GPU-bound on paths from 900 on; tgfx leads up to 5,000 paths and falls below skia at 10,000. With the technique held equal, tgfx draws 2.2-2.4x skia on 20k nodes and both sit at the ceiling on one atlas.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Stacked on #28 (William's scenes, runner and S25 Edge results are kept as they are).
paths900,paths2500,paths5000andpaths(10,000), so a table shows where each engine falls off.shapesstill pits each engine's fastest static path (tgfx nodes, skia ShapeBlob). Two new rows hold the technique equal:shapes-nodes: 20,000<Rect>/<Circle>nodes on both.shapes-atlas: one atlas on both. tgfx rasterizes a circle and a rect once and draws 20,000 tinted quads in one<Vertices>; skia's ShapeBlob does the same internally.apps/benchmark/bench/results-2026-11-11-samsung-90hz-skia310.md.On this phone skia is GPU-bound on paths from 900 on. tgfx leads up to 5,000 paths, then falls below skia at 10,000: the path geometry outgrows the canvas's GPU cache and is rebuilt every frame. #31 fixes that.