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

Issue 1395273002: PerfProvider: Run a randomly selected perf command (Closed)

Created:
5 years, 2 months ago by dhsharp
Modified:
5 years, 2 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@collection_params
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PerfProvider: Run a randomly selected perf command Based on the CPU, select a set of perf commands to run, and put these in a RandomSelector to choose one command at random in each instance. Call the dbus method org.chromium.debugd.GetPerfOutput to run perf with the command. The command set used is based on the system architecture, CPU microarchitecture, or CPU model string. The command set selection logic is the same as that currently used by GetRandomPerfOutput in debugd. In the near future, this work will allow overriding the command set used using FieldTrials and Finch. BUG=538759 Committed: https://crrev.com/659ffbe6f46382e968a38fb336f371be737f3301 Cr-Commit-Position: refs/heads/master@{#354073}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Address comments on PS1 #

Total comments: 10

Patch Set 3 : Address comments on PS2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -1 line) Patch
M chrome/browser/metrics/perf/perf_provider_chromeos.h View 1 2 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/metrics/perf/perf_provider_chromeos.cc View 1 2 5 chunks +90 lines, -1 line 0 comments Download
M chrome/browser/metrics/perf/perf_provider_chromeos_unittest.cc View 1 2 2 chunks +123 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (3 generated)
dhsharp
Adding Ilya this time too to spread the load, and since Monday is a holiday ...
5 years, 2 months ago (2015-10-09 23:08:53 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/1395273002/diff/1/chrome/browser/metrics/perf/perf_provider_chromeos.cc File chrome/browser/metrics/perf/perf_provider_chromeos.cc (right): https://codereview.chromium.org/1395273002/diff/1/chrome/browser/metrics/perf/perf_provider_chromeos.cc#newcode24 chrome/browser/metrics/perf/perf_provider_chromeos.cc:24: namespace internal { Nit: Move this below the anon ...
5 years, 2 months ago (2015-10-13 17:31:19 UTC) #3
dhsharp
https://codereview.chromium.org/1395273002/diff/1/chrome/browser/metrics/perf/perf_provider_chromeos.cc File chrome/browser/metrics/perf/perf_provider_chromeos.cc (right): https://codereview.chromium.org/1395273002/diff/1/chrome/browser/metrics/perf/perf_provider_chromeos.cc#newcode24 chrome/browser/metrics/perf/perf_provider_chromeos.cc:24: namespace internal { On 2015/10/13 17:31:19, Alexei Svitkine(OOO til ...
5 years, 2 months ago (2015-10-13 23:36:23 UTC) #4
Alexei Svitkine (slow)
LGTM % remaining comments https://codereview.chromium.org/1395273002/diff/1/chrome/browser/metrics/perf/perf_provider_chromeos.cc File chrome/browser/metrics/perf/perf_provider_chromeos.cc (right): https://codereview.chromium.org/1395273002/diff/1/chrome/browser/metrics/perf/perf_provider_chromeos.cc#newcode52 chrome/browser/metrics/perf/perf_provider_chromeos.cc:52: using WeightAndValue = RandomSelector::WeightAndValue; On ...
5 years, 2 months ago (2015-10-14 15:53:59 UTC) #5
dhsharp
https://codereview.chromium.org/1395273002/diff/20001/chrome/browser/metrics/perf/perf_provider_chromeos.cc File chrome/browser/metrics/perf/perf_provider_chromeos.cc (right): https://codereview.chromium.org/1395273002/diff/20001/chrome/browser/metrics/perf/perf_provider_chromeos.cc#newcode142 chrome/browser/metrics/perf/perf_provider_chromeos.cc:142: if (cpuid.arch == "x86_64") // 64-bit x86 On 2015/10/14 ...
5 years, 2 months ago (2015-10-14 18:07:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1395273002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1395273002/40001
5 years, 2 months ago (2015-10-14 18:09:25 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-14 18:36:30 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-10-14 18:38:04 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/659ffbe6f46382e968a38fb336f371be737f3301
Cr-Commit-Position: refs/heads/master@{#354073}

Powered by Google App Engine
This is Rietveld 408576698