<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: visualize code hotness using basic block execution counts"
   href="https://bugs.webkit.org/show_bug.cgi?id=146115#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: visualize code hotness using basic block execution counts"
   href="https://bugs.webkit.org/show_bug.cgi?id=146115">bug 146115</a>
              from <span class="vcard"><a class="email" href="mailto:burg&#64;cs.washington.edu" title="Brian Burg &lt;burg&#64;cs.washington.edu&gt;"> <span class="fn">Brian Burg</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=146115#c1">comment #1</a>)
<span class="quote">&gt; &gt; I'm a much bigger fan of small widgets in gutters (left side) ...
&gt; 
&gt; I’m willing to explore that option.
&gt; 
&gt; I have used Adobe Theseus
&gt; (<a href="https://github.com/adobe-research/theseus#theseus">https://github.com/adobe-research/theseus#theseus</a>) which adds call counters
&gt; for every function. I find it very helpful to see numbers changing in
&gt; realtime.</span >

Yeah, I love Tom's work on Theseus. We gotta take that stuff and ship it!

I am concerned that real numbers won't scale once you get to hot loops. The widely varying input domain also make it difficult to write a generic binning function.

A nice thing about gutters is that it provides a good place to hover for more information, either in a popover or by adding underlines to different subexpressions on the hovered line.

This is the most relevant academic project, which I think has a cool idea and a terrible visual encoding: <a href="http://scg.unibe.ch/research/senseo">http://scg.unibe.ch/research/senseo</a>

<span class="quote">&gt; I haven’t used any software that adds a heat map overlay on top of code. I
&gt; think it could be useful to give a quick glance of what happened. We already
&gt; gray out unexecuted code and I find it very helpful. Heat maps could be an
&gt; extension to that. </span >

In the other bug, I believe Oliver was referring to colors in the rows/cells of a profiler. Color seems fine there since a user isn't trying to comprehend what the words mean as much as find the heaviest line.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>