4 ms·
Hound has made an interesting choice to not bound searches. https://codesearch.wmcloud.org/search/?q=test&files=&excludeFiles=&repos= https://codesearch.wmcloud
by isker 2y ago
Hound has made an interesting choice to not bound searches. https://codesearch.wmcloud.org/search/?q=test&files=&excludeFiles=&repos= https://codesearch.wmcloud.org/search/?q=test&files=&exclude... produces an ajax request that (for me) took 13s to produce a 55MB JSON response, and then takes many more seconds to render into the DOM.
Properly bounding search response sizes was one of the things I had to ensure Zoekt could do in its JSON APIs that I use in neogrok: https://github.com/sourcegraph/zoekt/pull/615 https://github.com/sourcegraph/zoekt/pull/615
- bawolff 2y agoYeah, i agree, that is weird. Especially if you search for something super common like "function" you basically DoS it.