|
|
Created:
5 years, 9 months ago by Alexei Svitkine (slow) Modified:
5 years, 9 months ago CC:
chromium-reviews, not at google - send to devlin Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionAdd lightspeed experiments to disable gpu.
BUG=465771
Committed: https://crrev.com/54199ddc0b3bfb598d41682e6c2f2781050ed067
Cr-Commit-Position: refs/heads/master@{#320125}
Patch Set 1 : Gpu and extensions. #Patch Set 2 : Only gpu. #
Total comments: 5
Patch Set 3 : Consolidate code for one param. #Messages
Total messages: 22 (5 generated)
asvitkine@chromium.org changed reviewers: + gab@chromium.org, kalman@chromium.org, vangelis@chromium.org
asvitkine@chromium.org changed required reviewers: + gab@chromium.org
gab: Overall review. vangelis: FYI for GPU - I've tested that this happens early enough. kalman: FYI for extensions
> kalman: FYI for extensions Let's discuss this on the bug, and not include it as part of this CL.
Okay, re-purposing this CL to just do this for GPU only for now. We can discuss extensions on the bug and do a follow-up CL if needed. On Tue, Mar 10, 2015 at 1:10 PM, <kalman@chromium.org> wrote: > > kalman: FYI for extensions >> > > Let's discuss this on the bug, and not include it as part of this CL. > > https://codereview.chromium.org/993003002/ > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
asvitkine@chromium.org changed reviewers: - kalman@chromium.org
Done, now controlling GPU only.
kalman@chromium.org changed reviewers: + kalman@chromium.org
Thanks!
gab and vangelis: PTAL On Tue, Mar 10, 2015 at 1:17 PM, <kalman@chromium.org> wrote: > Thanks! > > https://codereview.chromium.org/993003002/ > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
https://codereview.chromium.org/993003002/diff/20001/chrome/browser/chrome_br... File chrome/browser/chrome_browser_field_trials_desktop.cc (right): https://codereview.chromium.org/993003002/diff/20001/chrome/browser/chrome_br... chrome/browser/chrome_browser_field_trials_desktop.cc:69: if (!variations::GetVariationParams("LightSpeed", ¶ms)) Why not use typical GetVariationParamValue("LightSpeed", "NoGpu")? https://codereview.chromium.org/993003002/diff/20001/chrome/browser/chrome_br... chrome/browser/chrome_browser_field_trials_desktop.cc:71: base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); Inline this below.
https://codereview.chromium.org/993003002/diff/20001/chrome/browser/chrome_br... File chrome/browser/chrome_browser_field_trials_desktop.cc (right): https://codereview.chromium.org/993003002/diff/20001/chrome/browser/chrome_br... chrome/browser/chrome_browser_field_trials_desktop.cc:69: if (!variations::GetVariationParams("LightSpeed", ¶ms)) On 2015/03/10 19:42:12, gab wrote: > Why not use typical GetVariationParamValue("LightSpeed", "NoGpu")? This was setting up up multiple parameters in a previous patchset. If we will end up adding more things here, it will be a smaller diff. (There are no efficiency gains since GetVariationParamValue() does a copy of the map internally anyway.)
I updated the code to use APIs that are a bit more concise if only one param is being checked. PTAL. https://codereview.chromium.org/993003002/diff/20001/chrome/browser/chrome_br... File chrome/browser/chrome_browser_field_trials_desktop.cc (right): https://codereview.chromium.org/993003002/diff/20001/chrome/browser/chrome_br... chrome/browser/chrome_browser_field_trials_desktop.cc:69: if (!variations::GetVariationParams("LightSpeed", ¶ms)) On 2015/03/10 19:48:36, Alexei Svitkine (slow) wrote: > On 2015/03/10 19:42:12, gab wrote: > > Why not use typical GetVariationParamValue("LightSpeed", "NoGpu")? > > This was setting up up multiple parameters in a previous patchset. If we will > end up adding more things here, it will be a smaller diff. (There are no > efficiency gains since GetVariationParamValue() does a copy of the map > internally anyway.) Done. https://codereview.chromium.org/993003002/diff/20001/chrome/browser/chrome_br... chrome/browser/chrome_browser_field_trials_desktop.cc:71: base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); On 2015/03/10 19:42:12, gab wrote: > Inline this below. Done.
lgtm (assuming that adding the --disable-gpu at that point is early enough for it to disable all it intends to disable) Thanks, Gab
I tested with chrome://gpu and it did show it disabled. On Mar 11, 2015 11:59 AM, <gab@chromium.org> wrote: > lgtm (assuming that adding the --disable-gpu at that point is early enough > for > it to disable all it intends to disable) > > Thanks, > Gab > > https://codereview.chromium.org/993003002/ > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
On 2015/03/11 16:21:36, Alexei Svitkine (slow) wrote: > I tested with chrome://gpu and it did show it disabled. > On Mar 11, 2015 11:59 AM, <mailto:gab@chromium.org> wrote: > > > lgtm (assuming that adding the --disable-gpu at that point is early enough > > for > > it to disable all it intends to disable) > > > > Thanks, > > Gab > > > > https://codereview.chromium.org/993003002/ > > > > To unsubscribe from this group and stop receiving emails from it, send an email > to mailto:chromium-reviews+unsubscribe@chromium.org. We need to be careful with this as disabling GPU also means no WebGL. Ideally this experimentation should only be done in the early channels (Canary, Dev). Would the --disable-gpu flag show up in about:version or about:gpu ? LGTM
On 2015/03/11 16:33:08, vangelis wrote: > On 2015/03/11 16:21:36, Alexei Svitkine (slow) wrote: > > I tested with chrome://gpu and it did show it disabled. > > On Mar 11, 2015 11:59 AM, <mailto:gab@chromium.org> wrote: > > > > > lgtm (assuming that adding the --disable-gpu at that point is early enough > > > for > > > it to disable all it intends to disable) > > > > > > Thanks, > > > Gab > > > > > > https://codereview.chromium.org/993003002/ > > > > > > > To unsubscribe from this group and stop receiving emails from it, send an > email > > to mailto:chromium-reviews+unsubscribe@chromium.org. > > We need to be careful with this as disabling GPU also means no WebGL. Ideally > this experimentation should only be done in the early channels (Canary, Dev). > Would the --disable-gpu flag show up in about:version or about:gpu ? > > LGTM Thanks! Let me check about about:gpu and about:version. Note: We do plan to experiment on only canary in a session-randomized trial (so it will re-roll you if you restart).
On 2015/03/11 17:00:59, Alexei Svitkine (slow) wrote: > On 2015/03/11 16:33:08, vangelis wrote: > > On 2015/03/11 16:21:36, Alexei Svitkine (slow) wrote: > > > I tested with chrome://gpu and it did show it disabled. > > > On Mar 11, 2015 11:59 AM, <mailto:gab@chromium.org> wrote: > > > > > > > lgtm (assuming that adding the --disable-gpu at that point is early enough > > > > for > > > > it to disable all it intends to disable) > > > > > > > > Thanks, > > > > Gab > > > > > > > > https://codereview.chromium.org/993003002/ > > > > > > > > > > To unsubscribe from this group and stop receiving emails from it, send an > > email > > > to mailto:chromium-reviews+unsubscribe@chromium.org. > > > > We need to be careful with this as disabling GPU also means no WebGL. Ideally > > this experimentation should only be done in the early channels (Canary, Dev). > > Would the --disable-gpu flag show up in about:version or about:gpu ? > > > > LGTM > > Thanks! Let me check about about:gpu and about:version. Note: We do plan to > experiment on only canary in a session-randomized trial (so it will re-roll you > if you restart). --disable-gpu will show up on chrome://gpu and chrome://version. However, chrome://version will also show the field trial group, so this can be correlated with the flag to determine that it's caused by the experiment.
The CQ bit was checked by asvitkine@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/993003002/40001
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/54199ddc0b3bfb598d41682e6c2f2781050ed067 Cr-Commit-Position: refs/heads/master@{#320125} |