Performance
Performance is a product feature. K-Web should feel instant.
Budgets (initial)
- Hover preview response: under 50ms in typical cases
- Selection commit: under 150ms
- Initial load (demo web): under 2s on a mid phone connection
- Graph render: stable 60fps while panning in small graphs
Strategies
- Precompute neighbor lists and time buckets.
- Avoid full re-renders on hover, update only what changed.
- Prefer incremental layout updates.
- Keep DOM small, virtualize lists.
Definition of done (perf)
- [ ] No obvious jank in hover and click.
- [ ] Basic profiling notes exist for the graph view.
✒️
edit (requires access)