Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: tools/testing/perf_testing/run_perf_tests.py

Issue 9980019: Add a separate perf graph for dromaeo (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add link in index.html Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/testing/perf_testing/index.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 import datetime 7 import datetime
8 import getpass 8 import getpass
9 import math 9 import math
10 from matplotlib.font_manager import FontProperties 10 from matplotlib.font_manager import FontProperties
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 '''/%(data)s/%(os)s/%(file)s>%(file)s</a></li>\n''' % \ 228 '''/%(data)s/%(os)s/%(file)s>%(file)s</a></li>\n''' % \
229 {'data': data, 'os': utils.GuessOS(), 'file': f}) 229 {'data': data, 'os': utils.GuessOS(), 'file': f})
230 out.write(' </ul>\n </body>\n</html>') 230 out.write(' </ul>\n </body>\n</html>')
231 out.close() 231 out.close()
232 232
233 shutil.rmtree(os.path.join('appengine', 'static', 'graphs'), 233 shutil.rmtree(os.path.join('appengine', 'static', 'graphs'),
234 ignore_errors=True) 234 ignore_errors=True)
235 shutil.copytree('graphs', os.path.join('appengine', 'static', 'graphs')) 235 shutil.copytree('graphs', os.path.join('appengine', 'static', 'graphs'))
236 shutil.copyfile('index.html', os.path.join('appengine', 'static', 236 shutil.copyfile('index.html', os.path.join('appengine', 'static',
237 'index.html')) 237 'index.html'))
238 shutil.copyfile('dromaeo.html', os.path.join('appengine', 'static',
239 'dromaeo.html'))
238 shutil.copyfile('data.html', os.path.join('appengine', 'static', 240 shutil.copyfile('data.html', os.path.join('appengine', 'static',
239 'data.html')) 241 'data.html'))
240 p = subprocess.Popen([os.path.join('..', '..', '..', 'third_party', 242 p = subprocess.Popen([os.path.join('..', '..', '..', 'third_party',
241 'appengine-python', 'appcfg.py'), 'update', 243 'appengine-python', 'appcfg.py'), 'update',
242 'appengine/'], shell=HAS_SHELL, stdin=subprocess.PIPE) 244 'appengine/'], shell=HAS_SHELL, stdin=subprocess.PIPE)
243 p.stdin.write(username + '\n') 245 p.stdin.write(username + '\n')
244 p.stdin.write(password + '\n') 246 p.stdin.write(password + '\n')
245 p.communicate() 247 p.communicate()
246 248
247 249
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 run_test_sequence(suites, no_build, graph_only, 931 run_test_sequence(suites, no_build, graph_only,
930 username, password) 932 username, password)
931 else: 933 else:
932 time.sleep(SLEEP_TIME) 934 time.sleep(SLEEP_TIME)
933 else: 935 else:
934 run_test_sequence(suites, no_build, graph_only, 936 run_test_sequence(suites, no_build, graph_only,
935 username, password) 937 username, password)
936 938
937 if __name__ == '__main__': 939 if __name__ == '__main__':
938 main() 940 main()
OLDNEW
« no previous file with comments | « tools/testing/perf_testing/index.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698