Large-dataset filter performance and responsiveness
Sets measurable performance budgets for client-side filtering. Requirements include incremental re-filtering when one condition is narrowed, chunked evaluation that keeps input responsive, and a visible progress state. The demo verifies the budgets live.
Planned. This page shows the specification from issue #188. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
1,000,000 generated rows with chunked evaluation. A performance HUD shows the last filter duration and the longest main-thread block.
Expected behavior
In chunked mode, no main-thread block exceeds the budget and a progress bar appears for long runs. Appending characters to a contains filter re-filters only the currently visible subset when incremental narrowing is on.
Planned API surface
filterEvaluation ('sync' | 'chunked' | 'worker')filterChunkSizeonFilterProgressgetLastFilterTiming()Acceptance criteria
- At 100k rows with a single text filter, filtering completes within the documented budget on the reference device profile. (pending)
- In chunked mode, no single main-thread task exceeds the documented maximum block. (pending)
- Incremental narrowing produces results identical to a full re-evaluation. (pending)
- A new filter change cancels an in-progress chunked evaluation. (pending)
- getLastFilterTiming reports the total duration, the longest block and the rows evaluated. (pending)