Skip to content
Snippets Groups Projects
Commit 36a88d9d authored by Heyd's avatar Heyd
Browse files

Modifications

parent 212b4590
No related merge requests found
File deleted
File added
...@@ -7,11 +7,11 @@ TAILLE=1000000 ...@@ -7,11 +7,11 @@ TAILLE=1000000
echo -e "Structure\tTest\tOperation\tnbOperation\tCPU\tMem" echo -e "Structure\tTest\tOperation\tnbOperation\tCPU\tMem"
for i in `seq $NTEST` for i in `seq $NTEST`
do do
nbOperation=`expr $i \* 500`; nbOperation=`expr $i \* 10`;
for type in "Tableau" "Array" "Linked" "Maillon" for type in "Tableau" "Array" "Linked" "Maillon"
do do
for operation in "Add" "Get" "RemoveTete" "RemoveMiddle" for operation in "AddTete" "AddQueue" "AddRandom" "Get" "RemoveTete" "RemoveMiddle" "RemoveQueue" "RemoveRandom"
do do
res=`(/usr/bin/time -f "%U\t%M" java -jar Main.jar $type $TAILLE $operation $nbOperation > /dev/null) 2>&1` res=`(/usr/bin/time -f "%U\t%M" java -jar Main.jar $type $TAILLE $operation $nbOperation > /dev/null) 2>&1`
echo -e "$type\t$i\t$operation\t$nbOperation\t$res" echo -e "$type\t$i\t$operation\t$nbOperation\t$res"
......
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