SMALL FOOTPRINT / MEASURED IN THE OPEN

More expression.
Less overhead.

4.9 kBCore + film grain · gzip
10.6 kBAll 25 effects · gzip
8.3 msMedian frame interval · M1 Pro
0Runtime dependencies

Selective imports. Reused video textures. At most two intermediate textures for a composition.

Chrome 156 · Apple M1 Pro · ten image/video runs, 120 sampled frames each. Frame intervals measure browser scheduling, not GPU execution. Results vary by device, resolution and effect.

Measure your device

REFERENCE RUN / NOVEMBER 9, 2026

Real compositions. Visible limits.

Apple M1 Pro, ANGLE Metal, Chrome 156 on macOS. Both sizes run on the same desktop hardware; the narrow render size is not a phone benchmark. One run per scenario, before and after optimization.

CompositionCSS size / DPRFrame interval p50 / p95CPU submit p95First frame
Film grain960 × 540 / 18.3 / 9.2 ms0.2 ms26.1 ms
Cinematic · 3 layers960 × 540 / 18.3 / 9.3 ms0.2 ms27.0 ms
Mixed · 6 layers960 × 540 / 18.3 / 9.3 ms0.2 ms34.3 ms
Tilt-shift960 × 540 / 18.3 / 9.3 ms0.2 ms19.6 ms
Video · 3 layers960 × 540 / 18.3 / 9.2 ms0.3 ms25.4 ms
Film grain390 × 480 / 1.58.3 / 9.1 ms0.2 ms19.5 ms
Cinematic · 3 layers390 × 480 / 1.58.3 / 8.9 ms0.2 ms26.1 ms
Mixed · 6 layers390 × 480 / 1.58.3 / 8.9 ms0.2 ms31.4 ms
Tilt-shift390 × 480 / 1.58.3 / 9.0 ms0.1 ms19.6 ms
Video · 3 layers390 × 480 / 1.58.3 / 8.9 ms0.3 ms18.4 ms
Methodology & interpretation

Each case decodes its source before mounting, warms up for 30 animation frames, then samples 120 requestAnimationFrame intervals. First-frame time includes renderer creation, shader compilation and scheduling, but excludes media download and decode. CPU submission measures JavaScript and WebGL calls, excluding asynchronous GPU work. Timing precision is browser-limited; tiny differences are not evidence of a speedup.

Frame intervals were similar before and after. These short runs do not measure sustained thermal performance, GPU completion, battery use or every device. Keep the tab visible; a visibility interruption invalidates the run. Reduced motion must be disabled to measure animation.

Sizes use esbuild 0.28.2, minified ESM targeting ES2020, tree shaking and gzip level 9. Decimal kB (1,000 bytes); excludes sample media and playground UI. Reproduce with npm ci && npm run measure:size.

Baseline data · Optimized data · Exact bundle sizes · Benchmark source

Less work for each frame.

50% less intermediate memory

A two-layer composition now needs one RGBA8 target instead of two. At 960 × 540, that saves 2.07 MB. Three or more layers reuse two targets. This excludes source textures, canvas and driver overhead.

Allocate once. Update in place.

Video textures reuse storage until source dimensions change. Both reference video runs used one source storage allocation. Subsequent uploads update that storage in place.

Simple by design

One active-layer list per draw. No runtime dependencies. Hidden and offscreen canvases stop rendering; the native image or video stays available if WebGL fails.

YOUR DEVICE / YOUR RESULTS

Put it to the test.

Ten runs at two render sizes. Keep this tab visible. Results stay in this page and are not sent to a server.

Ready

Your raw results
No measurements yet.