# perf\(web\): batch coverage geometry while retaining bucket observations · flambo/atlantis

[View on GitCafe](https://git.cafe/flambo/atlantis/commit/0bba362e7b7b50b0fed660e025233d20480951fc)

Repository: [flambo/atlantis](https://git.cafe/flambo/atlantis)

Visibility: public

Requested revision: 0bba362e7b7b50b0fed660e025233d20480951fc

Requested commit: 0bba362e7b7b50b0fed660e025233d20480951fc

Commit: 0bba362e7b7b50b0fed660e025233d20480951fc

Tree: 57fc72f4979c56d96577241f8071eae015a67bd9

Author: flamboh

Committer: flamboh

## Message

```
perf(web): batch coverage geometry while retaining bucket observations

Batch same-state lane rectangles only during SVG serialization. Retain native scene rectangle hit geometry, every original interval, ratio and interaction point; keep partial dash segments and transparent unknown observations. QA caught wide-interval hover loss when batching scene nodes; serialization-only batching fixes it and has near-boundary/interior regressions.

Checkpoint after label reuse: default all charts 2860.7 -> 2817.0 ms and heap 18.8 -> 18.7 MiB. Remove roughly 1185 SVG DOM coverage rectangles on the real default dashboard, retaining scene rectangles for hit testing. Unit and browser checks retain interval and coverage semantics; checkpoint timing has three-sample limits.

Checkpoint measurements above predate the final QA lifecycle/coverage fixes and are not isolated shipping effects. Combined shipping benchmark: 477.2/2934.3 ms default visible/all charts, 114 ms observed initial TBT, 18.2 MiB retained heap and 191.1 KiB gzip JS. Original baseline: 509.1/3258.9 ms, 130 ms, 18.3 MiB, 228.1 KiB. Layer 3: 569.3/4271.3 ms, 159 ms, 29.9 MiB, 202.4 KiB. Baseline dates, five API runs, three fresh contexts per page and one warmup; no concurrent QA/build/dev work. Shipping artifacts: /tmp/atlantis-frontend-overhaul/perf/layer4-shipping/results.json. Full gates pass with 220 web and 70 e2e tests.

```

## Parents

- [ec82c0b2b8f59aec6d9d8128c63ca3b9fa6430cd](https://git.cafe/flambo/atlantis/commit/ec82c0b2b8f59aec6d9d8128c63ca3b9fa6430cd?format=markdown)

[Source at this commit](https://git.cafe/flambo/atlantis/tree/0bba362e7b7b50b0fed660e025233d20480951fc?format=markdown)
