Replies: 1 comment 1 reply
-
I never collected or published actual benchmark numbers, because every time I ever stress-tested another fuzzy finder by pointing it a very large monorepo it was obviously slower. People would say "X is fast", but that just shows to me that they are using it on a smaller repo than the kind I work in. If that's their use case, then fine, they can use whatever they want. 😁 Instead, I focused on benchmarking Command-T against itself, so I could measure improvements over time. You can see this in my commit messages, where I paste the results of running
Having said that, I wouldn't be averse to publishing results compared to other fuzzy finders if I could figure out a way to do it reliably and without too much maintenance. FWIW, I wasn't aware of dmtrKovalenko/fff.nvim but I had heard of the fuzzy matcher it's using, saghen/frizbee, which is notable because it does truly fuzzy (ie. typo-resistant) matching, uses SIMD to go fast, and is written in Rust. Having not used it myself, I would expect that it is probably not as fast as Command-T because it is not an apples-to-apples comparison: it is solving a different problem (ie. typo-resistant matching). I am curious to know how it performs though, so I did a
So I gather it relies on unstable Rust features that require a nightly Rust... Temporarily installed that now and got a working build, but then I face this:
when trying to run
And finally I can try it and the verdict is... noticeably laggy compared to Command-T, at least in the repo I'm testing this in (150K files). This is a proprietary repo though, so I can't share a video of it, so let me clone something big and record a quick screencast... Linux has only 85K files in it, so let's go with Chromium instead (470K files). In the following screen recordings, I am using fff.nvim in the top split, and Command-T in the bottom one. Scanning (ie. opening Neovim and opening the fuzzy finder)Gr7nby3T.mp4Holding down
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I could have sworn there was some sort of benchmarking vs other plugins at some point in that past?
Lately fff.nvim has popped up (making pretty bold claims imo) and I'd be interested in how it stacks up given how greenfield it is.
Beta Was this translation helpful? Give feedback.
All reactions