Commit 53d71a73 authored by GOSSA JULIEN's avatar GOSSA JULIEN
Browse files

résultats préliminaires

parent 1711178d
library(ggplot2)
perf <- read.table("perf.dat", header = TRUE)
ggplot(data=perf, aes(x=param,y=exectime)) + geom_point() + geom_smooth()
\ No newline at end of file
param test exectime mem
24781000 1 2.14 98180
16700000 2 1.46 66608
25672000 3 2.20 101692
18258000 4 1.56 72708
4050000 5 0.36 17232
24214000 6 2.01 95968
28426000 7 2.44 112340
31711000 8 2.66 125256
9789000 9 0.82 39652
32406000 10 2.75 127972
25011000 11 2.13 99108
13272000 12 1.13 53208
13041000 13 1.15 52328
28824000 14 2.43 113896
8251000 15 0.71 33656
410000 16 0.07 3016
23259000 17 1.99 92240
24983000 18 2.12 98960
13951000 19 1.24 55880
681000 20 0.10 4076
9793000 21 0.91 39676
10192000 22 0.88 41192
819000 23 0.07 4620
16519000 24 1.41 65948
29233000 25 2.50 115568
30113000 26 2.56 119016
14496000 27 1.34 57996
4920000 28 0.45 20604
28550000 29 2.38 112900
198000 30 0.04 2256
#!/bin/bash
NB_TESTS=10
PARAMS="10000 100000 1000000 10000000 100000000"
NB_TESTS=30
echo -e "param\ttest\texectime\tmem"
for param in $PARAMS
RES=""
for test in `seq 1 $NB_TESTS`
do
RES=""
for test in `seq 1 $NB_TESTS`
do
RES="$param\t$test\t"
RES="$RES`(/usr/bin/time -f "%U\t%M" ./recherche $param > /dev/null) 2>&1`"
echo -e "$RES"
done
done
\ No newline at end of file
param=${RANDOM}000
RES="$param\t$test\t"
RES="$RES`(/usr/bin/time -f "%U\t%M" ./recherche $param > /dev/null) 2>&1`"
echo -e "$RES"
done
Markdown is supported
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