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

Issue 1875263004: [Interpreter] Report hottest bytecodes in bytecode_dispatches_report.py (Closed)

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

Description

[Interpreter] Report hottest bytecodes in bytecode_dispatches_report.py In addition to top source-destination pairs, bytecode_dispatches_report.py now prints the hottest bytecode handlers by the number of times they are executed and dispatch to another one, regardless of the dispatch target. Be aware that this figure does not match the number of times a handler is executed for those which may not or will never dispatch, e.g. Return or Throw. BUG=v8:4899 LOG=N Committed: https://crrev.com/7fa7bfacf8e0cbbc8263a1322129cb8406cddb34 Cr-Commit-Position: refs/heads/master@{#35629}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Separate flag for printing, print all the counters. #

Patch Set 3 : Improve help text. #

Patch Set 4 : Rebase on master. #

Total comments: 2

Patch Set 5 : Separate option for top counters and number of top counters to print. #

Patch Set 6 : Use dashes instead of underscores, improve help text. #

Total comments: 2

Patch Set 7 : Renamings and help improvements. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -22 lines) Patch
M tools/ignition/bytecode_dispatches_report.py View 1 2 3 4 5 6 7 chunks +48 lines, -21 lines 0 comments Download
M tools/ignition/bytecode_dispatches_report_test.py View 1 2 3 4 5 6 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 32 (17 generated)
Stefano Sanfilippo
Here's the follow-up to https://codereview.chromium.org/1869423002/ reporting top dispatch sources. PTAL.
4 years, 8 months ago (2016-04-12 17:23:54 UTC) #4
rmcilroy
https://codereview.chromium.org/1875263004/diff/1/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/1875263004/diff/1/tools/ignition/bytecode_dispatches_report.py#newcode76 tools/ignition/bytecode_dispatches_report.py:76: return heapq.nlargest(top_count, dispatch_sources_counters_generator(), I would probably default to printing ...
4 years, 8 months ago (2016-04-13 08:45:54 UTC) #5
Stefano Sanfilippo
https://codereview.chromium.org/1875263004/diff/1/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/1875263004/diff/1/tools/ignition/bytecode_dispatches_report.py#newcode76 tools/ignition/bytecode_dispatches_report.py:76: return heapq.nlargest(top_count, dispatch_sources_counters_generator(), On 2016/04/13 08:45:54, rmcilroy wrote: > ...
4 years, 8 months ago (2016-04-13 10:19:38 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1875263004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1875263004/60001
4 years, 8 months ago (2016-04-18 12:57:01 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-18 13:18:02 UTC) #14
rmcilroy
https://codereview.chromium.org/1875263004/diff/60001/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/1875263004/diff/60001/tools/ignition/bytecode_dispatches_report.py#newcode161 tools/ignition/bytecode_dispatches_report.py:161: "--top_count", "-t", This should not be used to specify ...
4 years, 8 months ago (2016-04-19 10:36:02 UTC) #15
Stefano Sanfilippo
https://codereview.chromium.org/1875263004/diff/60001/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/1875263004/diff/60001/tools/ignition/bytecode_dispatches_report.py#newcode161 tools/ignition/bytecode_dispatches_report.py:161: "--top_count", "-t", On 2016/04/19 10:36:02, rmcilroy wrote: > This ...
4 years, 8 months ago (2016-04-19 11:08:33 UTC) #19
rmcilroy
https://codereview.chromium.org/1875263004/diff/160001/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/1875263004/diff/160001/tools/ignition/bytecode_dispatches_report.py#newcode164 tools/ignition/bytecode_dispatches_report.py:164: "--top-counters", "-t", This is still not a good name ...
4 years, 8 months ago (2016-04-19 11:18:19 UTC) #20
Stefano Sanfilippo
https://codereview.chromium.org/1875263004/diff/160001/tools/ignition/bytecode_dispatches_report.py File tools/ignition/bytecode_dispatches_report.py (right): https://codereview.chromium.org/1875263004/diff/160001/tools/ignition/bytecode_dispatches_report.py#newcode164 tools/ignition/bytecode_dispatches_report.py:164: "--top-counters", "-t", On 2016/04/19 11:18:19, rmcilroy wrote: > This ...
4 years, 8 months ago (2016-04-19 13:10:33 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1875263004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1875263004/180001
4 years, 8 months ago (2016-04-19 15:10:23 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-19 15:33:14 UTC) #25
rmcilroy
LGTM, thanks.
4 years, 8 months ago (2016-04-19 15:42:55 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1875263004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1875263004/180001
4 years, 8 months ago (2016-04-19 16:01:28 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:180001)
4 years, 8 months ago (2016-04-19 16:03:19 UTC) #30
nodir1
4 years, 8 months ago (2016-04-22 18:43:09 UTC) #32
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/7fa7bfacf8e0cbbc8263a1322129cb8406cddb34
Cr-Commit-Position: refs/heads/master@{#35629}

Powered by Google App Engine
This is Rietveld 408576698