<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>157186</bug_id>
          
          <creation_ts>2016-04-29 10:01:32 -0700</creation_ts>
          <short_desc>Web Inspector: the console should coalesce more rendering when adding messages that were logged before the Inspector was open</short_desc>
          <delta_ts>2016-05-02 11:48:38 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>155629</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=155629</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Blaze Burg">bburg</reporter>
          <assigned_to name="Nikita Vasilyev">nvasilyev</assigned_to>
          <cc>bburg</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>mattbaker</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1188669</commentid>
    <comment_count>0</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-04-29 10:01:32 -0700</bug_when>
    <thetext>If there are 100 warnings, you have to sit there and wait for all of them to render and scroll up. This bogs down processing of the initial surge in events when the inspector opens, and makes it feel unresponsive at first.


If possible we should avoid doing sync layout work when handling messages in the initial few seconds, especially if it&apos;s redundant. We should batch the rendering using requestAnimationFrame and/or sending them over protocol from the backend.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188672</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-04-29 10:04:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/26006165&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188698</commentid>
    <comment_count>2</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2016-04-29 10:41:46 -0700</bug_when>
    <thetext>This is going to be mitigated by bug 155629
&quot;Web Inspector: Adding a new console message shouldn&apos;t modify DOM when the console log is hidden&quot;.

Besides, I&apos;m going to use requestAnimationFrame batching.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1189444</commentid>
    <comment_count>3</comment_count>
      <attachid>277916</attachid>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2016-05-02 11:44:39 -0700</bug_when>
    <thetext>Created attachment 277916
[HTML] Reduction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1189445</commentid>
    <comment_count>4</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2016-05-02 11:48:38 -0700</bug_when>
    <thetext>The attached reduction works pretty smooth.

I believe all the mentioned issues were addressed in bug 155629.
If it isn&apos;t the case, feel free to reopen this bug.

*** This bug has been marked as a duplicate of bug 155629 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>277916</attachid>
            <date>2016-05-02 11:44:39 -0700</date>
            <delta_ts>2016-05-02 11:44:39 -0700</delta_ts>
            <desc>[HTML] Reduction</desc>
            <filename>100-warnings.html</filename>
            <type>text/html</type>
            <size>395</size>
            <attacher name="Nikita Vasilyev">nvasilyev</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICAgIDxtZXRhIGNoYXJzZXQ9IlVURi04Ij4K
ICAgIDx0aXRsZT4xMDAgd2FybmluZ3M8L3RpdGxlPgo8L2hlYWQ+Cjxib2R5Pgo8c2NyaXB0Pgpm
dW5jdGlvbiBsb2dXYXJuaW5ncyhjb3VudCkgewogICAgZm9yICh2YXIgaSA9IDA7IGkgPCBjb3Vu
dDsgaSsrKSB7CiAgICAgICAgY29uc29sZS53YXJuKGkpCiAgICB9Cn0KCmxvZ1dhcm5pbmdzKDEw
MCk7Cjwvc2NyaXB0Pgo8cD48YnV0dG9uIG9uY2xpY2s9ImxvZ1dhcm5pbmdzKDEwMCkiPkxvZyAx
MDAgd2FybmluZ3M8L2J1dHRvbj48L3A+CjxwPjxidXR0b24gb25jbGljaz0ibG9nV2FybmluZ3Mo
MTAwMCkiPkxvZyAxMDAwIHdhcm5pbmdzPC9idXR0b24+PC9wPgo8L2JvZHk+CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>