Skip to content

Reduce Apple chart rendering work with vectorized plots - #19

Closed
AlexSchmidt1999 wants to merge 1 commit into
codex/training-widget-responsefrom
codex/apple-chart-performance
Closed

AlexSchmidt1999 wants to merge 1 commit into
codex/training-widget-responsefrom
codex/apple-chart-performance

Conversation

@AlexSchmidt1999

Copy link
Copy Markdown
Owner

Today and Trends build a line and area mark for every plotted point. Use Apple's vectorized LinePlot/AreaPlot for the same collections on iOS 18+ and macOS 15+, preserving the existing mark path on older systems. Samples, segment boundaries, scales, gradients, annotations, selection, zoom and accessibility remain in place; bars are unchanged.

Validation: both Apple app targets compile; 133 design tests pass (one existing English-only word test excluded on the German host). Eleven native comparisons against the previous production charts preserve rendering, including gaps and HR annotations. Local synthetic chart render medians fall from 6.39 to 4.85 ms (288-point Trends) and 6.38 to 4.67 ms (288-point Overview HR). These are macOS rendering measurements, not an iPhone scroll benchmark. Details and limits are in docs/FORK_CHART_PERFORMANCE.md. Raw device traces remain local.

Fork-only testing; no upstream PR or release. Apple-only as requested.

@AlexSchmidt1999

Copy link
Copy Markdown
Owner Author

Closing this older fork test PR. Its full head (88e38f7761c9) is included in the combined test branch. New test-version work continues in #28. The branch and commits are kept.

The relevant changes are now submitted for upstream review in #2762.

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.

2 participants