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

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

Issue 10441011: Suppress dart:dom version of Dromaeo for Dartium (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | « no previous file | 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) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, 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 math 8 import math
9 try: 9 try:
10 from matplotlib.font_manager import FontProperties 10 from matplotlib.font_manager import FontProperties
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 838
839 @staticmethod 839 @staticmethod
840 def name(): 840 def name():
841 return 'dromaeo' 841 return 'dromaeo'
842 842
843 def is_valid_combination(self, browser, version): 843 def is_valid_combination(self, browser, version):
844 # TODO(vsm): This avoids a bug in 32-bit Chrome (dartium) 844 # TODO(vsm): This avoids a bug in 32-bit Chrome (dartium)
845 # running JS dromaeo. 845 # running JS dromaeo.
846 if browser == 'dartium' and version == 'js': 846 if browser == 'dartium' and version == 'js':
847 return False 847 return False
848 # dart:dom has been removed from Dartium.
849 if browser == 'dartium' and 'dom' in version:
850 return False
848 # Only run dart2js on Chrome until we validate it elsewhere. 851 # Only run dart2js on Chrome until we validate it elsewhere.
849 if browser != 'chrome' and 'dart2js' in version: 852 if browser != 'chrome' and 'dart2js' in version:
850 return False 853 return False
851 return True 854 return True
852 855
853 class DromaeoPerfGrapher(RuntimePerfGrapher): 856 class DromaeoPerfGrapher(RuntimePerfGrapher):
854 def plot_results(self, png_filename): 857 def plot_results(self, png_filename):
855 self.plot_all_perf(png_filename) 858 self.plot_all_perf(png_filename)
856 self.plot_avg_perf('2' + png_filename) 859 self.plot_avg_perf('2' + png_filename)
857 self.plot_avg_perf('3' + png_filename, ['chrome', 'dartium'], 860 self.plot_avg_perf('3' + png_filename, ['chrome', 'dartium'],
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 while True: 1311 while True:
1309 if runner.has_new_code(): 1312 if runner.has_new_code():
1310 runner.run_test_sequence() 1313 runner.run_test_sequence()
1311 else: 1314 else:
1312 time.sleep(200) 1315 time.sleep(200)
1313 else: 1316 else:
1314 runner.run_test_sequence() 1317 runner.run_test_sequence()
1315 1318
1316 if __name__ == '__main__': 1319 if __name__ == '__main__':
1317 main() 1320 main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698