Author: tille
Date: Mon Jan 17 20:55:41 2011
New Revision: 2603

URL: http://svn.debian.org/wsvn/blends/?sc=1&rev=2603
Log:
Allow measuring time needed for updating one Blend

Modified:
    blends/trunk/webtools/update-all-tasks

Modified: blends/trunk/webtools/update-all-tasks
URL: 
http://svn.debian.org/wsvn/blends/blends/trunk/webtools/update-all-tasks?rev=2603&op=diff
==============================================================================
--- blends/trunk/webtools/update-all-tasks (original)
+++ blends/trunk/webtools/update-all-tasks Mon Jan 17 20:55:41 2011
@@ -57,7 +57,9 @@
 
 mkdir -p logs
 for blend in `ls webconf/*.conf | grep -v -e debug -e rest-test | sed 
's?webconf/\(.*\)\.conf?\1?'` ; do
-    # echo "Preparing tasks pages for blend '$blend'"
+    starttime=`date "+%s"`
     ./tasks.py $blend 2> logs/${blend}.err > logs/${blend}.out
+    endtime=`date "+%s"`
+    # echo "Rendering Blend '$blend' took $((endtime-starttime)) seconds"
 done
 


_______________________________________________
Blends-commit mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/blends-commit

Reply via email to