WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
67294
Web Inspector: speed-up Network panel
https://bugs.webkit.org/show_bug.cgi?id=67294
Summary
Web Inspector: speed-up Network panel
Ilya Tikhonovsky
Reported
2011-08-31 08:19:38 PDT
Network panel's rendering speed is slow. It is about 6 sec when the panel has 700 requests.
Attachments
[patch] initial version
(13.33 KB, patch)
2011-08-31 08:34 PDT
,
Ilya Tikhonovsky
pfeldman
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ilya Tikhonovsky
Comment 1
2011-08-31 08:34:25 PDT
Created
attachment 105779
[details]
[patch] initial version Network panel's rendering speed is slow. It is about 6 sec when the panel has 700 requests. I found that: 1) WebInspector.NetworkLogView._updateOffscreenRows is completely unnecessary; 2) window.resize events fired two times per single resize; 3) DataGrid.updateWidth is calling from refresh method but it is unnecessary; 4) some time expensive operations are calling even if they are not necessary.
Pavel Feldman
Comment 2
2011-08-31 09:07:32 PDT
(In reply to
comment #1
)
> Created an attachment (id=105779) [details] > [patch] initial version > > > Network panel's rendering speed is slow. > It is about 6 sec when the panel has 700 requests. > I found that: > 1) WebInspector.NetworkLogView._updateOffscreenRows is completely unnecessary;
It used to remove cell contents from render tree and speed up network panel appearance significantly. I think you are regressing it.
> 2) window.resize events fired two times per single resize; > 3) DataGrid.updateWidth is calling from refresh method but it is unnecessary;
It is needed for updating column widths when scroller appears.
> 4) some time expensive operations are calling even if they are not necessary.
At least some of these statements are false. Please review with caution. Likely introduces multiple regressions.
Pavel Feldman
Comment 3
2011-08-31 22:40:29 PDT
Comment on
attachment 105779
[details]
[patch] initial version What scenarios take 6 seconds for you? Update offscreen rows should make render tree bare and speed things up. Try filling the pane with 700 requests and switching between panels (Network->Audits->Network). You will notice that your change regresses this scenario significantly.
Brian Burg
Comment 4
2012-07-06 11:14:42 PDT
Maybe a better approach is to make DataGrid scale better. Has anyone looked at reimplementing it, with an eye towards SlickGrid's implementation strategy? (obviously w/o the bells and whistles) Are there any fundamental complications? It seems their approach can allow for trees. (
http://mleibman.github.com/SlickGrid/examples/example5-collapsing.html
)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug