blob: 4de9f482a46b063ad460092918142fc5d354064e [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
Chris Lattner4fa5fa82004-11-23 06:51:14 +00008set timefmt "%Y-%m-%d-%H:%M:%S:"
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
Reid Spencerebeebec2004-07-06 17:04:09 +000021set xtics rotate
Reid Spencer7cccb2d2004-07-05 19:09:32 +000022set xlabel 0,-1
Chris Lattner75dd3e52003-11-08 20:33:04 +000023plot "running_loc.txt" using 1:2 title '' with lines, \
Chris Lattnerc75b14e2003-08-18 20:07:54 +000024 "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
25
26##------- Plot large Date vs LOC ----
27set size 1.5,1.5
Reid Spencer7cccb2d2004-07-05 19:09:32 +000028set xtics norotate
29set xlabel 0,0
Chris Lattnerc75b14e2003-08-18 20:07:54 +000030set output "running_loc_large.png"
31plot "running_loc.txt" using 1:2 title '', \
32 "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
33
34
35# Delete all labels...
36set nolabel
37
Chris Lattner75dd3e52003-11-08 20:33:04 +000038##------- Olden CBE performance ----
Chris Lattnerc75b14e2003-08-18 20:07:54 +000039
Chris Lattner75dd3e52003-11-08 20:33:04 +000040set size .75,.75
Reid Spencerebeebec2004-07-06 17:04:09 +000041set xtics rotate
Reid Spencer7cccb2d2004-07-05 19:09:32 +000042set xlabel 0,-1
Chris Lattner75dd3e52003-11-08 20:33:04 +000043set output "running_Olden_cbe_time.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +000044set ylabel "CBE compiled execution time (s)"
Chris Lattner75dd3e52003-11-08 20:33:04 +000045plot "running_Olden_cbe_time.txt" u 1:2 t '' with lines, \
46 "running_Olden_cbe_time.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +000047 "running_Olden_cbe_time.txt" u 1:3 t "em3d" with lines, \
48 "running_Olden_cbe_time.txt" u 1:4 t "mst" with lines, \
49 "running_Olden_cbe_time.txt" u 1:5 t "power" with lines, \
50 "running_Olden_cbe_time.txt" u 1:6 t "tsp" with lines, \
51 "running_Olden_cbe_time.txt" u 1:7 t "bisort" with lines, \
52 "running_Olden_cbe_time.txt" u 1:8 t "health" with lines, \
53 "running_Olden_cbe_time.txt" u 1:9 t "perimeter" with lines, \
54 "running_Olden_cbe_time.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +000055 "running_Olden_cbe_time.txt" u 1:11 t "voronoi" \
56 with lines
57
58set size 1.5,1.5
Reid Spencer7cccb2d2004-07-05 19:09:32 +000059set xtics norotate
60set xlabel 0,0
Chris Lattner75dd3e52003-11-08 20:33:04 +000061set output "running_Olden_cbe_time_large.png"
62plot "running_Olden_cbe_time.txt" u 1:2 t '' with lines, \
63 "running_Olden_cbe_time.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +000064 "running_Olden_cbe_time.txt" u 1:3 t "em3d" with lines, \
65 "running_Olden_cbe_time.txt" u 1:4 t "mst" with lines, \
66 "running_Olden_cbe_time.txt" u 1:5 t "power" with lines, \
67 "running_Olden_cbe_time.txt" u 1:6 t "tsp" with lines, \
68 "running_Olden_cbe_time.txt" u 1:7 t "bisort" with lines, \
69 "running_Olden_cbe_time.txt" u 1:8 t "health" with lines, \
70 "running_Olden_cbe_time.txt" u 1:9 t "perimeter" with lines, \
71 "running_Olden_cbe_time.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +000072 "running_Olden_cbe_time.txt" u 1:11 t "voronoi" \
73 with lines
74
75##------- Olden JIT performance ----
76
77set size .75,.75
Reid Spencerebeebec2004-07-06 17:04:09 +000078set xtics rotate
Reid Spencer7cccb2d2004-07-05 19:09:32 +000079set xlabel 0,-1
Chris Lattner75dd3e52003-11-08 20:33:04 +000080set output "running_Olden_jit_time.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +000081set ylabel "JIT execution time (s)"
Chris Lattner75dd3e52003-11-08 20:33:04 +000082plot "running_Olden_jit_time.txt" u 1:2 t '' with lines, \
83 "running_Olden_jit_time.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +000084 "running_Olden_jit_time.txt" u 1:3 t "em3d" with lines, \
85 "running_Olden_jit_time.txt" u 1:4 t "mst" with lines, \
86 "running_Olden_jit_time.txt" u 1:5 t "power" with lines, \
87 "running_Olden_jit_time.txt" u 1:6 t "tsp" with lines, \
88 "running_Olden_jit_time.txt" u 1:7 t "bisort" with lines, \
89 "running_Olden_jit_time.txt" u 1:8 t "health" with lines, \
90 "running_Olden_jit_time.txt" u 1:9 t "perimeter" with lines, \
91 "running_Olden_jit_time.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +000092 "running_Olden_jit_time.txt" u 1:11 t "voronoi" \
93 with lines
94
95set size 1.5,1.5
Reid Spencer7cccb2d2004-07-05 19:09:32 +000096set xtics norotate
97set xlabel 0,0
Chris Lattner75dd3e52003-11-08 20:33:04 +000098set output "running_Olden_jit_time_large.png"
99plot "running_Olden_jit_time.txt" u 1:2 t '' with lines, \
100 "running_Olden_jit_time.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +0000101 "running_Olden_jit_time.txt" u 1:3 t "em3d" with lines, \
102 "running_Olden_jit_time.txt" u 1:4 t "mst" with lines, \
103 "running_Olden_jit_time.txt" u 1:5 t "power" with lines, \
104 "running_Olden_jit_time.txt" u 1:6 t "tsp" with lines, \
105 "running_Olden_jit_time.txt" u 1:7 t "bisort" with lines, \
106 "running_Olden_jit_time.txt" u 1:8 t "health" with lines, \
107 "running_Olden_jit_time.txt" u 1:9 t "perimeter" with lines, \
108 "running_Olden_jit_time.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +0000109 "running_Olden_jit_time.txt" u 1:11 t "voronoi" \
110 with lines
111
112##------- Olden LLC performance ----
113
114set size .75,.75
Reid Spencerebeebec2004-07-06 17:04:09 +0000115set xtics rotate
Reid Spencer7cccb2d2004-07-05 19:09:32 +0000116set xlabel 0,-1
Chris Lattner75dd3e52003-11-08 20:33:04 +0000117set output "running_Olden_llc_time.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +0000118set ylabel "LLC compiled execution time (s)"
Chris Lattner75dd3e52003-11-08 20:33:04 +0000119plot "running_Olden_llc_time.txt" u 1:2 t '' with lines, \
120 "running_Olden_llc_time.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +0000121 "running_Olden_llc_time.txt" u 1:3 t "em3d" with lines, \
122 "running_Olden_llc_time.txt" u 1:4 t "mst" with lines, \
123 "running_Olden_llc_time.txt" u 1:5 t "power" with lines, \
124 "running_Olden_llc_time.txt" u 1:6 t "tsp" with lines, \
125 "running_Olden_llc_time.txt" u 1:7 t "bisort" with lines, \
126 "running_Olden_llc_time.txt" u 1:8 t "health" with lines, \
127 "running_Olden_llc_time.txt" u 1:9 t "perimeter" with lines, \
128 "running_Olden_llc_time.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +0000129 "running_Olden_llc_time.txt" u 1:11 t "voronoi" \
130 with lines
131
132set size 1.5,1.5
Reid Spencer7cccb2d2004-07-05 19:09:32 +0000133set xtics norotate
134set xlabel 0,0
Chris Lattner75dd3e52003-11-08 20:33:04 +0000135set output "running_Olden_llc_time_large.png"
136plot "running_Olden_llc_time.txt" u 1:2 t '' with lines, \
137 "running_Olden_llc_time.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +0000138 "running_Olden_llc_time.txt" u 1:3 t "em3d" with lines, \
139 "running_Olden_llc_time.txt" u 1:4 t "mst" with lines, \
140 "running_Olden_llc_time.txt" u 1:5 t "power" with lines, \
141 "running_Olden_llc_time.txt" u 1:6 t "tsp" with lines, \
142 "running_Olden_llc_time.txt" u 1:7 t "bisort" with lines, \
143 "running_Olden_llc_time.txt" u 1:8 t "health" with lines, \
144 "running_Olden_llc_time.txt" u 1:9 t "perimeter" with lines, \
145 "running_Olden_llc_time.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +0000146 "running_Olden_llc_time.txt" u 1:11 t "voronoi" \
147 with lines
148
149
150##------- Olden optimizer time ----
151
152set size .75,.75
Reid Spencerebeebec2004-07-06 17:04:09 +0000153set xtics rotate
Reid Spencer7cccb2d2004-07-05 19:09:32 +0000154set xlabel 0,-1
Chris Lattner75dd3e52003-11-08 20:33:04 +0000155set output "running_Olden_opt_time.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +0000156set ylabel "Time to run the optimizer (s)"
Chris Lattner75dd3e52003-11-08 20:33:04 +0000157plot "running_Olden_opt_time.txt" u 1:2 t '' with lines, \
158 "running_Olden_opt_time.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +0000159 "running_Olden_opt_time.txt" u 1:3 t "em3d" with lines, \
160 "running_Olden_opt_time.txt" u 1:4 t "mst" with lines, \
161 "running_Olden_opt_time.txt" u 1:5 t "power" with lines, \
162 "running_Olden_opt_time.txt" u 1:6 t "tsp" with lines, \
163 "running_Olden_opt_time.txt" u 1:7 t "bisort" with lines, \
164 "running_Olden_opt_time.txt" u 1:8 t "health" with lines, \
165 "running_Olden_opt_time.txt" u 1:9 t "perimeter" with lines, \
166 "running_Olden_opt_time.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +0000167 "running_Olden_opt_time.txt" u 1:11 t "voronoi" \
168 with lines
169
170set size 1.5,1.5
Reid Spencer7cccb2d2004-07-05 19:09:32 +0000171set xtics norotate
172set xlabel 0,0
Chris Lattner75dd3e52003-11-08 20:33:04 +0000173set output "running_Olden_opt_time_large.png"
174plot "running_Olden_opt_time.txt" u 1:2 t '' with lines, \
175 "running_Olden_opt_time.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +0000176 "running_Olden_opt_time.txt" u 1:3 t "em3d" with lines, \
177 "running_Olden_opt_time.txt" u 1:4 t "mst" with lines, \
178 "running_Olden_opt_time.txt" u 1:5 t "power" with lines, \
179 "running_Olden_opt_time.txt" u 1:6 t "tsp" with lines, \
180 "running_Olden_opt_time.txt" u 1:7 t "bisort" with lines, \
181 "running_Olden_opt_time.txt" u 1:8 t "health" with lines, \
182 "running_Olden_opt_time.txt" u 1:9 t "perimeter" with lines, \
183 "running_Olden_opt_time.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +0000184 "running_Olden_opt_time.txt" u 1:11 t "voronoi" \
185 with lines
186
187
188##------- Machine code size ----
189
190set size .75,.75
Reid Spencerebeebec2004-07-06 17:04:09 +0000191set xtics rotate
Reid Spencer7cccb2d2004-07-05 19:09:32 +0000192set xlabel 0,-1
Chris Lattner75dd3e52003-11-08 20:33:04 +0000193set output "running_Olden_machcode.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +0000194set ylabel "Program machine code size (bytes)"
Chris Lattner75dd3e52003-11-08 20:33:04 +0000195plot "running_Olden_machcode.txt" u 1:2 t '' with lines, \
196 "running_Olden_machcode.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +0000197 "running_Olden_machcode.txt" u 1:3 t "em3d" with lines, \
198 "running_Olden_machcode.txt" u 1:4 t "mst" with lines, \
199 "running_Olden_machcode.txt" u 1:5 t "power" with lines, \
200 "running_Olden_machcode.txt" u 1:6 t "tsp" with lines, \
201 "running_Olden_machcode.txt" u 1:7 t "bisort" with lines, \
202 "running_Olden_machcode.txt" u 1:8 t "health" with lines, \
203 "running_Olden_machcode.txt" u 1:9 t "perimeter" with lines, \
204 "running_Olden_machcode.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +0000205 "running_Olden_machcode.txt" u 1:11 t "voronoi" \
206 with lines
207
208set size 1.5,1.5
Reid Spencer7cccb2d2004-07-05 19:09:32 +0000209set xtics norotate
210set xlabel 0,0
Chris Lattner75dd3e52003-11-08 20:33:04 +0000211set output "running_Olden_machcode_large.png"
212plot "running_Olden_machcode.txt" u 1:2 t '' with lines, \
213 "running_Olden_machcode.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +0000214 "running_Olden_machcode.txt" u 1:3 t "em3d" with lines, \
215 "running_Olden_machcode.txt" u 1:4 t "mst" with lines, \
216 "running_Olden_machcode.txt" u 1:5 t "power" with lines, \
217 "running_Olden_machcode.txt" u 1:6 t "tsp" with lines, \
218 "running_Olden_machcode.txt" u 1:7 t "bisort" with lines, \
219 "running_Olden_machcode.txt" u 1:8 t "health" with lines, \
220 "running_Olden_machcode.txt" u 1:9 t "perimeter" with lines, \
221 "running_Olden_machcode.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +0000222 "running_Olden_machcode.txt" u 1:11 t "voronoi" \
223 with lines
224
225
226##------- Bytecode size ----
227
228set size .75,.75
Reid Spencerebeebec2004-07-06 17:04:09 +0000229set xtics rotate
Reid Spencer7cccb2d2004-07-05 19:09:32 +0000230set xlabel 0,-1
Chris Lattner75dd3e52003-11-08 20:33:04 +0000231set output "running_Olden_bytecode.png"
Chris Lattnera3ed7d32003-11-08 20:48:39 +0000232set ylabel "Program bytecode size (bytes)"
Chris Lattner75dd3e52003-11-08 20:33:04 +0000233plot "running_Olden_bytecode.txt" u 1:2 t '' with lines, \
234 "running_Olden_bytecode.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +0000235 "running_Olden_bytecode.txt" u 1:3 t "em3d" with lines, \
236 "running_Olden_bytecode.txt" u 1:4 t "mst" with lines, \
237 "running_Olden_bytecode.txt" u 1:5 t "power" with lines, \
238 "running_Olden_bytecode.txt" u 1:6 t "tsp" with lines, \
239 "running_Olden_bytecode.txt" u 1:7 t "bisort" with lines, \
240 "running_Olden_bytecode.txt" u 1:8 t "health" with lines, \
241 "running_Olden_bytecode.txt" u 1:9 t "perimeter" with lines, \
242 "running_Olden_bytecode.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +0000243 "running_Olden_bytecode.txt" u 1:11 t "voronoi" \
244 with lines
245
246set size 1.5,1.5
Reid Spencer7cccb2d2004-07-05 19:09:32 +0000247set xtics norotate
248set xlabel 0,0
Chris Lattner75dd3e52003-11-08 20:33:04 +0000249set output "running_Olden_bytecode_large.png"
250plot "running_Olden_bytecode.txt" u 1:2 t '' with lines, \
251 "running_Olden_bytecode.txt" u 1:2 t "bh" with lines, \
Chris Lattner80bec122005-10-02 21:51:38 +0000252 "running_Olden_bytecode.txt" u 1:3 t "em3d" with lines, \
253 "running_Olden_bytecode.txt" u 1:4 t "mst" with lines, \
254 "running_Olden_bytecode.txt" u 1:5 t "power" with lines, \
255 "running_Olden_bytecode.txt" u 1:6 t "tsp" with lines, \
256 "running_Olden_bytecode.txt" u 1:7 t "bisort" with lines, \
257 "running_Olden_bytecode.txt" u 1:8 t "health" with lines, \
258 "running_Olden_bytecode.txt" u 1:9 t "perimeter" with lines, \
259 "running_Olden_bytecode.txt" u 1:10 t "treeadd" with lines, \
Chris Lattner75dd3e52003-11-08 20:33:04 +0000260 "running_Olden_bytecode.txt" u 1:11 t "voronoi" \
261 with lines