On Sat, Jun 20, 2015 at 02:36:26PM -0600, Aaron Klotz wrote:
> On 6/20/2015 10:20 AM, Philip Chee wrote:
> >Anyone want to try the same with Firefox nightly?
> >
> 
> 
> Already did it and subsequently filed bug 873638. We can do it if we modify
> the encoding of the JS source at omnijar build time.
> 
> I did some measurements last year at the 2014 JS workweek and it turns out
> that the cost of converting the omnijar's JS source to jschars during
> parsing is equivalent to the benefits we gain from StartupCache. Assuming
> that nothing has changed in SM with respect to the time required to do the
> conversion, if we eliminate that conversion step, we can eliminate
> XDR-encoded JS from the StartupCache.

Would encoding the js files in UTF-16 eliminate the conversion step? If
so, we can easily do that at packaging time, although local builds would
not benefit from that.

Mike
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to