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

Issue 2829423002: Fix tab_switching to support flag --pageset-repeat properly (Closed)

Created:
3 years, 8 months ago by vovoy
Modified:
3 years, 8 months ago
Reviewers:
perezju, nednguyen
CC:
chromium-reviews, telemetry-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix tab_switching to support flag --pageset-repeat properly BUG=689388

Patch Set 1 #

Patch Set 2 : only tab switching on the last pageset #

Patch Set 3 : only tab switching on the last pageset #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -7 lines) Patch
M tools/perf/benchmarks/tab_switching.py View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/perf/measurements/tab_switching.py View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/perf/page_sets/system_health/multi_tab_stories.py View 1 2 2 chunks +24 lines, -7 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
vovoy
ptal
3 years, 8 months ago (2017-04-23 10:38:19 UTC) #7
vovoy
On 2017/04/23 10:38:19, vovoy wrote: > ptal ref: discussion on https://codereview.chromium.org/2819423002/
3 years, 8 months ago (2017-04-24 06:46:50 UTC) #8
vovoy
If tab switching on every pageset, the metrics data would be a mix of tab ...
3 years, 8 months ago (2017-04-24 10:02:26 UTC) #15
nednguyen
On 2017/04/24 10:02:26, vovoy wrote: > If tab switching on every pageset, the metrics data ...
3 years, 8 months ago (2017-04-24 11:25:48 UTC) #16
perezju
On 2017/04/24 11:25:48, nednguyen wrote: > On 2017/04/24 10:02:26, vovoy wrote: > > If tab ...
3 years, 8 months ago (2017-04-24 12:03:51 UTC) #17
vovoy
On 2017/04/24 11:25:48, nednguyen wrote: > On 2017/04/24 10:02:26, vovoy wrote: > > If tab ...
3 years, 8 months ago (2017-04-24 12:06:19 UTC) #18
nednguyen
On 2017/04/24 12:03:51, perezju wrote: > On 2017/04/24 11:25:48, nednguyen wrote: > > On 2017/04/24 ...
3 years, 8 months ago (2017-04-24 12:12:02 UTC) #19
vovoy
3 years, 8 months ago (2017-04-24 12:16:41 UTC) #20
On 2017/04/24 12:12:02, nednguyen wrote:
> On 2017/04/24 12:03:51, perezju wrote:
> > On 2017/04/24 11:25:48, nednguyen wrote:
> > > On 2017/04/24 10:02:26, vovoy wrote:
> > > > If tab switching on every pageset, the metrics data would be a mix of
tab
> > > > switching on different tab counts (24, 48, 72...) and is meaningless.
> > > > 
> > > > I tried to only tab switching on the last pageset, but the current patch
> is
> > > > hacky. Is there any other way to get --pageset-repeat value in a story?
> > > 
> > > Oh, you're right that we have this problem. 
> > > +Juan: how do the long running memory stress test deal with this?
> > 
> > On that test each story opens a single page; and the default mechanism of
the
> > story runner for --storyset-repeat will repeat those.
> > 
> > I think this option is being awkward to write because it breaks our current
> > abstractions of what story/story-set's are.
> > 
> > Ideally stories should be independent units of measurement, which can be
> > grouped into story sets, and repeated as needed to obtain more samples.
> > 
> > We sometimes drop the "independent" requirement (as in the current long
> > running benchmarks), allowing the browser to stay open between stories.
> > 
> > But I think we shouldn't drop the "unit of measurement"; that is each story
> > should delineate the "what" we want to measure.
> > 
> > With this CL as is, issuing --pageset-repeat 3 will yield:
> > 
> > - open 24 tabs -> measure
> > - open 24 more tabs, 48 are open -> measure
> > - open 24 more tabs, 72 are open, switch through all the tabs -> measure
> > 
> > And then average the 3 measurements. That's surely not what we want.
> > 
> > The more I think about it, the more I think that the only reasonable
> > solution is to have a --tabset-repeat as in the previous CL, and then
> > have the whole "open 72 tabs, switch through them, and measure" as a
> > single story.
> > 
> > Or, can you think of other alternatives?
> 
> I totally agree with this. I also open a bug to kill is_multi_tab_test in
> https://github.com/catapult-project/catapult/issues/3514
> 
> Sorry for the back n forth, vovoy@. I think we should just use your other CL.

OK, I will work on the other CL.

Powered by Google App Engine
This is Rietveld 408576698