Jean Fromentin 1 gadu atpakaļ
vecāks
revīzija
aa1a44de56
2 mainītis faili ar 21 papildinājumiem un 0 dzēšanām
  1. 21 0
      filter.py
  2. BIN
      perf.data

+ 21 - 0
filter.py

@@ -0,0 +1,21 @@
+import os
+import sys
+
+if __name__=="__main__":
+     todo=os.listdir("todo")
+    print("=> Filter <=")
+    print("in :",len(todo))
+    todo_flat=' '.join(todo)
+    cmd="parallel ./run_walk ::: "+todo_flat+" ::: 30 > /dev/null"
+    os.system(cmd)
+    todo2=os.listdir("todo")
+    rem=set(todo).intersection(todo2)
+    print("rem :",len(rem))
+    print("done :",len(todo)-len(rem))
+    print("new :",len(todo2)-len(rem))
+
+
+    
+    
+    
+    

BIN
perf.data