L20n/Firefox/Performance: Difference between revisions

Jump to navigation Jump to search
Line 40: Line 40:
* cache formatted entries
* cache formatted entries
* cache localized DOM
* cache localized DOM
Caching the first two going to be significantly easier.


=== Move DOM operations earlier ===
=== Move DOM operations earlier ===
Line 54: Line 56:
:smaug is profiling our code trying to find ways to reduce the cost of Element reflections and applying translations.
:smaug is profiling our code trying to find ways to reduce the cost of Element reflections and applying translations.


=== Stylo ===
Stylo may significantly improve the cost of Node reflection that is currently, according to :smaug, slowed down by CSS checking for XBL bindings.
=== JIT optimizations ===
There are two parts of l20n bootstrap that are JS heavy - FTL parsing and Entry formatting. Both can benefit from JS/JIT optimizations and/or caching.


==Research Avenues==
==Research Avenues==
Confirmed users
1,016

edits

Navigation menu