• klaasb's avatar
    [interpreter] Add relative numbers to dispatch report · a3f598fc
    klaasb authored
    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
    
    Review-Url: https://codereview.chromium.org/2159683003
    Cr-Commit-Position: refs/heads/master@{#37873}
    a3f598fc
bytecode_dispatches_report_test.py 1.98 KB