Commit 2abeacc7 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add performances test to ckeck performances of generated proxy library

parent 26ad01c0
set terminal png notransparent crop enhanced size 800,600 font "arial,14"
set grid xtics ytics mytics
set key out vert center top
set logscale y
set xlabel "nb elements"
set ylabel "elapsed time per element [ns/el]"
set output "hadamardBaseElapsedTimeCyEl.png"
plot "perf_hadamard_product_O0.txt" using 1:2:($2-$4):($2+$4) title "perf hadamard product O0" with yerrorlines lw 2,"perf_hadamard_product_O1.txt" using 1:2:($2-$4):($2+$4) title "perf hadamard product O1" with yerrorlines lw 2,"perf_hadamard_product_O2.txt" using 1:2:($2-$4):($2+$4) title "perf hadamard product O2" with yerrorlines lw 2,"perf_hadamard_product_O3.txt" using 1:2:($2-$4):($2+$4) title "perf hadamard product O3" with yerrorlines lw 2,"perf_hadamard_product_Ofast.txt" using 1:2:($2-$4):($2+$4) title "perf hadamard product Ofast" with yerrorlines lw 2,
set xlabel "nb elements"
set ylabel "elapsed time [ns]"
set output "hadamardBaseElapsedTime.png"
plot "perf_hadamard_product_O0.txt" using 1:3:($3-$5):($3+$5) title "perf hadamard product O0" with yerrorlines lw 2,"perf_hadamard_product_O1.txt" using 1:3:($3-$5):($3+$5) title "perf hadamard product O1" with yerrorlines lw 2,"perf_hadamard_product_O2.txt" using 1:3:($3-$5):($3+$5) title "perf hadamard product O2" with yerrorlines lw 2,"perf_hadamard_product_O3.txt" using 1:3:($3-$5):($3+$5) title "perf hadamard product O3" with yerrorlines lw 2,"perf_hadamard_product_Ofast.txt" using 1:3:($3-$5):($3+$5) title "perf hadamard product Ofast" with yerrorlines lw 2,
set terminal png notransparent crop enhanced size 800,600 font "arial,14"
set grid xtics ytics mytics
set key out vert center top
set logscale y
set xlabel "nb elements"
set ylabel "elapsed time per element [ns/el]"
set output "hadamardProxyBaseElapsedTimeCyEl.png"
plot "perf_proxy_hadamard_product_O0.txt" using 1:2:($2-$4):($2+$4) title "perf proxy hadamard product O0" with yerrorlines lw 2,"perf_proxy_hadamard_product_O1.txt" using 1:2:($2-$4):($2+$4) title "perf proxy hadamard product O1" with yerrorlines lw 2,"perf_proxy_hadamard_product_O2.txt" using 1:2:($2-$4):($2+$4) title "perf proxy hadamard product O2" with yerrorlines lw 2,"perf_proxy_hadamard_product_O3.txt" using 1:2:($2-$4):($2+$4) title "perf proxy hadamard product O3" with yerrorlines lw 2,"perf_proxy_hadamard_product_Ofast.txt" using 1:2:($2-$4):($2+$4) title "perf proxy hadamard product Ofast" with yerrorlines lw 2,
set xlabel "nb elements"
set ylabel "elapsed time [ns]"
set output "hadamardProxyBaseElapsedTime.png"
plot "perf_proxy_hadamard_product_O0.txt" using 1:3:($3-$5):($3+$5) title "perf proxy hadamard product O0" with yerrorlines lw 2,"perf_proxy_hadamard_product_O1.txt" using 1:3:($3-$5):($3+$5) title "perf proxy hadamard product O1" with yerrorlines lw 2,"perf_proxy_hadamard_product_O2.txt" using 1:3:($3-$5):($3+$5) title "perf proxy hadamard product O2" with yerrorlines lw 2,"perf_proxy_hadamard_product_O3.txt" using 1:3:($3-$5):($3+$5) title "perf proxy hadamard product O3" with yerrorlines lw 2,"perf_proxy_hadamard_product_Ofast.txt" using 1:3:($3-$5):($3+$5) title "perf proxy hadamard product Ofast" with yerrorlines lw 2,
set terminal png notransparent crop enhanced size 800,600 font "arial,14"
set grid xtics ytics mytics
set key out vert center top
set logscale y
set xlabel "nb elements"
set ylabel "elapsed time per element [ns/el]"
set output "hadamardProxyVectorizeElapsedTimeCyEl.png"
plot "perf_proxy_hadamard_product_O3.txt" using 1:2:($2-$4):($2+$4) title "perf proxy hadamard product O3" with yerrorlines lw 2,"perf_proxy_hadamard_product_vectorize_O3.txt" using 1:2:($2-$4):($2+$4) title "perf proxy hadamard product vectorize O3" with yerrorlines lw 2,"perf_proxy_hadamard_product_vectorize_Ofast.txt" using 1:2:($2-$4):($2+$4) title "perf proxy hadamard product vectorize Ofast" with yerrorlines lw 2,
set xlabel "nb elements"
set ylabel "elapsed time [ns]"
set output "hadamardProxyVectorizeElapsedTime.png"
plot "perf_proxy_hadamard_product_O3.txt" using 1:3:($3-$5):($3+$5) title "perf proxy hadamard product O3" with yerrorlines lw 2,"perf_proxy_hadamard_product_vectorize_O3.txt" using 1:3:($3-$5):($3+$5) title "perf proxy hadamard product vectorize O3" with yerrorlines lw 2,"perf_proxy_hadamard_product_vectorize_Ofast.txt" using 1:3:($3-$5):($3+$5) title "perf proxy hadamard product vectorize Ofast" with yerrorlines lw 2,
set terminal png notransparent crop enhanced size 800,600 font "arial,14"
set grid xtics ytics mytics
set key out vert center top
set logscale y
set xlabel "nb elements"
set ylabel "elapsed time per element [ns/el]"
set output "hadamardVectorizeElapsedTimeCyEl.png"
plot "perf_hadamard_product_O3.txt" using 1:2:($2-$4):($2+$4) title "perf hadamard product O3" with yerrorlines lw 2,"perf_hadamard_product_vectorize_O3.txt" using 1:2:($2-$4):($2+$4) title "perf hadamard product vectorize O3" with yerrorlines lw 2,"perf_hadamard_product_vectorize_Ofast.txt" using 1:2:($2-$4):($2+$4) title "perf hadamard product vectorize Ofast" with yerrorlines lw 2,
set xlabel "nb elements"
set ylabel "elapsed time [ns]"
set output "hadamardVectorizeElapsedTime.png"
plot "perf_hadamard_product_O3.txt" using 1:3:($3-$5):($3+$5) title "perf hadamard product O3" with yerrorlines lw 2,"perf_hadamard_product_vectorize_O3.txt" using 1:3:($3-$5):($3+$5) title "perf hadamard product vectorize O3" with yerrorlines lw 2,"perf_hadamard_product_vectorize_Ofast.txt" using 1:3:($3-$5):($3+$5) title "perf hadamard product vectorize Ofast" with yerrorlines lw 2,
1000 11.3864 11386.4 0.0151962 15.1962
2000 11.6857 23371.4 0.00909895 18.1979
3000 11.5211 34563.2 0.026937 80.811
4000 11.5559 46223.5 0.0187733 75.0934
5000 11.6655 58327.3 0.00706841 35.342
10000 11.534 115340 0.00405252 40.5252
1000 1.91411 1914.11 0.00149351 1.49351
2000 1.89813 3796.26 0.00106568 2.13136
3000 1.94295 5828.86 0.00296779 8.90337
4000 2.10093 8403.72 0.0045964 18.3856
5000 2.10006 10500.3 0.00360812 18.0406
10000 2.10575 21057.5 0.00342371 34.2371
1000 1.9143 1914.3 0.00464135 4.64135
2000 1.89747 3794.93 0.0025224 5.0448
3000 1.93872 5816.17 0.00190115 5.70345
4000 2.10251 8410.05 0.0047147 18.8588
5000 2.1031 10515.5 0.00446798 22.3399
10000 2.10833 21083.3 0.00472059 47.2059
1000 0.645898 645.898 0.00804775 8.04775
2000 0.488416 976.832 0.00456297 9.12594
3000 0.673933 2021.8 0.0062328 18.6984
4000 0.744334 2977.33 0.00571638 22.8655
5000 0.7443 3721.5 0.00402376 20.1188
10000 0.755043 7550.43 0.00261045 26.1045
1000 0.643344 643.344 0.00758195 7.58195
2000 0.490351 980.702 0.00491731 9.83463
3000 0.684536 2053.61 0.00492954 14.7886
4000 0.747569 2990.27 0.00661639 26.4656
5000 0.742674 3713.37 0.00590243 29.5121
10000 0.748007 7480.07 0.00608921 60.8921
1000 0.347839 347.839 0.000301514 0.301514
2000 0.330929 661.857 0.000295744 0.591487
3000 0.440396 1321.19 0.00879103 26.3731
4000 0.505595 2022.38 0.0146045 58.4181
5000 0.487051 2435.25 0.00935738 46.7869
10000 0.625946 6259.46 0.0115406 115.406
1000 0.346415 346.415 0.000460353 0.460353
2000 0.329936 659.872 0.000249138 0.498276
3000 0.462322 1386.97 0.0140152 42.0457
4000 0.514689 2058.76 0.014458 57.8321
5000 0.497009 2485.04 0.0141089 70.5444
10000 0.536021 5360.21 0.00866269 86.6269
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