WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
165403
Almost half-second stall scrolling apple.com because of synchronous getPositionInformation
https://bugs.webkit.org/show_bug.cgi?id=165403
Summary
Almost half-second stall scrolling apple.com because of synchronous getPositi...
Tim Horton
Reported
2016-12-05 12:54:43 PST
getPositionInformation often does a lot of work that it doesn't need to, and is called synchronously from the UI process. We should try to minimize the work it does to only what is needed, especially when it comes to snapshotting Web content, which is very expensive.
Attachments
Patch
(49.63 KB, patch)
2016-12-05 14:37 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(51.87 KB, patch)
2016-12-05 16:43 PST
,
Tim Horton
enrica
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2016-12-05 14:37:23 PST
rdar://problem/29493285
Tim Horton
Comment 2
2016-12-05 14:37:43 PST
Created
attachment 296191
[details]
Patch
Tim Horton
Comment 3
2016-12-05 16:43:11 PST
Created
attachment 296217
[details]
Patch
Tim Horton
Comment 4
2016-12-05 17:02:59 PST
ios-sim is not mine
Alex Christensen
Comment 5
2016-12-06 09:25:46 PST
Comment on
attachment 296217
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=296217&action=review
> Source/WebKit2/Shared/AssistedNodeInformation.h:122 > -#endif // InteractionInformationAtPosition_h > +#endif // AssistedNodeInformation_h
As long as we're changing this, why not pragma once?
Tim Horton
Comment 6
2016-12-06 09:34:51 PST
(In reply to
comment #5
)
> Comment on
attachment 296217
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=296217&action=review
> > > Source/WebKit2/Shared/AssistedNodeInformation.h:122 > > -#endif // InteractionInformationAtPosition_h > > +#endif // AssistedNodeInformation_h > > As long as we're changing this, why not pragma once?
Heh, I did it in the other files but not this one.
Enrica Casucci
Comment 7
2016-12-06 10:09:21 PST
Comment on
attachment 296217
[details]
Patch Looks good.
Tim Horton
Comment 8
2016-12-06 10:25:13 PST
https://trac.webkit.org/changeset/209405
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