Issue metadata
Sign in to add a comment
|
Crosperf should handle benchmarks with different test_args 'story-filter'/'story-tag-filter' |
||||||||||||||||||||||||
Issue description
Crosperf will report an error if two benchmarks have same name in experiment file.
But by introducing test_args: 'story-filter'/'story-tag-filter', we want to treat benchmarks with different tag as different benchmarks and run.
Here is an example:
benchmark: rendering.desktop {
iterations: 1
test_args: --story-tag-filter=top_real_world_desktop
suite: telemetry_Crosperf
}
benchmark: rendering.desktop {
iterations: 1
test_args: --story-tag-filter=tough_canvas
suite: telemetry_Crosperf
}
We want to run rendering.desktop benchmark twice with different --story-tag-filter. But now crosperf will raise an error since the name of the two benchmarks are the same.
,
Nov 15
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/toolchain-utils/+/69c558b42977054d6168ad13829ebdd80ad77a7c commit 69c558b42977054d6168ad13829ebdd80ad77a7c Author: Zhizhou Yang <zhizhouy@google.com> Date: Thu Nov 15 10:16:59 2018 crosperf: do not allow more than one story tags in test_args This patch added a check at stage of parsing benchmark, to ensure that story tag only appear once in test_args. This is because more than one story tags will cause an implicit failure when running benchmark on DUT and crosperf cannot catch it. BUG= chromium:902466 TEST=Passed unit tests and a simple test Change-Id: Ic8e4aa19928911fb4ed03529ab89471856cec05c Reviewed-on: https://chromium-review.googlesource.com/1330010 Commit-Ready: Zhizhou Yang <zhizhouy@google.com> Tested-by: Zhizhou Yang <zhizhouy@google.com> Reviewed-by: Caroline Tice <cmtice@chromium.org> [modify] https://crrev.com/69c558b42977054d6168ad13829ebdd80ad77a7c/crosperf/experiment_factory_unittest.py [modify] https://crrev.com/69c558b42977054d6168ad13829ebdd80ad77a7c/crosperf/experiment_factory.py
,
Dec 6
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by bugdroid1@chromium.org
, Nov 9