hound-search/hound

Search Performance and UX, feature request: results paging

Open

#394 建立於 2021年4月3日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)JavaScript (5,470 star) (606 fork)batch import
enhancementhelp wantedneeds investigation

描述

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

貢獻者指南