Author: tchemit Date: 2009-01-21 02:20:20 +0000 (Wed, 21 Jan 2009) New Revision: 1543 Removed: branches/migration-200901/simexplorer-is/simexplorer-is-swing/i18n-benchmark.sh Log: suppression beanchmark i18n (le mode utilis?\195?\169 n'existe plus dans la derni?\195?\168re version du plugin i18n) Deleted: branches/migration-200901/simexplorer-is/simexplorer-is-swing/i18n-benchmark.sh =================================================================== --- branches/migration-200901/simexplorer-is/simexplorer-is-swing/i18n-benchmark.sh 2009-01-21 02:16:11 UTC (rev 1542) +++ branches/migration-200901/simexplorer-is/simexplorer-is-swing/i18n-benchmark.sh 2009-01-21 02:20:20 UTC (rev 1543) @@ -1,64 +0,0 @@ -#!/bin/bash - - - -function try() { - sleep 2 - _try "mvn -o $mvnCommand" "0" $1 - _try "mvn -o $mvnCommand -Di18n.detectea=true" "1" $1 - _try "mvn -o $mvnCommand -Di18n.ea=true" "2" $1 -} - -function try1() { - sleep 2 - _try "mvn -o $mvnCommand -Di18n.detectea=true" "3" $1 - _try "mvn -o $mvnCommand -Di18n.ea=true" "4" $1 - _try "mvn -o $mvnCommand" "5" $1 - -} - -function _try() { - i=1 - _command=$1 - echo "--------------------------------------------------------------------------------" - echo "[INFO] start $_command " - while [ $i -le $3 ]; do - filter "$_command" "$2-$i" - i=$(($i + 1)) - done -} -function filter() { - _command=$1 - _file=/tmp/i18n-benchmark-$2.log - _realCommand="$_command | grep -v bundle | grep -v xecut | grep -v i18n:ge > $_file" - echo "[INFO] round $2 in $_file" - echo "[INFO] $_command round $2 in $_file" >> $result - - eval $_realCommand - grep -e "i18n." $_file| grep -v parse >> $result - if [ `grep -e "BUILD SUC" $_file | wc -l ` != 1 ]; then - echo "error!" - cat $result - exit 1 - fi - grep BUILD $_file >> $result - grep second $_file - grep second $_file >> $result - grep Memor $_file >> $result - echo "--------------------------------------------------------------------------------" >> $result -# sleep 5 -} - -result=$0.log - -mvnCommand="clean install" -try 1 - -mvnCommand="install" -try 1 - -mvnCommand="clean install" -try1 1 - -mvnCommand="install" -try1 1