hound-search/hound

Search Performance and UX, feature request: results paging

Open

#394 opened on Apr 3, 2021

View on GitHub
 (1 comment) (1 reaction) (0 assignees)JavaScript (606 forks)batch import
enhancementhelp wantedneeds investigation

Repository metrics

Stars
 (5,470 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I have about 900 repos ( ~1M LoC ) indexed. Search performance is very variable. It feels fairly snappy when searching for larger specific strings with fewer matches; but is extremely slow for generic small snippet searches with lots of hits.

for example searching for foo in my setup returns 131,549ms total / 4,739ms server / 3477 files The actual server side search is an impressive 4 seconds, but I see a spinner on the UI until the entire 154 MB of search results are transferred back - well over 2 mins! And then there's the bogged down browser from displaying all the results at once.

Paging and/or lazy loading would go a long way in improving user experience and perceived performance

Contributor guide