Pass main thread responsiveness threshold via Finch
This will allow us to tune when a page is considered unresponsive
for the main thread responsiveness intervention.
To test, use:
--enable-features="MainThreadBusyScrollIntervention"
--force-fieldtrials=MainThreadResponsivenessScrollIntervention/Enabled150
BUG=599609
TEST=MainThreadEventQueueInitializationTest, RendererSchedulerImplTest, manual testing of passing via commandline.
Review-Url: https://codereview.chromium.org/2581243004
Cr-Commit-Position: refs/heads/master@{#449276}
Committed: https://chromium.googlesource.com/chromium/src/+/0c4dc23c2c1a24df3f57347c0765b4872730c632
Description was changed from
==========
Pass main thread responsiveness threshold via Finch
This will allow us to tune when a page is considered unresponsive
for the main thread responsiveness intervention.
To test, use:
--enable-features="MainThreadBusyScrollIntervention<Foo" \
--force-fieldtrials=Foo/Group1 \
--force-fieldtrial-params=Foo.Group1:threshold/200
BUG=599609
TEST=RendererSchedulerImplTest, manual testing of passing via commandline.
==========
to
==========
Pass main thread responsiveness threshold via Finch
This will allow us to tune when a page is considered unresponsive
for the main thread responsiveness intervention.
To test, use:
--enable-features="MainThreadBusyScrollIntervention<Foo" \
--force-fieldtrials=Foo/Group1 \
--force-fieldtrial-params=Foo.Group1:threshold/200
BUG=599609
TEST=RendererSchedulerImplTest, manual testing of passing via commandline.
==========
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/182827) android_compile_dbg on ...
https://codereview.chromium.org/2581243004/diff/1/content/renderer/input/main...
File content/renderer/input/main_thread_event_queue.cc (right):
https://codereview.chromium.org/2581243004/diff/1/content/renderer/input/main...
content/renderer/input/main_thread_event_queue.cc:90:
enable_non_blocking_due_to_main_thread_responsiveness_flag_ = false;
On 2016/12/16 19:59:46, dtapuska wrote:
> What about negative values? And StringToInt failing for overflow and
underflow;
> probably want it disabled in those cases no?
>
> I'd expect this to be
>
> if (!StringToInt(..) || threshold_ms <= 0)
StringToInt saturates for overflow and underflow, which I think is fine. Added
handling for negative numbers.
tdresser
The CQ bit was checked by tdresser@chromium.org to run a CQ dry run
https://codereview.chromium.org/2581243004/diff/20001/content/renderer/BUILD.gn File content/renderer/BUILD.gn (right): https://codereview.chromium.org/2581243004/diff/20001/content/renderer/BUILD.gn#newcode407 content/renderer/BUILD.gn:407: "//components/variations", variations depend on prefs, but we don't have ...
There appears to be some code for syncing field trial data to the renderer (https://cs.chromium.org/chromium/src/chrome/renderer/chrome_render_thread_observer.h?cl=GROK&rcl=1482135521&l=76), ...
There appears to be some code for syncing field trial data to the renderer
(https://cs.chromium.org/chromium/src/chrome/renderer/chrome_render_thread_obs...),
but I'm not sure how to verify the behavior of this locally, and it doesn't look
like it supports params.
+rkaplow, should the field trial syncer handle this case? Can I test it locally?
On 2016/12/19 17:49:40, tdresser wrote:
> Thanks folks. What's the best way to test passing parameters to the Renderer?
Do
> I need to set up a local finch instance?
Yup, that would work, you can find info at go/chrome-metrics in the Testing in
Chromium section.
To get around the parameter thing, people have encoded data in the group name,
then just queried the active group for a trial, and parsed it.
Description was changed from ========== Pass main thread responsiveness threshold via Finch This will allow ...
3 years, 10 months ago
(2017-02-08 17:06:47 UTC)
#25
Description was changed from
==========
Pass main thread responsiveness threshold via Finch
This will allow us to tune when a page is considered unresponsive
for the main thread responsiveness intervention.
To test, use:
--enable-features="MainThreadBusyScrollIntervention<Foo" \
--force-fieldtrials=Foo/Group1 \
--force-fieldtrial-params=Foo.Group1:threshold/200
BUG=599609
TEST=RendererSchedulerImplTest, manual testing of passing via commandline.
==========
to
==========
Pass main thread responsiveness threshold via Finch
This will allow us to tune when a page is considered unresponsive
for the main thread responsiveness intervention.
To test, use:
--enable-features="MainThreadBusyScrollIntervention"
--force-fieldtrials=MainThreadResponsivenessScrollIntervention/Enabled150
BUG=599609
TEST=MainThreadEventQueueInitializationTest, RendererSchedulerImplTest, manual
testing of passing via commandline.
==========
tdresser
The CQ bit was checked by tdresser@chromium.org to run a CQ dry run
3 years, 10 months ago
(2017-02-08 17:07:27 UTC)
#26
Sorry for the delay here. Jochen, PTAL. -jwd, as there's no variations dependency anymore. https://codereview.chromium.org/2581243004/diff/20001/content/renderer/BUILD.gn ...
3 years, 10 months ago
(2017-02-08 17:58:52 UTC)
#31
Sorry for the delay here.
Jochen, PTAL.
-jwd, as there's no variations dependency anymore.
https://codereview.chromium.org/2581243004/diff/20001/content/renderer/BUILD.gn
File content/renderer/BUILD.gn (right):
https://codereview.chromium.org/2581243004/diff/20001/content/renderer/BUILD....
content/renderer/BUILD.gn:407: "//components/variations",
On 2016/12/19 11:52:42, jochen wrote:
> variations depend on prefs, but we don't have prefs available in the renderer,
> right?
>
> if there's a part of variations that is independend of prefs, can we factor
that
> out, so the renderer only depends on that?
I've removed this dependency.
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 10 months ago
(2017-02-08 19:48:44 UTC)
#32
CQ is committing da patch. Bot data: {"patchset_id": 80001, "attempt_start_ts": 1486646415133720, "parent_rev": "f5e5811f11d2d7b8d232f07dd5ac0bdbe6822ddf", "commit_rev": "0c4dc23c2c1a24df3f57347c0765b4872730c632"}
3 years, 10 months ago
(2017-02-09 13:24:59 UTC)
#38
CQ is committing da patch.
Bot data: {"patchset_id": 80001, "attempt_start_ts": 1486646415133720,
"parent_rev": "f5e5811f11d2d7b8d232f07dd5ac0bdbe6822ddf", "commit_rev":
"0c4dc23c2c1a24df3f57347c0765b4872730c632"}
commit-bot: I haz the power
Description was changed from ========== Pass main thread responsiveness threshold via Finch This will allow ...
3 years, 10 months ago
(2017-02-09 13:25:34 UTC)
#39
Message was sent while issue was closed.
Description was changed from
==========
Pass main thread responsiveness threshold via Finch
This will allow us to tune when a page is considered unresponsive
for the main thread responsiveness intervention.
To test, use:
--enable-features="MainThreadBusyScrollIntervention"
--force-fieldtrials=MainThreadResponsivenessScrollIntervention/Enabled150
BUG=599609
TEST=MainThreadEventQueueInitializationTest, RendererSchedulerImplTest, manual
testing of passing via commandline.
==========
to
==========
Pass main thread responsiveness threshold via Finch
This will allow us to tune when a page is considered unresponsive
for the main thread responsiveness intervention.
To test, use:
--enable-features="MainThreadBusyScrollIntervention"
--force-fieldtrials=MainThreadResponsivenessScrollIntervention/Enabled150
BUG=599609
TEST=MainThreadEventQueueInitializationTest, RendererSchedulerImplTest, manual
testing of passing via commandline.
Review-Url: https://codereview.chromium.org/2581243004
Cr-Commit-Position: refs/heads/master@{#449276}
Committed:
https://chromium.googlesource.com/chromium/src/+/0c4dc23c2c1a24df3f57347c0765...
==========
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/0c4dc23c2c1a24df3f57347c0765b4872730c632
3 years, 10 months ago
(2017-02-09 13:25:35 UTC)
#40
Issue 2581243004: Pass main thread responsiveness threshold via Finch
(Closed)
Created 4 years ago by tdresser
Modified 3 years, 10 months ago
Reviewers: jochen (gone - plz use gerrit), dtapuska, Sami
Base URL:
Comments: 5