3 ms·
Great post! I wrote a (fast?) fsmonitor hook in Rust...benchmarked against the reference Perl implementation it's quite a bit faster. On a repo of 130k files,
by jgavris 6y ago
Great post!
I wrote a (fast?) fsmonitor hook in Rust...benchmarked against the reference Perl implementation it's quite a bit faster. On a repo of 130k files, my monitor is able to `git status` in 18 millseconds.
https://github.com/jgavris/rs-git-fsmonitor https://github.com/jgavris/rs-git-fsmonitor
- ublaze 6y agoWhich operating system are you using? That's impressive. More importantly, our hook doesn't support the new query version so we might want to switch.
- jgavris 6y agoI use macOS, but some folks have contributed a linux package / installer. And yeah, I added the v2 of the hook recently which is even faster!