You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think instead of busy-polling every second, the test daemon should listen to Pyinotify, http://trac.dbzteam.org/pyinotify. This is both more efficient and improves the response time to a change. When your tests take less than a second to run, an additional up-to-one-second delay is quite noticeable.
Of course, platform issues have to be considered here. As far as I can tell, the current walking algorithm is platform-independent. Therefore I would suggest to refactor the notification mechanism to a strategy pattern and use Inotify only on Linux.
The text was updated successfully, but these errors were encountered:
Watchdog could be used as well, it provides system dependent notifiers which inevitably boost performance. Tdaemon could be a simple wrapler around it with some fancy notification features based on exit status.
I think instead of busy-polling every second, the test daemon should listen to Pyinotify, http://trac.dbzteam.org/pyinotify. This is both more efficient and improves the response time to a change. When your tests take less than a second to run, an additional up-to-one-second delay is quite noticeable.
Of course, platform issues have to be considered here. As far as I can tell, the current walking algorithm is platform-independent. Therefore I would suggest to refactor the notification mechanism to a strategy pattern and use Inotify only on Linux.
The text was updated successfully, but these errors were encountered: