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

Issue 2581243004: Pass main thread responsiveness threshold via Finch (Closed)

Created:
4 years ago by tdresser
Modified:
3 years, 10 months ago
CC:
alex clarke (OOO till 29th), blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, dtapuska+chromiumwatch_chromium.org, jam, mlamouri+watch-content_chromium.org, scheduler-bugs_chromium.org, Sami
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix negative threshold, BUILD.gn #

Total comments: 3

Patch Set 3 : Pass threshold via group name. #

Patch Set 4 : Clean up dependencies #

Patch Set 5 : Use EXPECT_FALSE/TRUE - avoids compile error. #

Messages

Total messages: 40 (27 generated)
tdresser
+jwd for variations dependency +jochen@ for the rest +Sami & Alex FYI.
4 years ago (2016-12-16 19:53:28 UTC) #4
dtapuska
lgtm % nit https://codereview.chromium.org/2581243004/diff/1/content/renderer/input/main_thread_event_queue.cc File content/renderer/input/main_thread_event_queue.cc (right): https://codereview.chromium.org/2581243004/diff/1/content/renderer/input/main_thread_event_queue.cc#newcode90 content/renderer/input/main_thread_event_queue.cc:90: enable_non_blocking_due_to_main_thread_responsiveness_flag_ = false; What about negative ...
4 years ago (2016-12-16 19:59:46 UTC) #8
tdresser
https://codereview.chromium.org/2581243004/diff/1/content/renderer/input/main_thread_event_queue.cc File content/renderer/input/main_thread_event_queue.cc (right): https://codereview.chromium.org/2581243004/diff/1/content/renderer/input/main_thread_event_queue.cc#newcode90 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: > ...
4 years ago (2016-12-16 20:12:08 UTC) #11
jochen (gone - plz use gerrit)
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 ...
4 years ago (2016-12-19 11:52:42 UTC) #16
tdresser
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), ...
4 years ago (2016-12-19 13:25:40 UTC) #18
Sami
https://codereview.chromium.org/2581243004/diff/20001/content/renderer/input/main_thread_event_queue.cc File content/renderer/input/main_thread_event_queue.cc (right): https://codereview.chromium.org/2581243004/diff/20001/content/renderer/input/main_thread_event_queue.cc#newcode85 content/renderer/input/main_thread_event_queue.cc:85: std::string threshold = variations::GetVariationParamValueByFeature( Are you sure this works? ...
4 years ago (2016-12-19 16:05:26 UTC) #20
jwd
On 2016/12/19 16:05:26, Sami wrote: > https://codereview.chromium.org/2581243004/diff/20001/content/renderer/input/main_thread_event_queue.cc > File content/renderer/input/main_thread_event_queue.cc (right): > > https://codereview.chromium.org/2581243004/diff/20001/content/renderer/input/main_thread_event_queue.cc#newcode85 > ...
4 years ago (2016-12-19 16:48:52 UTC) #21
tdresser
Thanks folks. What's the best way to test passing parameters to the Renderer? Do I ...
4 years ago (2016-12-19 17:49:40 UTC) #22
jwd
On 2016/12/19 17:49:40, tdresser wrote: > Thanks folks. What's the best way to test passing ...
4 years ago (2016-12-19 19:46:56 UTC) #23
tdresser
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
jochen (gone - plz use gerrit)
lgtm
3 years, 10 months ago (2017-02-09 13:18:39 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2581243004/80001
3 years, 10 months ago (2017-02-09 13:20:27 UTC) #37
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 13:25:35 UTC) #40
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/0c4dc23c2c1a24df3f57347c0765...

Powered by Google App Engine
This is Rietveld 408576698