OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """Upload benchmark graphs from archived webpages. | 6 """Upload benchmark graphs from archived webpages. |
7 | 7 |
8 This module can be run from the command-line like this: | 8 This module can be run from the command-line like this: |
9 | 9 |
10 cd buildbot/third_party/chromium_buildbot/slave/\ | 10 cd buildbot/third_party/chromium_buildbot/slave/\ |
11 Skia_Shuttle_Ubuntu12_ATI5770_Float_Release_64/build/trunk | 11 Test-Ubuntu12-ShuttleA-ATI5770-x86_64-Release/build/trunk |
12 | 12 |
13 PYTHONPATH=../../../../site_config:\ | 13 PYTHONPATH=../../../../site_config:\ |
14 ../../../../scripts \ | 14 ../../../../scripts \ |
15 python ../../../../../../slave/skia_slave_scripts/\ | 15 python ../../../../../../slave/skia_slave_scripts/\ |
16 upload_webpage_picture_bench_graphs.py \ | 16 upload_webpage_picture_bench_graphs.py \ |
17 --configuration "" --target_platform "" --revision 0 \ | 17 --configuration "" --target_platform "" --revision 0 \ |
18 --autogen_svn_baseurl "" --make_flags "" --test_args "" --gm_args "" \ | 18 --autogen_svn_baseurl "" --make_flags "" --test_args "" --gm_args "" \ |
19 --bench_args "" --num_cores 8 --perf_output_basedir "../../../../perfdata" \ | 19 --bench_args "" --num_cores 8 --perf_output_basedir "../../../../perfdata" \ |
20 --builder_name Skia_Shuttle_Ubuntu12_ATI5770_Float_Release_64 \ | 20 --builder_name Test-Ubuntu12-ShuttleA-ATI5770-x86_64-Release \ |
21 --got_revision 0 --gm_image_subdir "" \ | 21 --got_revision 0 --gm_image_subdir "" \ |
22 --dest_gsbase "gs://rmistry" | 22 --dest_gsbase "gs://rmistry" |
23 | 23 |
24 """ | 24 """ |
25 | 25 |
26 from build_step import BuildStep | 26 from build_step import BuildStep |
27 from upload_bench_graphs import UploadBenchGraphs | 27 from upload_bench_graphs import UploadBenchGraphs |
28 | 28 |
29 import sys | 29 import sys |
30 | 30 |
(...skipping 10 matching lines...) Expand all Loading... |
41 return self._local_playback_dirs.PlaybackPerfGraphsDir() | 41 return self._local_playback_dirs.PlaybackPerfGraphsDir() |
42 | 42 |
43 def _GetBucketSubdir(self): | 43 def _GetBucketSubdir(self): |
44 """Results the playback perf graphs bucket.""" | 44 """Results the playback perf graphs bucket.""" |
45 return self._storage_playback_dirs.PlaybackPerfGraphsDir() | 45 return self._storage_playback_dirs.PlaybackPerfGraphsDir() |
46 | 46 |
47 | 47 |
48 if '__main__' == __name__: | 48 if '__main__' == __name__: |
49 sys.exit(BuildStep.RunBuildStep(UploadWebpagePictureBenchGraphs)) | 49 sys.exit(BuildStep.RunBuildStep(UploadWebpagePictureBenchGraphs)) |
50 | 50 |
OLD | NEW |