From 5b2e01c0d223b7d3c9e5a84a709de7629dd7cfd6 Mon Sep 17 00:00:00 2001 From: "epoger@google.com" Date: Mon, 25 Jun 2012 20:29:04 +0000 Subject: [PATCH] Add -o option to bench_graph_svg.py: write the output to a file rather than stdout While I was at it, put the command-line options in alphabetical order. BUG=https://code.google.com/p/skia/issues/detail?id=674 Review URL: https://codereview.appspot.com/6329061 git-svn-id: http://skia.googlecode.com/svn/trunk@4333 2bbb7eff-a529-9590-31e7-b0007b416f81 --- bench/bench_graph_svg.py | 51 ++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/bench/bench_graph_svg.py b/bench/bench_graph_svg.py index 13446ce5af..3e10959a88 100644 --- a/bench/bench_graph_svg.py +++ b/bench/bench_graph_svg.py @@ -18,18 +18,19 @@ MAX_REASONABLE_TIME = 99999 def usage(): """Prints simple usage information.""" - print '-d a directory containing bench_r_ files.' print '-b the bench to show.' print '-c the config to show (GPU, 8888, 565, etc).' - print '-t