Each Sessions poll calls Watch twice, and each wait made a folder with
one file and then RemoveAll'd it, which looks, opens and lists the
folder first. On mote's real account profile, RemoveAll was half of
sync1's 0.16s over 40 polls. Now it removes the file, then the folder,
with RemoveAll kept only for when one of those fails.
Run (mica, darwin/cgo): gofmt -l internal/dirent (empty), go vet,
go test -count=3 ./internal/dirent ok. TestProbeLeavesNothing checks
that the probe's folder is empty after five Watch calls. A throwaway
benchmark of 1000 Watch calls, 3 runs each, user+sys: new 1.43/1.42/
1.48s, old (RemoveAll) 1.62/1.52/1.47s, about 5% less CPU per
Watch. Wall time is the FSEvents latency, ~12ms, the same on both.
Not tried: a new real-account poll profile on mote (load 77 at the
time).