Closed
Bug 530606
Opened 16 years ago
Closed 16 years ago
generate fast load files at build time
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 512588
People
(Reporter: beltzner, Unassigned)
References
()
Details
(Whiteboard: [ts])
From bsmedberg in dev-platform:
"Parsing JavaScript and XML is slow. In order to improve the startup speed of
the app, on first startup we parse the JS and XML and save the parsed
version in a smaller and more efficient bytecode format (XDR for JS, I don't
know what for XUL/XBL) which subsequent startups use."
to which I asked:
Why don't we do this at build time and add a check to see if the XML/JS has changed, and then only generate the fast load files in cases where they've changed?
Read the whole thread here: http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/ca867015d8e35fd2/bb222c3d11b20a3f#bb222c3d11b20a3f
This bug is for the first bit. Might have a good impact on first startup of the browser.
Comment 1•16 years ago
|
||
I think this a Build Config (eg, Makefile) issue
Component: Release Engineering → Build Config
Product: mozilla.org → Core
QA Contact: release → build-config
Version: other → unspecified
Updated•16 years ago
|
blocking2.0: --- → ?
Comment 2•16 years ago
|
||
This would require work beyond generating them, we'd have to write extra code to use them, I think. I'm not sure what the interaction of fastload and overlays is: are XUL files fastloaded after overlays are applied? If so, any extensions would make the pre-shipped fastload useless, I think.
Comment 3•16 years ago
|
||
Fastload works on the prototype document level at the moment. So each overlay is fastloaded separately and the overlay merge work has to be done every time even when fastloading.
Comment 4•16 years ago
|
||
I believe this bug is a dupe of bug 512588 as the proper point to create these files is at install time.
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Updated•16 years ago
|
blocking2.0: ? → ---
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•