/demo/volume-line-work).
Press Run measurements for real UI-runtime Skia timings. Show raw samples
reveals every round. This deliberately blocks the UI briefly during measurement;
use the separate live QA demo to inspect animation.
The benchmark compares frozen code from 2a512fc with the production helpers:
- Sharp volume bars reuse one rectangle input per color batch.
- A cached historical maximum avoids rescanning the same visible candles.
The production hook depends on data notifications and primitive visible bounds;
same-length replacement and
.modify()both invalidate it. Live volume is folded in separately. - Lines and area fills share each segment’s slope, tangent and control-point math. Paths remain separate immutable outputs. Gaps, linear mode, and threshold closures keep their original behavior.