aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/multiplikation/images/meas_python.tex
blob: ee4db435b2f1614c4ec736b7f3e7f5d88ee50b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
\documentclass[border=10pt,varwidth]{standalone}
\usepackage[left=25mm,right=25mm,top=25mm,bottom=25mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{lipsum}
\usepackage{amscd}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{textcomp}
\usepackage{pgfplots}
\usepackage{txfonts}
\usepackage[all]{xy}
\usepackage{paralist}
\usepackage[colorlinks=true]{hyperref}
\usepackage{array}
\usepackage{tikz}
\usepackage{slashed}
\usepackage{pdfpages}
\usepackage{cite}
\usepackage{url}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{tikz}
\usepackage{pgfplotstable}
\usetikzlibrary{arrows,matrix,positioning}
\usetikzlibrary{overlay-beamer-styles}
\usetikzlibrary{matrix.skeleton}
\usetikzlibrary{automata,positioning}
\usetikzlibrary{decorations.text}
\usepackage{listings}
\usepackage{multirow}
\usepackage{color}

\begin{document}

\begin{tikzpicture}
\begin{axis}[
xmode=log, ymode=log,
xmin=30, xmax=1050,
ymin=0.01, ymax=900,
grid=both,
major grid style={black!50},
xlabel = data input ($n$),
ylabel = {time ($s$)},
legend pos=north west,
very thick,
scale only axis=true,
width=12cm, height=8cm,
       log basis x={10}
]
\addlegendentry{Winograd}
\addplot[    color=purple,
] coordinates {
% (2,   2.7895e-05 )
% (4,   0.000104904)
% (8,   0.000552893)
% (16,  0.0045557  )
(32,  0.0187144  )
(64,  0.153069   )
(128, 1.19476    )
(256, 8.29899    )
(512, 68.3699    )
(1024,537.374    )

};
\addlegendentry{Strassen}
\addplot [    color=black,
]coordinates {
  %  (2,2.09808e-05 )
  %  (4,0.000174284 )
  %  (8,0.000943899 )
  % (16,0.00475407  )
  (32,0.0485256   )
  (64,0.220414    )
 (128,1.44718    2 )
 (256,9.93866    0 )
 (512,63.961     2 )
(1024,461.494    2 )
};

\addlegendentry{MM div and conq}
\addplot[    color=green,
] coordinates {
  %  (2,8.10623e-06 )
  %  (4,9.01222e-05 )
  %  (8,0.000729084 )
  % (16,0.00497079  )
  (32,0.02719     )
  (64,0.26528     )
 (128,1.77787      )
 (256,13.27        )
 (512,105.397      )
(1024,847.321      )
};

\addlegendentry{MM}
\addplot [    color=red,
]coordinates {
  %  (2,1.85966e-05)
  %  (4,8.29697e-05 )
  %  (8,0.000547171)
  % (16,0.00305367   )
  (32,  0.0240743 )
  (64,  0.186895 )
 (128,  1.56369 )
 (256,  11.0062 )
 (512,   85.4768)
(1024,750.757 )
};
% \addlegendentry{NumPy}
% \addplot[    color=blue,
% ] coordinates {
%    (2,1.83582e-05 )
%    (4,7.86781e-06)
%    (8,1.00136e-05)
%   (16,5.4121e-05 )
%   (32,4.26769e-05)
%   (64,0.000118494)
%  (128,0.000244141 )
%  (256,0.000695705  )
%  (512,0.00221705   )
% (1024,0.0188088    )
% };
\end{axis}
\end{tikzpicture}

\end{document}