numeric

C++ library with numerical algorithms
git clone git://src.adamsgaard.dk/numeric # fast
git clone https://src.adamsgaard.dk/numeric.git # slow
Log | Files | Refs | README | LICENSE Back to index

plot.gp (1249B)


      1 set terminal pngcairo size 1200,600
      2 set output "performance.png"
      3 set xlabel "Matrix side length"
      4 set ylabel "Execution time [s]"
      5 set title "Matrix multiplication\n".platform.",".cpumodel.", ".threads." threads"
      6 set log xy
      7 set grid
      8 set key outside
      9 set label "http://github.com/anders-dc/numeric/" at screen 0.05,0.02
     10 plot \
     11          "lua-linarr.dat" title "Lua: Linear arrays" w lp, \
     12          "lua-arrofarrs.dat" title "Lua: Arrays of arrays" w lp, \
     13          "luajit-arrofarrs.dat" title "LuaJIT: Arrays of arrays" w lp, \
     14          "luajit-linarr.dat" title "LuaJIT: Linear arrays" w lp, \
     15          "c-arrofarrs.dat" title "C: Arrays of arrays" w lp, \
     16          "c-linarr.dat" title "C: Linear arrays" w lp, \
     17          "cpp-vectorofvectors.dat" title "C++: Vectors of vectors" w lp, \
     18          "cpp-linvectors.dat" title "C++: Linear vectors" w lp, \
     19          "c-omp-arrofarrs.dat" title "C-OpenMP: Arrays of arrays" w lp, \
     20          "c-omp-linarr.dat" title "C-OpenMP: Linear arrays" w lp, \
     21          "julia.dat" title "Julia" w lp, \
     22          "c-gsl-cblas.dat" title "C: GSL CBLAS" w lp, \
     23          "octave.dat" title "Octave" w lp, \
     24          "cpp-armadillo.dat" title "C++: Armadillo" w lp, \
     25          "cpp-eigen.dat" title "C++: Eigen3" w lp
     26