Performance Limits and Guardrails
Documents and enforces configurable limits: maximum pivot result columns, maximum distinct keys per column field, maximum source rows for client-side pivot, and visualization render caps. When a limit is exceeded, a clear message and an event replace silent degradation. Published benchmark figures show what the grid can handle.
Planned. This page shows the specification from issue #198. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Dataset size selector set to 100k rows, with a stats panel showing rows, groups, result columns and the last recompute time.
Expected behavior
Exceeding a limit blocks or truncates the result according to the setting, shows a message, and fires the event. The stats panel shows timings that can be compared with the published benchmark table.
Planned API surface
pivot.limits.maxResultColumnspivot.limits.maxDistinctKeyspivot.limits.maxSourceRowspivot.limits.onExceedonPivotLimitExceededgetPivotStats()Acceptance criteria
- The cardinality check runs before the full aggregation, so the user gets fast feedback (measured). (pending)
- onPivotLimitExceeded includes the limit name, actual value and threshold. (pending)
- getPivotStats() returns row count, group count, result column count and timings. (pending)
- The docs publish benchmark methodology and results per dataset size, reproducible via a script specification. (pending)