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

Issue 2391193003: [tools] run-perf: ensure command line arguments are prepended (Closed)

Created:
4 years, 2 months ago by Leszek Swirski
Modified:
4 years, 2 months ago
Reviewers:
rmcilroy
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[tools] run-perf: ensure command line arguments are prepended This change to run-perf.sh ensures that command line arguments are prepended rather than appended to the passed in command. This is to ensure that the arguments to d8 aren't accidentally passed through to the js instead, as would be in the case: tools/run-perf.sh d8 main.js -- --js-arg A real-life example is passing --predictable to Octane's run.js Committed: https://crrev.com/fdc277e645c9ce7cec2ab65d117a7f14cd70f17d Cr-Commit-Position: refs/heads/master@{#39999}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix being stupid (at least in this case) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M tools/run-perf.sh View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
Leszek Swirski
Small change to fix how run-perf works when running Octane
4 years, 2 months ago (2016-10-05 11:13:33 UTC) #2
rmcilroy
https://codereview.chromium.org/2391193003/diff/1/tools/run-perf.sh File tools/run-perf.sh (right): https://codereview.chromium.org/2391193003/diff/1/tools/run-perf.sh#newcode58 tools/run-perf.sh:58: -i $1 --perf_basic_prof "$@" Should the $1 here be ...
4 years, 2 months ago (2016-10-05 11:26:49 UTC) #3
Leszek Swirski
https://codereview.chromium.org/2391193003/diff/1/tools/run-perf.sh File tools/run-perf.sh (right): https://codereview.chromium.org/2391193003/diff/1/tools/run-perf.sh#newcode58 tools/run-perf.sh:58: -i $1 --perf_basic_prof "$@" On 2016/10/05 11:26:49, rmcilroy wrote: ...
4 years, 2 months ago (2016-10-05 11:29:41 UTC) #4
rmcilroy
LGTM.
4 years, 2 months ago (2016-10-05 14:43:34 UTC) #5
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/2391193003/20001
4 years, 2 months ago (2016-10-05 14:47:57 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-05 15:15:23 UTC) #8
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 15:15:47 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fdc277e645c9ce7cec2ab65d117a7f14cd70f17d
Cr-Commit-Position: refs/heads/master@{#39999}

Powered by Google App Engine
This is Rietveld 408576698