| 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 performance data results from archived webpages. | 6 """Upload benchmark performance data results 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_results.py \ | 16 upload_webpage_picture_bench_results.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_results import UploadBenchResults | 27 from upload_bench_results import UploadBenchResults |
| 28 | 28 |
| 29 import sys | 29 import sys |
| 30 | 30 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 41 return self._local_playback_dirs.PlaybackPerfDataDir() | 41 return self._local_playback_dirs.PlaybackPerfDataDir() |
| 42 | 42 |
| 43 def _GetBucketSubdir(self): | 43 def _GetBucketSubdir(self): |
| 44 """Results the playback perf data bucket.""" | 44 """Results the playback perf data bucket.""" |
| 45 return self._storage_playback_dirs.PlaybackPerfDataDir() | 45 return self._storage_playback_dirs.PlaybackPerfDataDir() |
| 46 | 46 |
| 47 | 47 |
| 48 if '__main__' == __name__: | 48 if '__main__' == __name__: |
| 49 sys.exit(BuildStep.RunBuildStep(UploadWebpagePictureBenchResults)) | 49 sys.exit(BuildStep.RunBuildStep(UploadWebpagePictureBenchResults)) |
| 50 | 50 |
| OLD | NEW |