hound-search/hound

Search Performance and UX, feature request: results paging

Open

#394 aperta il 3 apr 2021

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)JavaScript (606 fork)batch import
enhancementhelp wantedneeds investigation

Metriche repository

Star
 (5470 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor