summaryrefslogtreecommitdiff
path: root/build2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-24 21:01:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-24 21:01:37 +0200
commit0fbac643b4148fe0c7bcbcfe51cf5b231a242ad9 (patch)
tree27b7ca0ba41e8c04eb626bd4b57aec7bba3dcf49 /build2
parentd62f054acda327944fa01e72430a940684a60b6f (diff)
Add idea: Linux inotify(7) daemon to avoid stat() on rebuild
Diffstat (limited to 'build2')
-rw-r--r--build2/inotify-daemon5
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/inotify-daemon b/build2/inotify-daemon
new file mode 100644
index 0000000..37f7ca0
--- /dev/null
+++ b/build2/inotify-daemon
@@ -0,0 +1,5 @@
+- Linux inotify(7) daemon to avoid stat() on rebuild [idea]
+
+One way to avoid calling stat() on every target during a rebuild is to have a
+daemon (running between rebuilds) that uses inotify(7) API to track what has
+changed between rebuilds.