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

Side by Side Diff: bench/bench_graph_svg.py

Issue 23071002: Deletes warning on no graph outputs, since we don't output graphs anymore. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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 ''' 1 '''
2 Created on May 16, 2011 2 Created on May 16, 2011
3 3
4 @author: bungeman 4 @author: bungeman
5 ''' 5 '''
6 import bench_util 6 import bench_util
7 import getopt 7 import getopt
8 import httplib 8 import httplib
9 import itertools 9 import itertools
10 import json 10 import json
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 usage() 493 usage()
494 assert False, "unhandled option" 494 assert False, "unhandled option"
495 except ValueError: 495 except ValueError:
496 usage() 496 usage()
497 sys.exit(2) 497 sys.exit(2)
498 498
499 if directory is None: 499 if directory is None:
500 usage() 500 usage()
501 sys.exit(2) 501 sys.exit(2)
502 502
503 if not output_path:
504 print 'Warning: No output path provided. No graphs will be written.'
505
506 if time_of_interest: 503 if time_of_interest:
507 time_to_ignore = None 504 time_to_ignore = None
508 505
509 # The title flag (-l) provided in buildbot slave is in the format 506 # The title flag (-l) provided in buildbot slave is in the format
510 # Bench_Performance_for_<platform>, and we want to extract <platform> 507 # Bench_Performance_for_<platform>, and we want to extract <platform>
511 # for use in platform_and_alg to track matching benches later. If title flag 508 # for use in platform_and_alg to track matching benches later. If title flag
512 # is not in this format, there may be no matching benches in the file 509 # is not in this format, there may be no matching benches in the file
513 # provided by the expectation_file flag (-e). 510 # provided by the expectation_file flag (-e).
514 bot = title # To store the platform as bot name 511 bot = title # To store the platform as bot name
515 platform_and_alg = title 512 platform_and_alg = title
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 print '<a id="rev_link" xlink:href="" target="_top">' 1053 print '<a id="rev_link" xlink:href="" target="_top">'
1057 print '<text id="revision" x="0" y=%s style="' % qa(font_size*2) 1054 print '<text id="revision" x="0" y=%s style="' % qa(font_size*2)
1058 print 'font-size: %s; ' % qe(font_size) 1055 print 'font-size: %s; ' % qe(font_size)
1059 print 'stroke: #0000dd; text-decoration: underline; ' 1056 print 'stroke: #0000dd; text-decoration: underline; '
1060 print '"> </text></a>' 1057 print '"> </text></a>'
1061 1058
1062 print '</svg>' 1059 print '</svg>'
1063 1060
1064 if __name__ == "__main__": 1061 if __name__ == "__main__":
1065 main() 1062 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