blob: 8bb990f8fee740d53638d1be4974990d915442fa [file] [log] [blame]
Chris Lattnerc75b14e2003-08-18 20:07:54 +00001set terminal png
2
3##------- Plot small Date vs LOC ----
4set output "running_loc.png"
Chris Lattner75dd3e52003-11-08 20:33:04 +00005set xlabel "Date"
6set ylabel "Lines of Code"
Chris Lattnerc75b14e2003-08-18 20:07:54 +00007set xdata time
8set timefmt "%Y-%m-%d:"
Chris Lattnerfdaac9e2003-08-20 15:33:33 +00009set format x "%b %d, %Y"
Chris Lattnerc75b14e2003-08-18 20:07:54 +000010
11## Various labels for the graph
Chris Lattnerf959c332003-08-23 23:16:37 +000012set label "Reoptimizer\n checkins" at "2003-02-18:", 114000
13set label "Modulo Sched\n checkin" at "2003-03-28:", 119500
14set label "Reoptimizer\n checkins" at "2003-06-01:", 134000
Chris Lattnereac3cdc2003-08-21 15:55:26 +000015set label "'dummy'\nfunction" at "2003-07-20:", 150000
Chris Lattnerf959c332003-08-23 23:16:37 +000016set label "Reoptimizer\n removal" at "2003-08-10:", 132000
Chris Lattnerf789d402004-01-07 18:33:14 +000017set label "llvm-db\ncheckin" at "2004-01-04:", 145000
Chris Lattnere9f66b92004-02-18 20:27:06 +000018set label "llvm/projects" at "2004-01-04:", 151000
Chris Lattnerc75b14e2003-08-18 20:07:54 +000019
Chris Lattner8ab0a012003-08-19 14:27:44 +000020set size .75,.75
Chris Lattner75dd3e52003-11-08 20:33:04 +000021plot "running_loc.txt" using 1:2 title '' with lines, \
Chris Lattnerc75b14e2003-08-18 20:07:54 +000022 "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
23
24##------- Plot large Date vs LOC ----
25set size 1.5,1.5
26set output "running_loc_large.png"
27plot "running_loc.txt" using 1:2 title '', \
28 "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
29
30
31# Delete all labels...
32set nolabel
33
Chris Lattner75dd3e52003-11-08 20:33:04 +000034##------- Olden CBE performance ----
Chris Lattnerc75b14e2003-08-18 20:07:54 +000035
Chris Lattner75dd3e52003-11-08 20:33:04 +000036set size .75,.75
37set output "running_Olden_cbe_time.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +000038set ylabel "CBE compiled execution time (s)"
Chris Lattner75dd3e52003-11-08 20:33:04 +000039plot "running_Olden_cbe_time.txt" u 1:2 t '' with lines, \
40 "running_Olden_cbe_time.txt" u 1:2 t "bh" with lines, \
41 "running_Olden_cbe_time.txt" u 1:3 t "bisort" with lines, \
42 "running_Olden_cbe_time.txt" u 1:4 t "em3d" with lines, \
43 "running_Olden_cbe_time.txt" u 1:5 t "health" with lines, \
44 "running_Olden_cbe_time.txt" u 1:6 t "mst" with lines, \
45 "running_Olden_cbe_time.txt" u 1:7 t "perimeter" with lines, \
46 "running_Olden_cbe_time.txt" u 1:8 t "power" with lines, \
47 "running_Olden_cbe_time.txt" u 1:9 t "treeadd" with lines, \
48 "running_Olden_cbe_time.txt" u 1:10 t "tsp" with lines, \
49 "running_Olden_cbe_time.txt" u 1:11 t "voronoi" \
50 with lines
51
52set size 1.5,1.5
53set output "running_Olden_cbe_time_large.png"
54plot "running_Olden_cbe_time.txt" u 1:2 t '' with lines, \
55 "running_Olden_cbe_time.txt" u 1:2 t "bh" with lines, \
56 "running_Olden_cbe_time.txt" u 1:3 t "bisort" with lines, \
57 "running_Olden_cbe_time.txt" u 1:4 t "em3d" with lines, \
58 "running_Olden_cbe_time.txt" u 1:5 t "health" with lines, \
59 "running_Olden_cbe_time.txt" u 1:6 t "mst" with lines, \
60 "running_Olden_cbe_time.txt" u 1:7 t "perimeter" with lines, \
61 "running_Olden_cbe_time.txt" u 1:8 t "power" with lines, \
62 "running_Olden_cbe_time.txt" u 1:9 t "treeadd" with lines, \
63 "running_Olden_cbe_time.txt" u 1:10 t "tsp" with lines, \
64 "running_Olden_cbe_time.txt" u 1:11 t "voronoi" \
65 with lines
66
67##------- Olden JIT performance ----
68
69set size .75,.75
70set output "running_Olden_jit_time.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +000071set ylabel "JIT execution time (s)"
Chris Lattner75dd3e52003-11-08 20:33:04 +000072plot "running_Olden_jit_time.txt" u 1:2 t '' with lines, \
73 "running_Olden_jit_time.txt" u 1:2 t "bh" with lines, \
74 "running_Olden_jit_time.txt" u 1:3 t "bisort" with lines, \
75 "running_Olden_jit_time.txt" u 1:4 t "em3d" with lines, \
76 "running_Olden_jit_time.txt" u 1:5 t "health" with lines, \
77 "running_Olden_jit_time.txt" u 1:6 t "mst" with lines, \
78 "running_Olden_jit_time.txt" u 1:7 t "perimeter" with lines, \
79 "running_Olden_jit_time.txt" u 1:8 t "power" with lines, \
80 "running_Olden_jit_time.txt" u 1:9 t "treeadd" with lines, \
81 "running_Olden_jit_time.txt" u 1:10 t "tsp" with lines, \
82 "running_Olden_jit_time.txt" u 1:11 t "voronoi" \
83 with lines
84
85set size 1.5,1.5
86set output "running_Olden_jit_time_large.png"
87plot "running_Olden_jit_time.txt" u 1:2 t '' with lines, \
88 "running_Olden_jit_time.txt" u 1:2 t "bh" with lines, \
89 "running_Olden_jit_time.txt" u 1:3 t "bisort" with lines, \
90 "running_Olden_jit_time.txt" u 1:4 t "em3d" with lines, \
91 "running_Olden_jit_time.txt" u 1:5 t "health" with lines, \
92 "running_Olden_jit_time.txt" u 1:6 t "mst" with lines, \
93 "running_Olden_jit_time.txt" u 1:7 t "perimeter" with lines, \
94 "running_Olden_jit_time.txt" u 1:8 t "power" with lines, \
95 "running_Olden_jit_time.txt" u 1:9 t "treeadd" with lines, \
96 "running_Olden_jit_time.txt" u 1:10 t "tsp" with lines, \
97 "running_Olden_jit_time.txt" u 1:11 t "voronoi" \
98 with lines
99
100##------- Olden LLC performance ----
101
102set size .75,.75
103set output "running_Olden_llc_time.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +0000104set ylabel "LLC compiled execution time (s)"
Chris Lattner75dd3e52003-11-08 20:33:04 +0000105plot "running_Olden_llc_time.txt" u 1:2 t '' with lines, \
106 "running_Olden_llc_time.txt" u 1:2 t "bh" with lines, \
107 "running_Olden_llc_time.txt" u 1:3 t "bisort" with lines, \
108 "running_Olden_llc_time.txt" u 1:4 t "em3d" with lines, \
109 "running_Olden_llc_time.txt" u 1:5 t "health" with lines, \
110 "running_Olden_llc_time.txt" u 1:6 t "mst" with lines, \
111 "running_Olden_llc_time.txt" u 1:7 t "perimeter" with lines, \
112 "running_Olden_llc_time.txt" u 1:8 t "power" with lines, \
113 "running_Olden_llc_time.txt" u 1:9 t "treeadd" with lines, \
114 "running_Olden_llc_time.txt" u 1:10 t "tsp" with lines, \
115 "running_Olden_llc_time.txt" u 1:11 t "voronoi" \
116 with lines
117
118set size 1.5,1.5
119set output "running_Olden_llc_time_large.png"
120plot "running_Olden_llc_time.txt" u 1:2 t '' with lines, \
121 "running_Olden_llc_time.txt" u 1:2 t "bh" with lines, \
122 "running_Olden_llc_time.txt" u 1:3 t "bisort" with lines, \
123 "running_Olden_llc_time.txt" u 1:4 t "em3d" with lines, \
124 "running_Olden_llc_time.txt" u 1:5 t "health" with lines, \
125 "running_Olden_llc_time.txt" u 1:6 t "mst" with lines, \
126 "running_Olden_llc_time.txt" u 1:7 t "perimeter" with lines, \
127 "running_Olden_llc_time.txt" u 1:8 t "power" with lines, \
128 "running_Olden_llc_time.txt" u 1:9 t "treeadd" with lines, \
129 "running_Olden_llc_time.txt" u 1:10 t "tsp" with lines, \
130 "running_Olden_llc_time.txt" u 1:11 t "voronoi" \
131 with lines
132
133
134##------- Olden optimizer time ----
135
136set size .75,.75
137set output "running_Olden_opt_time.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +0000138set ylabel "Time to run the optimizer (s)"
Chris Lattner75dd3e52003-11-08 20:33:04 +0000139plot "running_Olden_opt_time.txt" u 1:2 t '' with lines, \
140 "running_Olden_opt_time.txt" u 1:2 t "bh" with lines, \
141 "running_Olden_opt_time.txt" u 1:3 t "bisort" with lines, \
142 "running_Olden_opt_time.txt" u 1:4 t "em3d" with lines, \
143 "running_Olden_opt_time.txt" u 1:5 t "health" with lines, \
144 "running_Olden_opt_time.txt" u 1:6 t "mst" with lines, \
145 "running_Olden_opt_time.txt" u 1:7 t "perimeter" with lines, \
146 "running_Olden_opt_time.txt" u 1:8 t "power" with lines, \
147 "running_Olden_opt_time.txt" u 1:9 t "treeadd" with lines, \
148 "running_Olden_opt_time.txt" u 1:10 t "tsp" with lines, \
149 "running_Olden_opt_time.txt" u 1:11 t "voronoi" \
150 with lines
151
152set size 1.5,1.5
153set output "running_Olden_opt_time_large.png"
154plot "running_Olden_opt_time.txt" u 1:2 t '' with lines, \
155 "running_Olden_opt_time.txt" u 1:2 t "bh" with lines, \
156 "running_Olden_opt_time.txt" u 1:3 t "bisort" with lines, \
157 "running_Olden_opt_time.txt" u 1:4 t "em3d" with lines, \
158 "running_Olden_opt_time.txt" u 1:5 t "health" with lines, \
159 "running_Olden_opt_time.txt" u 1:6 t "mst" with lines, \
160 "running_Olden_opt_time.txt" u 1:7 t "perimeter" with lines, \
161 "running_Olden_opt_time.txt" u 1:8 t "power" with lines, \
162 "running_Olden_opt_time.txt" u 1:9 t "treeadd" with lines, \
163 "running_Olden_opt_time.txt" u 1:10 t "tsp" with lines, \
164 "running_Olden_opt_time.txt" u 1:11 t "voronoi" \
165 with lines
166
167
168##------- Machine code size ----
169
170set size .75,.75
171set output "running_Olden_machcode.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +0000172set ylabel "Program machine code size (bytes)"
Chris Lattner75dd3e52003-11-08 20:33:04 +0000173plot "running_Olden_machcode.txt" u 1:2 t '' with lines, \
174 "running_Olden_machcode.txt" u 1:2 t "bh" with lines, \
175 "running_Olden_machcode.txt" u 1:3 t "bisort" with lines, \
176 "running_Olden_machcode.txt" u 1:4 t "em3d" with lines, \
177 "running_Olden_machcode.txt" u 1:5 t "health" with lines, \
178 "running_Olden_machcode.txt" u 1:6 t "mst" with lines, \
179 "running_Olden_machcode.txt" u 1:7 t "perimeter" with lines, \
180 "running_Olden_machcode.txt" u 1:8 t "power" with lines, \
181 "running_Olden_machcode.txt" u 1:9 t "treeadd" with lines, \
182 "running_Olden_machcode.txt" u 1:10 t "tsp" with lines, \
183 "running_Olden_machcode.txt" u 1:11 t "voronoi" \
184 with lines
185
186set size 1.5,1.5
187set output "running_Olden_machcode_large.png"
188plot "running_Olden_machcode.txt" u 1:2 t '' with lines, \
189 "running_Olden_machcode.txt" u 1:2 t "bh" with lines, \
190 "running_Olden_machcode.txt" u 1:3 t "bisort" with lines, \
191 "running_Olden_machcode.txt" u 1:4 t "em3d" with lines, \
192 "running_Olden_machcode.txt" u 1:5 t "health" with lines, \
193 "running_Olden_machcode.txt" u 1:6 t "mst" with lines, \
194 "running_Olden_machcode.txt" u 1:7 t "perimeter" with lines, \
195 "running_Olden_machcode.txt" u 1:8 t "power" with lines, \
196 "running_Olden_machcode.txt" u 1:9 t "treeadd" with lines, \
197 "running_Olden_machcode.txt" u 1:10 t "tsp" with lines, \
198 "running_Olden_machcode.txt" u 1:11 t "voronoi" \
199 with lines
200
201
202##------- Bytecode size ----
203
204set size .75,.75
205set output "running_Olden_bytecode.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +0000206set ylabel "Program bytecode size (bytes)"
Chris Lattner75dd3e52003-11-08 20:33:04 +0000207plot "running_Olden_bytecode.txt" u 1:2 t '' with lines, \
208 "running_Olden_bytecode.txt" u 1:2 t "bh" with lines, \
209 "running_Olden_bytecode.txt" u 1:3 t "bisort" with lines, \
210 "running_Olden_bytecode.txt" u 1:4 t "em3d" with lines, \
211 "running_Olden_bytecode.txt" u 1:5 t "health" with lines, \
212 "running_Olden_bytecode.txt" u 1:6 t "mst" with lines, \
213 "running_Olden_bytecode.txt" u 1:7 t "perimeter" with lines, \
214 "running_Olden_bytecode.txt" u 1:8 t "power" with lines, \
215 "running_Olden_bytecode.txt" u 1:9 t "treeadd" with lines, \
216 "running_Olden_bytecode.txt" u 1:10 t "tsp" with lines, \
217 "running_Olden_bytecode.txt" u 1:11 t "voronoi" \
218 with lines
219
220set size 1.5,1.5
221set output "running_Olden_bytecode_large.png"
222plot "running_Olden_bytecode.txt" u 1:2 t '' with lines, \
223 "running_Olden_bytecode.txt" u 1:2 t "bh" with lines, \
224 "running_Olden_bytecode.txt" u 1:3 t "bisort" with lines, \
225 "running_Olden_bytecode.txt" u 1:4 t "em3d" with lines, \
226 "running_Olden_bytecode.txt" u 1:5 t "health" with lines, \
227 "running_Olden_bytecode.txt" u 1:6 t "mst" with lines, \
228 "running_Olden_bytecode.txt" u 1:7 t "perimeter" with lines, \
229 "running_Olden_bytecode.txt" u 1:8 t "power" with lines, \
230 "running_Olden_bytecode.txt" u 1:9 t "treeadd" with lines, \
231 "running_Olden_bytecode.txt" u 1:10 t "tsp" with lines, \
232 "running_Olden_bytecode.txt" u 1:11 t "voronoi" \
233 with lines