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

Issue 1869423002: [Interpreter] Add visualization tool for Ignition dispatch counters. (Closed)

Created:
4 years, 8 months ago by Stefano Sanfilippo
Modified:
4 years, 8 months ago
Reviewers:
rmcilroy
CC:
v8-reviews_googlegroups.com, oth, rmcilroy, Michael Hablich
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Add visualization tool for Ignition dispatch counters. A new script, bytecode_dispatches_report.py reads the table produced when FLAG_trace_ignition_dispatches is enabled and produces either a report of top source-destination pairs, or a heatmap that can be viewed interactively and saved to file. BUG=v8:4899 LOG=N Committed: https://crrev.com/b4df8dab45bee9fd2f44ddfb3dbd20da03cefc56 Cr-Commit-Position: refs/heads/master@{#35438}

Patch Set 1 : #

Patch Set 2 : Better name for variable. #

Total comments: 14

Patch Set 3 : Use matrix only for printing, renamings, change default behaviour, longer description. #

Total comments: 10

Patch Set 4 : Review. #

Patch Set 5 : Typo fix. #

Patch Set 6 : Extracting code to test, adding unit tests. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -0 lines) Patch
A tools/ignition/bytecode_dispatches_report.py View 1 2 3 4 5 1 chunk +193 lines, -0 lines 0 comments Download
A tools/ignition/bytecode_dispatches_report_test.py View 1 2 3 4 5 1 chunk +31 lines, -0 lines 3 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (13 generated)
Stefano Sanfilippo
Here's the followup to https://codereview.chromium.org/1828633003/ with the viz script. PTAL.
4 years, 8 months ago (2016-04-08 15:21:44 UTC) #3
rmcilroy
https://codereview.chromium.org/1869423002/diff/40001/tools/ignition/plot_bytecode_dispatches.py File tools/ignition/plot_bytecode_dispatches.py (right): https://codereview.chromium.org/1869423002/diff/40001/tools/ignition/plot_bytecode_dispatches.py#newcode13 tools/ignition/plot_bytecode_dispatches.py:13: import numpy as np nit - don't use "as" ...
4 years, 8 months ago (2016-04-11 16:35:16 UTC) #5
Stefano Sanfilippo
https://codereview.chromium.org/1869423002/diff/40001/tools/ignition/plot_bytecode_dispatches.py File tools/ignition/plot_bytecode_dispatches.py (right): https://codereview.chromium.org/1869423002/diff/40001/tools/ignition/plot_bytecode_dispatches.py#newcode13 tools/ignition/plot_bytecode_dispatches.py:13: import numpy as np On 2016/04/11 16:35:16, rmcilroy wrote: ...
4 years, 8 months ago (2016-04-12 11:18:55 UTC) #6
rmcilroy
LGTM with comments, thanks. https://codereview.chromium.org/1869423002/diff/60001/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/1869423002/diff/60001/tools/ignition/bytecode_dispatches_report.py#newcode34 tools/ignition/bytecode_dispatches_report.py:34: $ tools/ignition/bytecode_dispatches_report.py -t 0 -p ...
4 years, 8 months ago (2016-04-12 14:08:51 UTC) #7
Stefano Sanfilippo
https://codereview.chromium.org/1869423002/diff/60001/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/1869423002/diff/60001/tools/ignition/bytecode_dispatches_report.py#newcode34 tools/ignition/bytecode_dispatches_report.py:34: $ tools/ignition/bytecode_dispatches_report.py -t 0 -p -o data.svg On 2016/04/12 ...
4 years, 8 months ago (2016-04-12 14:26:26 UTC) #8
rmcilroy
LGTM, but please update description / title. https://codereview.chromium.org/1869423002/diff/120001/tools/ignition/bytecode_dispatches_report_test.py File tools/ignition/bytecode_dispatches_report_test.py (right): https://codereview.chromium.org/1869423002/diff/120001/tools/ignition/bytecode_dispatches_report_test.py#newcode21 tools/ignition/bytecode_dispatches_report_test.py:21: two newlines
4 years, 8 months ago (2016-04-12 16:25:52 UTC) #9
Stefano Sanfilippo
https://codereview.chromium.org/1869423002/diff/120001/tools/ignition/bytecode_dispatches_report_test.py File tools/ignition/bytecode_dispatches_report_test.py (right): https://codereview.chromium.org/1869423002/diff/120001/tools/ignition/bytecode_dispatches_report_test.py#newcode21 tools/ignition/bytecode_dispatches_report_test.py:21: On 2016/04/12 16:25:52, rmcilroy wrote: > two newlines These ...
4 years, 8 months ago (2016-04-12 16:56:32 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1869423002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1869423002/120001
4 years, 8 months ago (2016-04-12 17:14:52 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-12 17:35:03 UTC) #17
rmcilroy
https://codereview.chromium.org/1869423002/diff/120001/tools/ignition/bytecode_dispatches_report_test.py File tools/ignition/bytecode_dispatches_report_test.py (right): https://codereview.chromium.org/1869423002/diff/120001/tools/ignition/bytecode_dispatches_report_test.py#newcode21 tools/ignition/bytecode_dispatches_report_test.py:21: On 2016/04/12 16:56:32, Stefano Sanfilippo wrote: > On 2016/04/12 ...
4 years, 8 months ago (2016-04-13 08:36:05 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1869423002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1869423002/120001
4 years, 8 months ago (2016-04-13 10:10:27 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 8 months ago (2016-04-13 10:12:49 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 10:14:34 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b4df8dab45bee9fd2f44ddfb3dbd20da03cefc56
Cr-Commit-Position: refs/heads/master@{#35438}

Powered by Google App Engine
This is Rietveld 408576698