Open
Bug 904836
Opened 12 years ago
Updated 3 years ago
more sharing in style code
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: dbaron, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: memory-footprint, perf)
There are a bunch of things we can do for more sharing in the style code that would help both performance and footprint. There's a bit of a plan in bug 768816 comment 7; bugs need to be filed for specific tasks. This bug can serve as a meta-bug to track them.
Blocks: haida
Comment 1•12 years ago
|
||
David, is there anything concrete happening here, and is there a timeframe within which you expect to be able to work on it?
Vivien, is this truly required for Haida to move forward?
Flags: needinfo?(21)
Updated•12 years ago
|
Flags: needinfo?(dbaron)
Reporter | ||
Comment 2•12 years ago
|
||
I don't really have a timeframe; these are a bunch of decent-sized projects, and they're not currently at the top of the priority list. But I'd certainly be interested in knowing why they'd be important.
Flags: needinfo?(dbaron)
Comment 3•12 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #1)
> David, is there anything concrete happening here, and is there a timeframe
> within which you expect to be able to work on it?
>
> Vivien, is this truly required for Haida to move forward?
Hey,
We can move forward without it, but it will be a nice to have.
David, correct me if I misunderstood what you explained me when you were in Paris, but I understood that the platform currently share user agent stylesheets but not authors stylesheets?
Basically, Haida will have multiple windows opened at the same time (1) for the same application (same manifest url). Each window will likely be of the same origin but with a different url and will likely have a set of common stylesheets.
One other possibility for Haida would be that it has only one window opened, but instead of changing the dom directly, the developer will navigate to a new url (2) (still off the same origin).
In both cases my understanding is that sharing more css should helps load time and reduce the memory footprint. It is unclear that we have a memory benefit for (2) since there will always be one current window, but I assume that some css related data are in some ways stored in the bfcache, so it may help too. But in both case it should save some load time as far as I can tell.
David, please don't hesitate to reach me if my explanations are unclear, of it I misunderstood some stuffs.
Flags: needinfo?(21)
Updated•10 years ago
|
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•