Skip to content

perf: cap mobile field pixel density - #7

Merged
parvbansal11 merged 1 commit into
mainfrom
perf/cap-mobile-field-dpr
Aug 4, 2026
Merged

perf: cap mobile field pixel density#7
parvbansal11 merged 1 commit into
mainfrom
perf/cap-mobile-field-dpr

Conversation

@parvbansal11

Copy link
Copy Markdown
Member

Summary

  • cap the coarse-pointer mobile field at CSS-pixel resolution
  • reduce canvas allocation without changing geometry, layout, or touch behavior
  • keep desktop rendering at up to 2x DPR

Verification

  • three consecutive local mobile Lighthouse runs: zero long tasks, 0 ms total blocking time, CLS 0
  • inspected 320 px dark and 390 px light screenshots
  • Playwright main-flow audit across light, dark, mobile, tablet, desktop, and reduced motion
  • python3 scripts/check_text.py
  • python3 scripts/check_site.py
  • python3 scripts/check_core_sync.py ../graphabi

@parvbansal11
parvbansal11 merged commit 3eaef34 into main Aug 4, 2026
1 check passed
@parvbansal11
parvbansal11 deleted the perf/cap-mobile-field-dpr branch August 4, 2026 20:02
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