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

Issue 632013002: [Telemetry] Replace RunStressMemorey with RunPageInteraction (Closed)

Created:
6 years, 2 months ago by nednguyen
Modified:
6 years, 2 months ago
Reviewers:
tonyg, dtu, ernstm, chrishenry, nduca
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Telemetry] Replace RunStressMemorey with RunPageInteraction BUG=418375 Committed: https://crrev.com/7eae1996f473949a11f3ba6200056bc0c2db3d6f Cr-Commit-Position: refs/heads/master@{#298883}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add tags attribute to user_story #

Patch Set 3 : Remove tags attribute and add unittest to make sure there is no mixedin between legacy & new Run me… #

Total comments: 1

Patch Set 4 : Ready to land #

Patch Set 5 : Rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+333 lines, -675 lines) Patch
M tools/perf/benchmarks/memory.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/measurements/memory.py View 2 1 chunk +1 line, -1 line 1 comment Download
M tools/perf/page_sets/mobile_memory.py View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M tools/perf/page_sets/top_25.py View 1 2 3 4 7 chunks +0 lines, -174 lines 0 comments Download
A + tools/perf/page_sets/top_7_stress.py View 1 2 3 4 16 chunks +22 lines, -249 lines 0 comments Download
M tools/perf/page_sets/top_desktop_sites_2012Q3.py View 1 2 3 4 3 chunks +243 lines, -245 lines 0 comments Download
A tools/perf/page_sets/top_desktop_sites_2012Q3_stress.py View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
M tools/perf/page_sets/tough_dom_memory_cases.py View 2 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/unittest/page_set_smoke_test.py View 1 2 3 4 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (12 generated)
nednguyen
6 years, 2 months ago (2014-10-06 20:55:30 UTC) #2
tonyg
https://codereview.chromium.org/632013002/diff/1/tools/perf/page_sets/top_25.py File tools/perf/page_sets/top_25.py (right): https://codereview.chromium.org/632013002/diff/1/tools/perf/page_sets/top_25.py#newcode48 tools/perf/page_sets/top_25.py:48: def RunPageInteractions(self, action_runner): This was a nice, general purpose ...
6 years, 2 months ago (2014-10-06 21:06:37 UTC) #3
nednguyen
https://codereview.chromium.org/632013002/diff/1/tools/perf/page_sets/top_25.py File tools/perf/page_sets/top_25.py (right): https://codereview.chromium.org/632013002/diff/1/tools/perf/page_sets/top_25.py#newcode48 tools/perf/page_sets/top_25.py:48: def RunPageInteractions(self, action_runner): On 2014/10/06 21:06:36, tonyg wrote: > ...
6 years, 2 months ago (2014-10-06 21:40:41 UTC) #5
nduca
some rambling thoughts https://codereview.chromium.org/632013002/diff/1/tools/perf/page_sets/top_25.py File tools/perf/page_sets/top_25.py (right): https://codereview.chromium.org/632013002/diff/1/tools/perf/page_sets/top_25.py#newcode48 tools/perf/page_sets/top_25.py:48: def RunPageInteractions(self, action_runner): backin gup... maybe ...
6 years, 2 months ago (2014-10-07 17:46:48 UTC) #6
nednguyen
On 2014/10/07 17:46:48, nduca wrote: > some rambling thoughts > > https://codereview.chromium.org/632013002/diff/1/tools/perf/page_sets/top_25.py > File tools/perf/page_sets/top_25.py ...
6 years, 2 months ago (2014-10-07 17:59:07 UTC) #7
nednguyen
6 years, 2 months ago (2014-10-07 21:38:48 UTC) #10
ernstm
On 2014/10/07 21:38:48, nednguyen wrote: Why do we need the tagging mechanism? If we split ...
6 years, 2 months ago (2014-10-07 22:36:19 UTC) #11
nednguyen
On 2014/10/07 22:36:19, ernstm wrote: > On 2014/10/07 21:38:48, nednguyen wrote: > > Why do ...
6 years, 2 months ago (2014-10-07 22:44:09 UTC) #12
ernstm
On 2014/10/07 22:44:09, nednguyen wrote: > On 2014/10/07 22:36:19, ernstm wrote: > > On 2014/10/07 ...
6 years, 2 months ago (2014-10-07 22:55:08 UTC) #13
nednguyen
On 2014/10/07 22:55:08, ernstm wrote: > On 2014/10/07 22:44:09, nednguyen wrote: > > On 2014/10/07 ...
6 years, 2 months ago (2014-10-08 22:37:27 UTC) #14
tonyg
lgtm I like this new approach a lot. Thanks! https://codereview.chromium.org/632013002/diff/60001/tools/telemetry/telemetry/unittest/page_set_smoke_test.py File tools/telemetry/telemetry/unittest/page_set_smoke_test.py (right): https://codereview.chromium.org/632013002/diff/60001/tools/telemetry/telemetry/unittest/page_set_smoke_test.py#newcode63 tools/telemetry/telemetry/unittest/page_set_smoke_test.py:63: ...
6 years, 2 months ago (2014-10-09 01:07:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/632013002/60001
6 years, 2 months ago (2014-10-09 01:40:33 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/16516)
6 years, 2 months ago (2014-10-09 03:13:46 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/632013002/80001
6 years, 2 months ago (2014-10-09 04:14:42 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/20594) win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/17433)
6 years, 2 months ago (2014-10-09 05:03:35 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/632013002/100001
6 years, 2 months ago (2014-10-09 14:51:29 UTC) #25
commit-bot: I haz the power
Failed to commit the patch.
6 years, 2 months ago (2014-10-09 15:53:54 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/632013002/100001
6 years, 2 months ago (2014-10-09 15:57:00 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:100001) as 216c11762d508ac9530f0e0aa6800805e7df0bee
6 years, 2 months ago (2014-10-09 15:59:39 UTC) #31
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/7eae1996f473949a11f3ba6200056bc0c2db3d6f Cr-Commit-Position: refs/heads/master@{#298883}
6 years, 2 months ago (2014-10-09 16:00:50 UTC) #32
chrishenry
Looks nice, lgtm. Very much liking naming the page not based on measurement but on ...
6 years, 2 months ago (2014-10-09 16:30:03 UTC) #33
nednguyen
On 2014/10/09 16:30:03, chrishenry wrote: > Looks nice, lgtm. Very much liking naming the page ...
6 years, 2 months ago (2014-10-09 16:41:45 UTC) #34
chromium-reviews
On Thu, Oct 9, 2014 at 9:41 AM, <nednguyen@google.com> wrote: > On 2014/10/09 16:30:03, chrishenry ...
6 years, 2 months ago (2014-10-09 17:31:25 UTC) #35
nednguyen
On 2014/10/09 17:31:25, chromium-reviews wrote: > On Thu, Oct 9, 2014 at 9:41 AM, <mailto:nednguyen@google.com> ...
6 years, 2 months ago (2014-10-09 17:47:44 UTC) #36
chromium-reviews
6 years, 2 months ago (2014-10-09 18:00:46 UTC) #37
On Thu, Oct 9, 2014 at 10:47 AM, nednguyen via telemetry <
telemetry@chromium.org> wrote:

> On 2014/10/09 17:31:25, chromium-reviews wrote:
>
>  On Thu, Oct 9, 2014 at 9:41 AM, <mailto:nednguyen@google.com> wrote:
>>
>
>  > On 2014/10/09 16:30:03, chrishenry wrote:
>> >
>> >> Looks nice, lgtm. Very much liking naming the page not based on
>> >> measurement
>> >>
>> > but
>> >
>> >> on what it's doing (the actual interactions).
>> >>
>> >
>> >  That said, please address the naming comment below.
>> >>
>> >
>> >
>> > https://codereview.chromium.org/632013002/diff/100001/
>> > tools/perf/measurements/memory.py
>> >
>> >> File tools/perf/measurements/memory.py (right):
>> >>
>> >
>> >
>> > https://codereview.chromium.org/632013002/diff/100001/
>> > tools/perf/measurements/memory.py#newcode11
>> >
>> >> tools/perf/measurements/memory.py:11: super(Memory,
>> >> self).__init__('RunPageInteractions')
>> >> Eh, can we not name it RunPageInteractions? This seems to be adding
>> work
>> >> to
>> >> telemetry v2 refactoring bucket (Page -> UserStory rename).
>> >>
>> > Run/RunInteractions
>> >
>> >> will do right?
>> >>
>> >
>> > The distinction between RunNavigateSteps & RunPageInteractions for
>> legacy
>> > hooks
>> > to work gonna be around a while. So:
>> >
>> > def UserStory::Run():
>> > ...
>> >
>> > def Page::Run(page_test):
>> >    page_test.WillRunNavigate()
>> >    self.RunNavigateSteps()
>> >    page_test.DidRunNavigate()
>> >    page_test.WillRunTest() # Probably should merge this with
>> DidRunNavigate
>> >    self.RunPageInteractions()
>> >    ...
>> >
>>
>
>  So non-Page UserStory only works with TimelineBasedMeasurement and not
>> legacy measurements?
>>
>
> Yes, we will live with that for a while. Migrating the act of turning on
> some
> profilers from DidRunNavigateSteps to WillRunUserStory() may cause some
> regressions, so let have all eyes focus on it after telemetry v2 is in a
> better
> shape.


Ok, sounds reasonable.

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698