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

Issue 2159683003: [interpreter] Add relative numbers to dispatch report (Closed)

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

Description

[interpreter] Add relative numbers to dispatch report This adds an additional column with percentages to the output of bytecode_dispatch_report.py --top-dispatches-for-bytecode. The percentages always represent the relative number of dispatches to the target bytecode to all dispatches from the source bytecode. The additional flag --sort-sources-relative/-r allows sorting the "Top sources of dispatches to" the given bytecode by this column to more easily find bytecodes that significantly often dispatch to the target. BUG=v8:4899 LOG=N Committed: https://crrev.com/a3f598fc85b274320dd4556b36c6c36087e80bcd Cr-Commit-Position: refs/heads/master@{#37873}

Patch Set 1 #

Total comments: 4

Patch Set 2 : refactor from comments #

Total comments: 4

Patch Set 3 : don't generate whole table and don't use generator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -32 lines) Patch
M tools/ignition/bytecode_dispatches_report.py View 1 2 8 chunks +47 lines, -24 lines 0 comments Download
M tools/ignition/bytecode_dispatches_report_test.py View 1 2 1 chunk +16 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
klaasb
Hi, when trying to find out which bytecodes actually dispatch often to Star, I added ...
4 years, 5 months ago (2016-07-18 18:56:49 UTC) #3
rmcilroy
Nice, looks like a useful feature. One suggestion, let me know what you think https://codereview.chromium.org/2159683003/diff/1/tools/ignition/bytecode_dispatches_report.py ...
4 years, 5 months ago (2016-07-19 09:23:08 UTC) #4
klaasb
https://codereview.chromium.org/2159683003/diff/1/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/2159683003/diff/1/tools/ignition/bytecode_dispatches_report.py#newcode222 tools/ignition/bytecode_dispatches_report.py:222: "speficied bytecode") On 2016/07/19 09:23:08, rmcilroy wrote: > fix ...
4 years, 5 months ago (2016-07-19 10:24:27 UTC) #5
rmcilroy
lgtm https://codereview.chromium.org/2159683003/diff/20001/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/2159683003/diff/20001/tools/ignition/bytecode_dispatches_report.py#newcode95 tools/ignition/bytecode_dispatches_report.py:95: def find_top_dispatch_sources(dispatches_table, bytecode, top_count, update name (find_top_dispatch_sources_and_destinations) https://codereview.chromium.org/2159683003/diff/20001/tools/ignition/bytecode_dispatches_report.py#newcode106 ...
4 years, 5 months ago (2016-07-19 11:33:15 UTC) #6
klaasb
https://codereview.chromium.org/2159683003/diff/20001/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/2159683003/diff/20001/tools/ignition/bytecode_dispatches_report.py#newcode95 tools/ignition/bytecode_dispatches_report.py:95: def find_top_dispatch_sources(dispatches_table, bytecode, top_count, On 2016/07/19 11:33:15, rmcilroy wrote: ...
4 years, 5 months ago (2016-07-19 13:52:28 UTC) #7
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/2159683003/40001
4 years, 5 months ago (2016-07-19 13:53:23 UTC) #10
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/2159683003/40001
4 years, 5 months ago (2016-07-19 13:53:52 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-19 14:17:24 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-19 14:17:29 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 14:17:42 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a3f598fc85b274320dd4556b36c6c36087e80bcd
Cr-Commit-Position: refs/heads/master@{#37873}

Powered by Google App Engine
This is Rietveld 408576698