Open
Bug 997317
Opened 12 years ago
Updated 3 years ago
BrowserElementChild shouldn't use Services.scriptloader.loadSubScript
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: smaug, Unassigned)
References
Details
(Keywords: perf, Whiteboard: [c=progress p= s= u=])
Services.scriptloader.loadSubScript doesn't seem to get the same script caching
what frame scripts get, and that leads to parsing/compiling the scripts when
doing window.open().
| Reporter | ||
Comment 1•12 years ago
|
||
this is btw up to 20% of the window.open call in case of "Sheet app 4".
If loadSubScript wasn't used, some of the 20% could be removed, I think, but some of the time
would be just spent elsewhere.
| Reporter | ||
Comment 2•12 years ago
|
||
But looks like just compiling is 15% or so, and we could get rid of that, if I read the profile
and code correctly.
Comment 3•12 years ago
|
||
Olly, what can we use instead of loadSubscript? mm.loadFrameScript?
| Reporter | ||
Comment 4•12 years ago
|
||
Yes, I'd use that, since when opening a new window/tab, we have the script compiled and cached
and all we need to do is execute it. Profiler showed compilation of those loadSubscript things
taking time.
Comment 5•12 years ago
|
||
You mean open window in the same child process right?
| Reporter | ||
Comment 6•12 years ago
|
||
Yes, same (child) process window.open.
Updated•12 years ago
|
Priority: -- → P2
Updated•12 years ago
|
Whiteboard: [c=progress p= s= u=]
Comment 7•8 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: P2 → P5
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•