.agents/skills/performance/rules/cohort-segmentation.md
Use this when "large document" or "big surface" is treated as one bucket.
Segment by size and complexity before choosing tactics.
Baseline Slate cohorts:
| Cohort | Examples | Default stance |
|---|---|---|
| normal | 0-500 blocks, low decorations | optimize the repeated unit |
| medium | 500-2000 blocks | DOM-present, strict budgets |
| large | 2000-10000 blocks | DOM-present grouping, staged work, native behavior guarded |
| stress | 10000-50000 blocks | explicit degradation candidates |
| pathological | custom renderers, comments, annotations, nested hidden ranges | complexity-tagged, not hidden inside block count |
Every perf claim names the cohort it covers. No "fast for large docs" without a size and complexity tag.