Commit 06bcd29e authored by ARDUIN PAUL's avatar ARDUIN PAUL
Browse files

Ajout des scripts finaux

parent c8b1ff11
#!/bin/bash
TAILLE_TAB="100000000 1000000000"
NB_TESTS=5
echo "taille\ttest\texectime\tmem"
TAILLE_TAB="100000000 150000000 200000000 250000000"
NB_TESTS1=5
NB_TESTS0=5
echo -e "taille\ttest\texectime\tmem"
RES=""
for tab in $TAILLE_TAB
do
RES=""
for tests in `seq 1 $NB_TESTS`
for tests0 in `seq 1 $NB_TESTS0`
do
RES="$tab\t$tests"
RES="$RES`(/usr/bin/time -f "%U\t%M" mono progHash.exe 1 $tab > /dev/null) 2>&1`"
echo -e $RES
done
for tests in `seq 1 $NB_TESTS1`
do
RES="$tab\t$tests\t"
RES="$RES`(/usr/bin/time -f "%U\t\t%M" mono progHash.exe $tests0 $tab 42763 > /dev/null) 2>&1`\t"
echo "$RES"
done
done
done
#!/bin/bash
TAILLE_LIST="100000000 1000000000"
NB_TESTS=5
TAILLE_TAB="100000000 150000000 200000000 250000000"
NB_TESTS1=5
NB_TESTS0=5
echo -e "taille\ttest\texectime\tmem"
for list in $TAILLE_LIST
RES=""
for tab in $TAILLE_TAB
do
RES=""
for tests in `seq 1 $NB_TESTS`
for tests0 in `seq 1 $NB_TESTS0`
do
RES="$list\t$tests\t"
RES="$RES`(/usr/bin/time -f "%U\t%M" ./progList $list > /dev/null) 2>&1`"
echo -e $RES
done
for tests in `seq 1 $NB_TESTS1`
do
RES="$tab\t$tests\t"
RES="$RES`(/usr/bin/time -f "%U\t\t%M" mono progList.exe $tests0 $tab 42763 > /dev/null) 2>&1`\t"
echo "$RES"
done
done
done
#!/bin/bash
TAILLE_TAB="100000000 1000000000"
NB_TESTS1=3
NB_TESTS2=5
TAILLE_TAB="100000000 150000000 200000000 250000000"
NB_TESTS1=5
NB_TESTS0=5
echo -e "taille\ttest\texectime\tmem"
RES=""
for tab in $TAILLE_TAB
do
for tests in `seq 1 $NB_TESTS1`
for tests0 in `seq 1 $NB_TESTS0`
do
RES="$tab\t$tests\t"
RES="$RES`(/usr/bin/time -f "%U\t\t%M" mono progTab.exe 1 $tab > /dev/null) 2>&1`\t"
echo "$RES"
done
for tests in `seq 1 $NB_TESTS1`
do
RES="$tab\t$tests\t"
RES="$RES`(/usr/bin/time -f "%U\t\t%M" mono progTab.exe $tests0 $tab 42763 > /dev/null) 2>&1`\t"
echo "$RES"
done
done
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment