Author: stefan2
Date: Sat May  7 23:20:25 2011
New Revision: 1100658

URL: http://svn.apache.org/viewvc?rev=1100658&view=rev
Log:
* tools/dev/benchmarks/large_dirs/create_bigdir.sh
  Fix valgrind parameters for the "delete 1 file" case.

Modified:
    subversion/trunk/tools/dev/benchmarks/large_dirs/create_bigdir.sh

Modified: subversion/trunk/tools/dev/benchmarks/large_dirs/create_bigdir.sh
URL: 
http://svn.apache.org/viewvc/subversion/trunk/tools/dev/benchmarks/large_dirs/create_bigdir.sh?rev=1100658&r1=1100657&r2=1100658&view=diff
==============================================================================
--- subversion/trunk/tools/dev/benchmarks/large_dirs/create_bigdir.sh (original)
+++ subversion/trunk/tools/dev/benchmarks/large_dirs/create_bigdir.sh Sat May  
7 23:20:25 2011
@@ -108,6 +108,14 @@ run_svn() {
   fi
 }
 
+run_svn_del() {
+  if [ "${VALGRIND}" == "" ] ; then
+    time ${SVN} del $WC/${1}_c/$2 -q > /dev/null
+  else
+    ${VALGRIND} ${VG_OUTFILE}="${VG_TOOL}.out.del.$1" ${SVN} del $WC/${1}_c/$2 
-q > /dev/null
+  fi
+}
+
 run_svn_ci() {
   if [ "${VALGRIND}" == "" ] ; then
     time ${SVN} ci $WC/$1 -m "" -q > /dev/null
@@ -165,7 +173,7 @@ while [ $FILECOUNT -lt $MAXCOUNT ]; do
   run_svn_ci ${FILECOUNT}_c copy
 
   echo -ne "\tDelete 1 file ...  \t"
-  run_svn del ${FILECOUNT}_c/1 -q
+  run_svn_del ${FILECOUNT} 1
 
   echo -ne "\tDeleting files ... \t"
   time (


Reply via email to