Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
Tableau
Taille, CPU, Mem
100, 0.03, 27576
1000, 0.06, 27592
10000, 0.04, 28100
100000, 0.06, 30216
1000000, 0.09, 48400
10000000, 0.90, 310548
100000000, 14.26, 2427740
Array
Taille, CPU, Mem
100, 0.03, 27588
1000, 0.03, 27632
10000, 0.03, 28288
100000, 0.06, 31348
1000000, 0.14, 59088
10000000, 1.73, 369432
100000000, 21.17, 2843616
Linked
Taille, CPU, Mem
100, 0.03, 27604
1000, 0.04, 27676
10000, 0.06, 28336
100000, 0.06, 32424
1000000, 0.40, 94300
10000000, 4.76, 524520
100000000, 68.70, 4308476
##!/usr/bin/env bash
NTEST=3
TAILLES="100 1000 10000 100000 1000000 10000000 100000000"
echo "Taille, CPU, Mem"
for taille in $TAILLES
do
for i in `seq $NTEST`
do
res=`time "%U, %M" ./Main $taille > /dev/null`
echo "$taille, $req"
done
done
#!/usr/bin/env bash
TAILLE="1000000 2000000 3000000 4000000 5000000 6000000 7000000 8000000 9000000 10000000 11000000 1200000"
NTEST=20
echo "Taille, CPU, Mem"
for i in `seq $NTEST`
res=`(/usr/bin/time -f "%U, %M" java -jar Main.jar "Linked" $nombre > /dev/null) 2>&1`
echo "$taille, $res"
done