That is a lot faster.  I assume beautification happens on the whole file at 
once (hopefully in a WebWorker :)?  For a concrete basis, I timed 
zimbra_combined.js (in parsemark) and it took 1x with the native Reflect.parse, 
so the 7x factor would definitely be noticeable.  This is a pretty strong point 
on the 'keep' side.

(For fun, I also tried Epic Citadel (24MB of minified JS, unzipped) and it took 
36 seconds!)

----- Original Message -----
> On 9/6/2013 9:46 AM, David Bruant wrote:
> > How much better is Reflect.parse performance?
> 
> Well I just ran a comparison and got about 7x faster
> (https://gist.github.com/espadrine/3262696). It's a year old version of
> esprima but I doubt the differential could be that much.
> _______________________________________________
> dev-tech-js-engine-internals mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals
> 
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to