|
|
Descriptiontelmetry: Add SkpicturePrinter benchmark.
Support for running measurements without a benchmark has been removed
from telemetry. This patch adds a benchmark that allows running
SkpicturePrinter measurement on arbitrary page sets, as required
for the Skia buildbots.
R=dtu@chromium.org,rmistry@chromium.org
BUG=425074
Committed: https://crrev.com/ba2fd136160971b66e8f15ced71ba91152b1f59b
Cr-Commit-Position: refs/heads/master@{#300763}
Patch Set 1 #Patch Set 2 : Check if mandatory cmd line options are set #Patch Set 3 : Add missing license header. #Patch Set 4 : Exclude SkpicturePrinter benchmark from smoke test #Messages
Total messages: 27 (8 generated)
PTAL
rmistry@google.com changed reviewers: + rmistry@google.com
Thanks Manfred. Will this also allow the use of --skp_dir (which was allowed by the original measurement)?
On 2014/10/21 00:11:49, rmistry wrote: > Thanks Manfred. Will this also allow the use of --skp_dir (which was allowed by > the original measurement)? Yes, --skp-outdir is still supported and required. The measurement adds that option to the command line parser.
LGTM
The CQ bit was checked by ernstm@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/665193002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
On 2014/10/21 01:20:34, I haz the power (commit-bot) wrote: > Try jobs failed on following builders: > chromium_presubmit on tryserver.chromium.linux > (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...) Looks like presubmit failed: ** Presubmit Messages ** Pylint (172 files) (9.28s) ** Presubmit Warnings ** License must match: .*? Copyright (\(c\) )?(2014|2013|2012|2011|2010|2009|2008|2007|2006|2006-2008|2006-2009|2006-2010) The Chromium Authors\. All rights reserved\.\n.*? Use of this source code is governed by a BSD-style license that can be\n.*? found in the LICENSE file\.(?: \*/)?\n Found a bad license header in these files: tools/perf/benchmarks/skpicture_printer.py Presubmit checks took 9.9s to calculate.
On 2014/10/21 11:03:48, rmistry wrote: > On 2014/10/21 01:20:34, I haz the power (commit-bot) wrote: > > Try jobs failed on following builders: > > chromium_presubmit on tryserver.chromium.linux > > > (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...) > > Looks like presubmit failed: > > ** Presubmit Messages ** > Pylint (172 files) (9.28s) > > ** Presubmit Warnings ** > License must match: > .*? Copyright (\(c\) > )?(2014|2013|2012|2011|2010|2009|2008|2007|2006|2006-2008|2006-2009|2006-2010) > The Chromium Authors\. All rights reserved\.\n.*? Use of this source code is > governed by a BSD-style license that can be\n.*? found in the LICENSE file\.(?: > \*/)?\n > Found a bad license header in these files: > tools/perf/benchmarks/skpicture_printer.py > > Presubmit checks took 9.9s to calculate. The license header was missing.
The CQ bit was checked by ernstm@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/665193002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Looks like there was a failed test: 1 FAILED TEST [----------] 1 test [ RUN ] BenchmarkSmokeTest.skpicture_printer Traceback (most recent call last): run at /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py:331 testMethod() wrapper at tools/telemetry/telemetry/decorators.py:55 func(*args, **kwargs) BenchmarkSmokeTest at tools/perf/benchmarks/benchmark_smoke_unittest.py:56 benchmark.ProcessCommandLineArgs(None, options) ProcessCommandLineArgs at tools/perf/benchmarks/skpicture_printer.py:33 cls.PageTestClass().ProcessCommandLineArgs(parser, args) ProcessCommandLineArgs at tools/perf/measurements/skpicture_printer.py:23 parser.error('Please specify --skp-outdir') AttributeError: 'NoneType' object has no attribute 'error'
On 2014/10/21 20:22:42, rmistry wrote: > Looks like there was a failed test: > > 1 FAILED TEST > > [----------] 1 test > [ RUN ] BenchmarkSmokeTest.skpicture_printer > > Traceback (most recent call last): > run at > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py:331 > testMethod() > wrapper at tools/telemetry/telemetry/decorators.py:55 > func(*args, **kwargs) > BenchmarkSmokeTest at tools/perf/benchmarks/benchmark_smoke_unittest.py:56 > benchmark.ProcessCommandLineArgs(None, options) > ProcessCommandLineArgs at tools/perf/benchmarks/skpicture_printer.py:33 > cls.PageTestClass().ProcessCommandLineArgs(parser, args) > ProcessCommandLineArgs at tools/perf/measurements/skpicture_printer.py:23 > parser.error('Please specify --skp-outdir') > AttributeError: 'NoneType' object has no attribute 'error' Friendly ping for this CL since the Skia bot is broken
On 2014/10/22 11:53:19, rmistry wrote: > On 2014/10/21 20:22:42, rmistry wrote: > > Looks like there was a failed test: > > > > 1 FAILED TEST > > > > [----------] 1 test > > [ RUN ] BenchmarkSmokeTest.skpicture_printer > > > > Traceback (most recent call last): > > run at > > > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py:331 > > testMethod() > > wrapper at tools/telemetry/telemetry/decorators.py:55 > > func(*args, **kwargs) > > BenchmarkSmokeTest at tools/perf/benchmarks/benchmark_smoke_unittest.py:56 > > benchmark.ProcessCommandLineArgs(None, options) > > ProcessCommandLineArgs at tools/perf/benchmarks/skpicture_printer.py:33 > > cls.PageTestClass().ProcessCommandLineArgs(parser, args) > > ProcessCommandLineArgs at tools/perf/measurements/skpicture_printer.py:23 > > parser.error('Please specify --skp-outdir') > > AttributeError: 'NoneType' object has no attribute 'error' > > Friendly ping for this CL since the Skia bot is broken This benchmark can't be tested with benchmark_smoke_unittest, because this assumes that default values exist for all options. But SkpicturePrinter benchmark must get the page set and the output directory from the command line. We do have coverage for the measurement though and therefore I excluded the benchmark from the smoke test.
The CQ bit was checked by ernstm@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/665193002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
On 2014/10/22 19:34:47, I haz the power (commit-bot) wrote: > Try jobs failed on following builders: > win_chromium_x64_rel on tryserver.chromium.win > (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...) Maybe, try again with CQ_EXCLUDE_TRYBOTS=tryserver.chromium.win:win_chromium_x64_rel ?
The CQ bit was checked by ernstm@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/665193002/60001
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/ba2fd136160971b66e8f15ced71ba91152b1f59b Cr-Commit-Position: refs/heads/master@{#300763} |