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

Issue 2873183002: Remove the length check of benchmark's positional_args (Closed)

Created:
3 years, 7 months ago by nednguyen
Modified:
3 years, 7 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org, Xianzhu
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Remove the length check of benchmark's positional_args This allows benchmark to define their own logic for handling positional_args. In particular, this is used for enabling user of blink_perf benchmark to run a test directory of interest through positional argument (see https://codereview.chromium.org/2874653002/)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -2 lines) Patch
M telemetry/telemetry/benchmark_runner.py View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
nednguyen
3 years, 7 months ago (2017-05-10 01:31:43 UTC) #2
charliea (OOO until 10-5)
Is there any reason blink_perf can't just use a command line arg (--blink-perf-test-dir=...)? The reason ...
3 years, 7 months ago (2017-05-10 17:38:23 UTC) #10
charliea (OOO until 10-5)
On 2017/05/10 17:38:23, charliea wrote: > Is there any reason blink_perf can't just use a ...
3 years, 7 months ago (2017-05-10 17:43:17 UTC) #11
nednguyen
On 2017/05/10 17:38:23, charliea wrote: > Is there any reason blink_perf can't just use a ...
3 years, 7 months ago (2017-05-10 17:43:29 UTC) #12
nednguyen
3 years, 7 months ago (2017-05-10 21:04:48 UTC) #13
Message was sent while issue was closed.
On 2017/05/10 17:43:29, nednguyen wrote:
> On 2017/05/10 17:38:23, charliea wrote:
> > Is there any reason blink_perf can't just use a command line arg
> > (--blink-perf-test-dir=...)? 
> Less typing for the user. The current semantic of
> "./third_party/WebKit/Tools/Scripts/run-perf-tests" is you just need to point
> the script at a directory to run it.
> 
> > The reason I ask is that I always think of
> > positional args as things that mean the same thing for a given command
(where
> > command is something like run_benchmark). 
> 
> I don't get this sentence. Can you rephrase?
> > Allowing benchmarks to override this
> > is likely to get confusing.

Dropping this since we went with "--test-path" option in the other CL.

Powered by Google App Engine
This is Rietveld 408576698