Re:Show HN: Fast `git status` (git core.fsmonitor in Rust)
by jgavris on Wednesday May 30, 2018 @10:51PM
(#17193598)
In my benchmarks it's about twice as fast as the reference Perl script monitor. Also just a quick exploration for me into Rust.
https://github.com/git/git/blob/v2.16.0/templates/hooks--fsm...
Re:Show HN: Fast `git status` (git core.fsmonitor in Rust)
by glandium on Thursday May 31, 2018 @01:00AM
(#17194068)
You should make it clearer that the benchmark is perl fsmonitor vs. rust fsmonitor. Without reading the comments here, I would have thought it was without fsmonitor vs. with.
Re:Show HN: Fast `git status` (git core.fsmonitor in Rust)
by jgavris on Thursday May 31, 2018 @02:29PM
(#17198791)
Good suggestion! Without the fsmonitor enabled at all that looks more like 400ms on my iMac Pro.
Re:Show HN: Fast `git status` (git core.fsmonitor in Rust)
by bluejekyll on Wednesday May 30, 2018 @10:57PM
(#17193622)
Thanks for the link. Yes, that makes sense. Itβs also less code. :)
Edit: well, maybe just fewer comments... ha
This appears to mainly be a lightweight wrapper of watchman.