turbulent / substance

Local Docker-powered development environments
Apache License 2.0
18 stars 8 forks source link

Unox file watcher on OSX is slow #16

Closed bbeausej closed 5 years ago

bbeausej commented 6 years ago

The unox file watcher on OSX is extremely slow (4-5s per sync on a large repo). Initial investigation seems to link this performance points towards the Watchdog library. We did verify the watchdog top level is actually detecting and using the FSEvents observer.

Downgrading unox to a version that is using macfsevents directly shows major speed improvements (near instance detection).

https://raw.githubusercontent.com/hnsl/unox/d0049abffb0ee1e5ac1f8ad3ed2a1ff8b8149daa/unox.py

Must investigate further why the watchdog lib yields problematic results.

bbeausej commented 5 years ago

Fixed in #40