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

Side by Side Diff: bench/bench_graph_svg.py

Issue 23830009: Deletes bench_expectations.txt and change comments to refer to the new per-bot expectation files. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 3 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 | « bench/bench_expectations.txt ('k') | bench/gen_bench_ranges.py » ('j') | 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 14 matching lines...) Expand all
25 25
26 def usage(): 26 def usage():
27 """Prints simple usage information.""" 27 """Prints simple usage information."""
28 28
29 print '-a <url> the url to use for adding bench values to app engine app.' 29 print '-a <url> the url to use for adding bench values to app engine app.'
30 print ' Example: "https://skiadash.appspot.com/add_point".' 30 print ' Example: "https://skiadash.appspot.com/add_point".'
31 print ' If not set, will skip this step.' 31 print ' If not set, will skip this step.'
32 print '-b <bench> the bench to show.' 32 print '-b <bench> the bench to show.'
33 print '-c <config> the config to show (GPU, 8888, 565, etc).' 33 print '-c <config> the config to show (GPU, 8888, 565, etc).'
34 print '-d <dir> a directory containing bench_r<revision>_<scalar> files.' 34 print '-d <dir> a directory containing bench_r<revision>_<scalar> files.'
35 print '-e <file> file containing expected bench values/ranges.' 35 print '-e <file> file containing expected bench builder values/ranges.'
36 print ' Will raise exception if actual bench values are out of range.' 36 print ' Will raise exception if actual bench values are out of range.'
37 print ' See bench_expectations.txt for data format and examples.' 37 print ' See bench_expectations_<builder>.txt for data format / examples.'
38 print '-f <revision>[:<revision>] the revisions to use for fitting.' 38 print '-f <revision>[:<revision>] the revisions to use for fitting.'
39 print ' Negative <revision> is taken as offset from most recent revision.' 39 print ' Negative <revision> is taken as offset from most recent revision.'
40 print '-i <time> the time to ignore (w, c, g, etc).' 40 print '-i <time> the time to ignore (w, c, g, etc).'
41 print ' The flag is ignored when -t is set; otherwise we plot all the' 41 print ' The flag is ignored when -t is set; otherwise we plot all the'
42 print ' times except the one specified here.' 42 print ' times except the one specified here.'
43 print '-l <title> title to use for the output graph' 43 print '-l <title> title to use for the output graph'
44 print '-m <representation> representation of bench value.' 44 print '-m <representation> representation of bench value.'
45 print ' See _ListAlgorithm class in bench_util.py.' 45 print ' See _ListAlgorithm class in bench_util.py.'
46 print '-o <path> path to which to write output.' 46 print '-o <path> path to which to write output.'
47 print '-r <revision>[:<revision>] the revisions to show.' 47 print '-r <revision>[:<revision>] the revisions to show.'
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 print '<a id="rev_link" xlink:href="" target="_top">' 1053 print '<a id="rev_link" xlink:href="" target="_top">'
1054 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)
1055 print 'font-size: %s; ' % qe(font_size) 1055 print 'font-size: %s; ' % qe(font_size)
1056 print 'stroke: #0000dd; text-decoration: underline; ' 1056 print 'stroke: #0000dd; text-decoration: underline; '
1057 print '"> </text></a>' 1057 print '"> </text></a>'
1058 1058
1059 print '</svg>' 1059 print '</svg>'
1060 1060
1061 if __name__ == "__main__": 1061 if __name__ == "__main__":
1062 main() 1062 main()
OLDNEW
« no previous file with comments | « bench/bench_expectations.txt ('k') | bench/gen_bench_ranges.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698