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

Issue 2821663002: [tools/perf] Remove default values of benchmark_dirs and top_level_dir in chromium_config module (Closed)

Created:
3 years, 8 months ago by nednguyen
Modified:
3 years, 8 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[tools/perf] Remove default values of benchmark_dirs and top_level_dir in chromium_config module Part of this CL also moves GetChromiumSrcDir & GetTelemetryDir methods to tools.perf.core.path_util module Motivation: to move experiemental benchmarks to a separate folder & still make run_benchmarks be able to detect them, I will need to modify run_benchmarks to also include experiemental benchmark folder in |benchmark_dirs| parameter. Upon doing that, I find that there is no need to set the default the value of benchmark_dirs & top_level_dir. BUG=709063 TBR=perezju@chromium.org Review-Url: https://codereview.chromium.org/2821663002 Cr-Commit-Position: refs/heads/master@{#465016} Committed: https://chromium.googlesource.com/chromium/src/+/09cd8622560496d63dd16d0b10a7c515dbc5c3ff

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address martiniss@'s comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -34 lines) Patch
M tools/perf/chrome_telemetry_build/chromium_config.py View 1 2 chunks +5 lines, -24 lines 0 comments Download
M tools/perf/core/path_util.py View 1 chunk +4 lines, -7 lines 0 comments Download
M tools/perf/core/perf_data_generator.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/run_benchmark View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 23 (14 generated)
nednguyen
3 years, 8 months ago (2017-04-14 14:16:19 UTC) #4
nednguyen
On 2017/04/14 14:16:19, nednguyen wrote: ping
3 years, 8 months ago (2017-04-17 10:22:21 UTC) #9
martiniss
lgtm https://codereview.chromium.org/2821663002/diff/1/tools/perf/chrome_telemetry_build/chromium_config.py File tools/perf/chrome_telemetry_build/chromium_config.py (right): https://codereview.chromium.org/2821663002/diff/1/tools/perf/chrome_telemetry_build/chromium_config.py#newcode22 tools/perf/chrome_telemetry_build/chromium_config.py:22: default_chrome_root=path_util.GetChromiumSrcDir()): nit: I'm not used to putting function ...
3 years, 8 months ago (2017-04-17 19:42:48 UTC) #10
nednguyen
https://codereview.chromium.org/2821663002/diff/1/tools/perf/chrome_telemetry_build/chromium_config.py File tools/perf/chrome_telemetry_build/chromium_config.py (right): https://codereview.chromium.org/2821663002/diff/1/tools/perf/chrome_telemetry_build/chromium_config.py#newcode22 tools/perf/chrome_telemetry_build/chromium_config.py:22: default_chrome_root=path_util.GetChromiumSrcDir()): On 2017/04/17 19:42:48, martiniss wrote: > nit: I'm ...
3 years, 8 months ago (2017-04-17 19:55:25 UTC) #11
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/2821663002/20001
3 years, 8 months ago (2017-04-17 20:00:00 UTC) #14
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 8 months ago (2017-04-17 20:00:02 UTC) #16
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/2821663002/20001
3 years, 8 months ago (2017-04-17 20:01:11 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/09cd8622560496d63dd16d0b10a7c515dbc5c3ff
3 years, 8 months ago (2017-04-17 21:12:39 UTC) #22
alexmos
3 years, 8 months ago (2017-04-17 22:06:08 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2823063003/ by alexmos@chromium.org.

The reason for reverting is: Suspected to be breaking various tests, e.g.: 

https://build.chromium.org/p/chromium.gpu/builders/Mac%20Release%20%28Intel%2...

https://build.chromium.org/p/chromium.gpu/builders/Linux%20Release%20%28NVIDI...

https://build.chromium.org/p/chromium.mac/builders/Mac10.9%20Tests/builds/39799

The logs show a python failure similar to

Traceback (most recent call last): File
"../../content/test/gpu/run_unittests.py", line 15, in <module>
path_util.SetupTelemetryPaths() File
"/b/swarm_slave/w/ir/content/test/gpu/gpu_tests/path_util.py", line 31, in
SetupTelemetryPaths from chrome_telemetry_build import chromium_config File
"/b/swarm_slave/w/ir/tools/perf/chrome_telemetry_build/chromium_config.py", line
7, in <module> from core import path_util ImportError: No module named core .

Powered by Google App Engine
This is Rietveld 408576698