Autocomplete suggestions fire within 300ms with relevant results
Why it matters
Autocomplete latency above 300ms breaks the perceptual contract users have with search — they stop trusting the suggestions and abandon the feature entirely. ISO 25010:2011 performance-efficiency frames this as a functional responsiveness requirement, not a nice-to-have. Directories that serve irrelevant or hardcoded suggestions compound the damage: users waste time selecting a suggestion that returns no matching listings, eroding confidence in the product. On mobile networks, where the autocomplete round-trip competes with elevated latency, a bloated debounce delay also hammers your backend with redundant queries on every keystroke, driving up infrastructure cost.
Severity rationale
High because autocomplete latency above 300ms measurably degrades engagement and causes users to abandon search before submitting a query.
Remediation
Add a debounced fetch in components/SearchInput.tsx capped at 300ms, querying your real listing index — not a static category list.
// components/SearchInput.tsx
useEffect(() => {
if (!query) return setSuggestions([])
const timer = setTimeout(async () => {
const res = await fetch(`/api/listings/search?q=${encodeURIComponent(query)}`)
const data = await res.json()
setSuggestions(data.results.slice(0, 5))
}, 250) // ≤300ms
return () => clearTimeout(timer)
}, [query])
Index the name and category columns in your listings table so the /api/listings/search handler returns in single-digit milliseconds under load.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Search & Discovery UX Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- iso-25010:2011 · performance-efficiency — Performance Efficiency — time behaviour
Taxons
History
- 2026-04-18·v1.0.0·Initial import from directory-search-discovery·automated