Title: [96318] trunk/Source/WebCore
Revision
96318
Author
[email protected]
Date
2011-09-29 04:06:15 -0700 (Thu, 29 Sep 2011)

Log Message

2011-09-28  Andrey Kosyakov  <[email protected]>

        Web Inspector: network log view refresh optimizations
        https://bugs.webkit.org/show_bug.cgi?id=69010

        Reviewed by Pavel Feldman.

        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkLogView.prototype.refresh):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (96317 => 96318)


--- trunk/Source/WebCore/ChangeLog	2011-09-29 11:00:04 UTC (rev 96317)
+++ trunk/Source/WebCore/ChangeLog	2011-09-29 11:06:15 UTC (rev 96318)
@@ -1,3 +1,13 @@
+2011-09-28  Andrey Kosyakov  <[email protected]>
+
+        Web Inspector: network log view refresh optimizations
+        https://bugs.webkit.org/show_bug.cgi?id=69010
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/NetworkPanel.js:
+        (WebInspector.NetworkLogView.prototype.refresh):
+
 2011-09-29  Pavel Podivilov  <[email protected]>
 
         Web Inspector: split SourceFile.js into RawSourceCode.js and UISourceCodeContentProviders.js.

Modified: trunk/Source/WebCore/inspector/front-end/NetworkPanel.js (96317 => 96318)


--- trunk/Source/WebCore/inspector/front-end/NetworkPanel.js	2011-09-29 11:00:04 UTC (rev 96317)
+++ trunk/Source/WebCore/inspector/front-end/NetworkPanel.js	2011-09-29 11:06:15 UTC (rev 96318)
@@ -696,9 +696,8 @@
         this._staleResources = [];
         this._sortItems();
         this._updateSummaryBar();
-        this._updateOffscreenRows();
         this._dataGrid.updateWidths();
-
+        // FIXME: evaluate performance impact of moving this before a call to sortItems()
         if (wasScrolledToLastRow)
             this._dataGrid.scrollToLastRow();
     },
@@ -1814,6 +1813,8 @@
 WebInspector.NetworkDataGridNode.prototype = {
     createCells: function()
     {
+        // Out of sight, out of mind: create nodes offscreen to save on render tree update times when running updateOffscreenRows()
+        this._element.addStyleClass("offscreen");
         this._nameCell = this._createDivInTD("name");
         this._methodCell = this._createDivInTD("method");
         this._statusCell = this._createDivInTD("status");
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to