chore: Upgrade to fff 0.9 and reenable watcher#18332
Conversation
This PR updates fff to 0.9 and does a little bit of changes to the
daefult config: specifically enable indexing by default which is the
main reason fff is so fast, here is an example on the index directory
```sh
idx init .
timeit {idx search MAX_FILE_SIZE}
355ms 288ms 21ms
idx init . --no-content-indexing
timeit {idx search MAX_FILE_SIZE}
4s 874ms 113ms
```
I think if the user is starting the idx command they likely are ready
for an additional resources spent on storing the index
> you might be interesting in the upcoming persisted index mode that
does indexing but stores it in the memory mapped file and allowing to
restore it between the sessions
@fdncred this PR is simply enabling the watch mode and it just works, I
verified on macos and linux - I didn't face any issues
https://github.com/user-attachments/assets/5d890d7a-3c8a-4936-b094-057387f388ad
|
oh, hi @dmtrKovalenko! Nice to see you here. When I first wrote these commands, there was nothing I could do to get the watcher to work. Glad it's working now. I'll take a look at this soon. Appreciate the PR ❤️.
I kind of have some of that already with the |
|
I looked through it, fixed a test, and added a flag to import, hoping it works. Thanks for submitting this! I think it would be really cool to support import/export natively if you decide to go that way. Kind of wondering how my sqlite import/export will still work after that. |
|
Cool! Yes basically what I am working on right now is an ability to
|
|
Sounds very cool. Would be great to be able to persist to sqlite but I worry that it wouldn't be performant enough for your tools. |
## Description
This PR updates fff to 0.9 and does a little bit of changes to the
daefult config: specifically enable indexing by default which is the
main reason fff is so fast, here is an example on the index directory
```sh
idx init .
timeit {idx search MAX_FILE_SIZE}
355ms 288ms 21ms
idx init . --no-content-indexing
timeit {idx search MAX_FILE_SIZE}
4s 874ms 113ms
```
I think if the user is starting the idx command they likely are ready
for an additional resources spent on storing the index
> you might be interesting in the upcoming persisted index mode that
does indexing but stores it in the memory mapped file and allowing to
restore it between the sessions
@fdncred this PR is simply enabling the watch mode and it just works, I
verified on macos and linux - I didn't face any issues
https://github.com/user-attachments/assets/5d890d7a-3c8a-4936-b094-057387f388ad
---------
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
Description
This PR updates fff to 0.9 and does a little bit of changes to the daefult config: specifically enable indexing by default which is the main reason fff is so fast, here is an example on the index directory
I think if the user is starting the idx command they likely are ready for an additional resources spent on storing the index
@fdncred this PR is simply enabling the watch mode and it just works, I verified on macos and linux - I didn't face any issues
Screen.Recording.2026-06-02.at.21.33.29.mov