WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
52885
[Gtk] ResourceHandleSoup: do not wait for streams to close to issue didFinishLoading
https://bugs.webkit.org/show_bug.cgi?id=52885
Summary
[Gtk] ResourceHandleSoup: do not wait for streams to close to issue didFinish...
Sergio Villar Senin
Reported
Friday, January 21, 2011 12:13:47 PM UTC
[Gtk] ResourceHandleSoup: do not wait for streams to close to issue didFinishLoading
Attachments
Patch
(2.34 KB, patch)
2011-01-21 04:17 PST
,
Sergio Villar Senin
mrobinson
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sergio Villar Senin
Comment 1
Friday, January 21, 2011 12:17:10 PM UTC
Created
attachment 79723
[details]
Patch
Martin Robinson
Comment 2
Friday, January 21, 2011 4:20:29 PM UTC
Comment on
attachment 79723
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=79723&action=review
This makes a lot of sense!
> Source/WebCore/ChangeLog:9 > + No new tests as it does not change functionality. We will not wait for > + the the input stream to close to issue didFinishLoading to WebCore
You probably want to mention here what the motiviation is then. Do you see a performance improvement, if so, is it significant?
Sergio Villar Senin
Comment 3
Friday, January 21, 2011 6:33:19 PM UTC
(In reply to
comment #2
)
> (From update of
attachment 79723
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=79723&action=review
> > This makes a lot of sense! > > > Source/WebCore/ChangeLog:9 > > + No new tests as it does not change functionality. We will not wait for > > + the the input stream to close to issue didFinishLoading to WebCore > > You probably want to mention here what the motiviation is then. Do you see a performance improvement, if so, is it significant?
The performance improvement exists but it's very subtle as it won't be noticed unless we have a lot of asynchronous operations taking place at the same time, something that, on the other hand, is very likely to happen with complex web pages. I think even an small improvement worths the change as it's very simple but no strong feelings. At the same time it also seems more correct to issue the notification there than in a stream closing callback.
Martin Robinson
Comment 4
Friday, January 21, 2011 10:26:52 PM UTC
(In reply to
comment #3
)
> I think even an small improvement worths the change as it's very simple but no strong feelings. At the same time it also seems more correct to issue the notification there than in a stream closing callback.
I definitely agree that this patch is worthwhile. It should be fine to just mention this performance improvment in the ChangeLog, so that those reading later can understand the motivation for the change. :)
Sergio Villar Senin
Comment 5
Monday, January 24, 2011 10:57:31 AM UTC
Committed
r76498
: <
http://trac.webkit.org/changeset/76498
>
WebKit Review Bot
Comment 6
Monday, January 24, 2011 11:23:14 AM UTC
http://trac.webkit.org/changeset/76498
might have broken Qt Linux Release The following tests are not passing: inspector/debugger-autocontinue-on-syntax-error.html inspector/debugger-scripts.html inspector/storage-panel-dom-storage.html inspector/styles-add-blank-property.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