Commit 2d15c1d0 authored by GOSSA JULIEN's avatar GOSSA JULIEN
Browse files

résultats améliorés et README

parent 53d71a73
101/mem.png

13.4 KB

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
png("exectime.png")
ggplot(data=perf, aes(x=param,y=exectime)) + geom_point() + geom_smooth()
dev.off()
png("mem.png")
ggplot(data=perf, aes(x=param,y=mem)) + geom_point() + geom_smooth()
dev.off()
\ 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
18189000 1 1.98 72464
18189000 1 2.44 72436
18189000 1 2.76 72352
18189000 1 2.62 72428
21327000 2 2.69 84680
18189000 1 3.00 72428
21327000 2 3.44 84696
21327000 2 2.14 84612
21327000 2 2.96 84732
21327000 2 3.00 84720
6111000 3 0.58 25264
6111000 3 0.86 25256
6111000 3 0.85 25296
6111000 3 0.60 25248
6111000 3 0.86 25264
14261000 4 2.08 57076
14261000 4 1.90 57116
14261000 4 2.36 57128
14261000 4 2.34 57128
14261000 4 1.80 57076
27490000 5 4.40 108752
27490000 5 4.33 108804
27490000 5 3.76 108760
27490000 5 4.04 108756
29794000 6 3.52 117808
29794000 6 3.86 117756
27490000 5 4.01 108764
29794000 6 5.46 117784
29794000 6 5.47 117796
29794000 6 5.58 117756
30197000 7 5.59 119260
30197000 7 3.65 119364
30197000 7 4.15 119352
30197000 7 4.66 119360
20965000 8 2.62 83276
20965000 8 2.86 83192
30197000 7 4.21 119332
20965000 8 2.77 83296
20965000 8 2.80 83272
5152000 9 0.79 21496
5152000 9 0.92 21424
5152000 9 0.89 21504
5152000 9 0.96 21540
20965000 8 3.03 83316
5152000 9 0.92 21608
17517000 10 1.86 69840
17517000 10 2.17 69852
17517000 10 2.34 69796
17517000 10 2.07 69836
3550000 11 0.33 15276
3550000 11 0.63 15236
3550000 11 0.63 15288
3550000 11 0.62 15244
17517000 10 1.84 69800
3550000 11 0.66 15272
4084000 12 0.66 17332
4084000 12 0.77 17368
4084000 12 0.75 17324
4084000 12 0.51 17344
4084000 12 0.66 17332
31663000 13 4.53 125068
31663000 13 3.82 125084
31663000 13 3.96 125068
17412000 14 2.86 69428
31663000 13 3.83 125084
31663000 13 4.50 125164
17412000 14 2.18 69384
17412000 14 2.33 69428
17412000 14 1.68 69416
17412000 14 2.03 69440
27752000 15 4.63 109792
27752000 15 4.40 109816
27752000 15 4.58 109884
27752000 15 4.66 109776
12538000 16 1.26 50364
12538000 16 1.66 50356
27752000 15 4.14 109784
12538000 16 2.16 50380
12538000 16 2.17 50348
12538000 16 2.18 50364
29632000 17 2.92 117128
29632000 17 4.28 117048
29632000 17 4.53 117156
29632000 17 4.37 117152
17518000 18 2.89 69912
17518000 18 3.07 69728
29632000 17 4.83 117172
17518000 18 2.56 69808
17518000 18 2.74 69844
17518000 18 2.85 69808
17819000 19 2.08 70980
17819000 19 2.62 71028
17819000 19 2.71 71032
17819000 19 1.94 70992
17819000 19 2.55 71032
20450000 20 2.86 81288
20450000 20 3.13 81300
20450000 20 3.17 81284
20450000 20 3.24 81288
20450000 20 3.39 81276
10984000 21 1.10 44284
10984000 21 1.84 44328
10984000 21 1.91 44316
10984000 21 1.03 44332
10984000 21 2.02 44280
29734000 22 3.90 117536
29734000 22 3.84 117632
29734000 22 3.86 117556
29734000 22 4.19 117544
29734000 22 3.98 117544
31145000 23 3.80 123044
31145000 23 3.32 123064
31145000 23 4.45 123068
31145000 23 4.16 123144
31145000 23 3.09 123036
27323000 24 2.98 108152
27323000 24 3.88 108144
27323000 24 4.17 108100
27323000 24 4.16 108124
27323000 24 4.20 108136
12211000 25 1.32 49072
12211000 25 1.64 49124
12211000 25 1.78 49068
6873000 26 0.68 28228
12211000 25 1.67 49092
6873000 26 0.71 28268
12211000 25 1.79 49076
6873000 26 0.87 28328
6873000 26 0.94 28228
6873000 26 0.96 28256
7773000 27 0.84 31784
7773000 27 1.06 31732
7773000 27 1.27 31764
7773000 27 0.71 31736
7773000 27 0.82 31740
2210000 28 0.25 10056
2210000 28 0.36 10028
2210000 28 0.33 10008
2210000 28 0.40 10040
2210000 28 0.39 10060
20440000 29 2.96 81224
20440000 29 3.07 81220
20440000 29 2.89 81248
20440000 29 3.16 81256
6407000 30 0.59 26432
20440000 29 2.39 81140
6407000 30 0.78 26424
6407000 30 0.90 26396
6407000 30 0.98 26412
6407000 30 0.94 26404
22895000 31 3.51 90808
22895000 31 4.06 90812
22895000 31 3.56 90848
22895000 31 3.91 90804
18126000 32 2.95 72212
22895000 31 3.45 90820
18126000 32 2.70 72288
18126000 32 2.81 72212
10988000 33 1.99 44328
10988000 33 2.09 44300
18126000 32 3.24 72192
18126000 32 3.36 72184
10988000 33 1.53 44336
10988000 33 1.58 44332
10988000 33 1.48 44336
14742000 34 1.61 58964
14742000 34 2.04 58960
14742000 34 1.40 58960
14742000 34 1.98 58988
14742000 34 1.98 58960
5359000 35 0.57 22356
5359000 35 0.72 22416
5359000 35 0.76 22340
5359000 35 0.64 22348
5359000 35 0.70 22320
24017000 36 2.47 95204
24017000 36 3.16 95224
24017000 36 3.24 95224
24017000 36 3.26 95244
30194000 37 3.40 119320
24017000 36 3.92 95204
30194000 37 4.49 119372
30194000 37 3.53 119428
30194000 37 4.11 119324
30194000 37 4.34 119428
9632000 38 0.87 39032
9632000 38 0.97 39004
9632000 38 1.71 38996
9632000 38 1.72 39040
9632000 38 1.78 39008
29232000 39 4.93 115572
29232000 39 4.30 115564
29232000 39 4.59 115588
29232000 39 4.71 115600
24859000 40 3.01 98528
24859000 40 3.14 98520
29232000 39 4.90 115612
24859000 40 3.08 98480
24859000 40 3.12 98488
24859000 40 3.30 98492
28302000 41 3.54 112036
28302000 41 3.92 111964
28302000 41 4.32 111980
28302000 41 2.95 111976
28302000 41 3.81 111972
22622000 42 3.78 89780
22622000 42 3.08 89768
22622000 42 3.11 89760
22622000 42 3.10 89780
21476000 43 2.61 85284
22622000 42 2.84 89668
21476000 43 2.06 85268
21476000 43 2.96 85260
21476000 43 3.00 85260
16026000 44 1.69 63976
16026000 44 2.38 63904
21476000 43 2.75 85316
16026000 44 1.72 63904
16026000 44 1.88 63988
16026000 44 1.97 64004
11136000 45 1.83 44896
11136000 45 1.60 44916
11136000 45 1.73 44924
11136000 45 1.73 44984
4198000 46 0.47 17772
4198000 46 0.61 17820
11136000 45 1.22 44928
4198000 46 0.42 17824
4198000 46 0.62 17800
4198000 46 0.61 17792
21704000 47 2.70 86208
21704000 47 2.84 86264
21704000 47 3.33 86084
21704000 47 2.32 86196
21704000 47 2.69 86084
29419000 48 3.96 116312
29419000 48 3.58 116340
29419000 48 4.50 116320
29419000 48 4.66 116324
30628000 49 3.02 121028
29419000 48 4.48 116320
30628000 49 4.33 121120
30628000 49 3.67 121028
30628000 49 4.72 121056
30628000 49 3.82 121020
29872000 50 3.70 117988
29872000 50 4.04 118072
29872000 50 4.28 118064
29872000 50 2.70 118072
29872000 50 2.73 118112
#!/bin/bash
NB_TESTS=30
NB_THREADS=3
NB_TESTS=50
NB_TESTS2=5
echo -e "param\ttest\texectime\tmem"
RES=""
for test in `seq 1 $NB_TESTS`
do
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"
for test2 in `seq 1 $NB_TESTS2`
do
(
RES="$param\t$test\t"
RES="$RES`(/usr/bin/time -f "%U\t%M" ./recherche $param > /dev/null) 2>&1`"
echo -e "$RES"
) &
while [ `ps -A | grep -c recherche` -ge $NB_THREADS ]
do
sleep 1
done
done
done
# 101
Etude des performances du programme recherche.c
Son unique paramètre est la taille des données du programme, et les paramètres à explorer sont les temps d'exécution et la taille mémoire
## Résultats préliminaires
Pour 50 paramètres différents, testés 5 fois chacun.
![exectime](101/exectime.png)
![mem](101/mem.png)
\ No newline at end of file
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