WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
53397
Web Inspector: speed up network panel rendering.
https://bugs.webkit.org/show_bug.cgi?id=53397
Summary
Web Inspector: speed up network panel rendering.
Pavel Feldman
Reported
2011-01-30 08:49:45 PST
Network panel is recalculating styles for ages. Open standalone front-end and execute for (var i = 0; i < 1000; ++i) WebInspector.networkManager._dispatcher.didLoadResourceFromMemoryCache(new Date().getTime(), {url:"foo", response: {}, loader: { url: "foo" }}); in the console. It'll fill network panel with 1K entries. Now try switching to/from panel. Also try showing resource content and closing it. You will see 600ms delay upon panel switch and 2s delay upon resource content close. We need to split content using iframes, but this is a long road. This patch will improve things a lot in the short term.
Attachments
Patch
(4.84 KB, patch)
2011-01-30 08:52 PST
,
Pavel Feldman
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2011-01-30 08:52:31 PST
Created
attachment 80591
[details]
Patch
Timothy Hatcher
Comment 2
2011-01-30 10:47:24 PST
Comment on
attachment 80591
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=80591&action=review
> Source/WebCore/inspector/front-end/NetworkPanel.js:1032 > + _onScroll: function(e)
I prefer "_didScroll" or "_updateOffscreenRows" over the generic "onScroll".
Pavel Feldman
Comment 3
2011-01-31 06:45:15 PST
Committed
r77127
: <
http://trac.webkit.org/changeset/77127
>
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