Skip to content

Make Départements workload scale linearly with complexity - #124

Draft
khokhlov962 wants to merge 1 commit into
WebKit:tentative-1-4-testsfrom
khokhlov962:departements-scaling
Draft

khokhlov962 wants to merge 1 commit into
WebKit:tentative-1-4-testsfrom
khokhlov962:departements-scaling

Conversation

@khokhlov962

Copy link
Copy Markdown

Currently the test's rendering workload grows non-linearly with complexity. While the first 16 spokes add new shaded area and full-sized map sprites, higher complexities cram all spokes into the same single ring by shrinking each wedge's angle. This causes total shaded area to plateau and blurred sprite areas to shrink as complexity increases.

Moreover, adding additional chart rings resizes existing rings and redistributes spokes, causing sudden work discontinuities rather than smooth scaling.

This patch addresses these problems by:

  • Fixing the wedge angle to a constant 16 segments per circle and keeping chart radii uniform so each spoke represents a consistent unit of work.
  • Filling chart rings sequentially, layering additional rings via overdraw with a slight angular offset so rendering cost continues to grow steadily.
  • Scoping background dimming and axis strokes to individual spokes to remove discontinuous work jumps when starting a new ring.

Currently the test's rendering workload grows non-linearly with
complexity. While the first 16 spokes add new shaded area and
full-sized map sprites, higher complexities crammed all spokes into
the same single ring by shrinking each wedge's angle. This causes
total shaded area to plateau and blurred sprite areas to shrink as
complexity increases.

Moreover, adding additional chart rings resizes existing rings and
redistributes spokes, causing sudden work discontinuities rather than
smooth scaling.

This patch addresses this problems by:
- Fixing the wedge angle to a constant 16 segments per circle and
keeping chart radii uniform so each spoke represents a consistent
unit of work.
- Filling chart rings sequentially, layering additional rings via
overdraw with a slight angular offset so rendering cost continues
to grow steadily.
- Scoping background dimming and axis strokes to individual spokes
to remove  discontinuous work jumps when starting a new ring.
@netlify

netlify Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for webkit-motionmark-preview ready!

Name Link
🔨 Latest commit 32206be
🔍 Latest deploy log https://app.netlify.com/projects/webkit-motionmark-preview/deploys/6abce6860dfc240008e01a5d
😎 Deploy Preview https://deploy-preview-124--webkit-motionmark-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@khokhlov962
khokhlov962 marked this pull request as draft September 30, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant