[jbosstools-dev] Esprima

Angelo zerr angelo.zerr at gmail.com
Thu Jul 10 14:59:30 EDT 2014


2014-07-10 19:00 GMT+02:00 Denis Golovin <dgolovin at exadel.com>:

>  On 07/10/2014 07:34 AM, Angelo zerr wrote:
>
>  Hi,
>
>  I don't know very good esprima, but is esprima can be compared to tern
> (which is javascript inference engine) or just be compared to acorn?
> If esprima is like acorn, can we use esprima inside tern? Is it
> interesting (for performance for example)?
>
> There is a Speed Comparison page http://esprima.org/test/compare.html
>

Thank's denis. With my Chrome, it seems acorn is the faster. I love so
tern:)

SourceEsprimaUglifyJS2TraceurAcornUnderscore 1.5.26.5 ±2.3%12.1 ±7.3%8.8
±0.9%4.1 ±1.6%Backbone 1.1.08.1 ±2.6%18.8 ±3.5%9.8 ±1.3%4.7 ±6.2%jQuery
1.9.155.1 ±6.1%141.7 ±5.3%78.6 ±4.8%48.9 ±6.2%*Total*69.6 ms172.6 ms97.2 ms57.7
ms


>
>
> Best
> Denis
>
>
> > In fact Acorn, the parser used by Tern, is compatible with Esprima.
>  It means that we could use esprima lint https://github.com/eslint/eslint
> ?
>
>  Regard's Angelo
>
>
> 2014-07-10 16:15 GMT+02:00 Marijn Haverbeke <marijnh at gmail.com>:
>
>> We are aware of Esprima. In fact Acorn, the parser used by Tern, is
>> compatible with Esprima.
>>
>> On Thu, Jul 10, 2014 at 4:01 PM, Mickael Istria <mistria at redhat.com>
>> wrote:
>> > Hi,
>> >
>> > Here is a project that could be interesting:
>> > https://projects.eclipse.org/proposals/esprima
>> >
>> > Cheers,
>> > --
>> > Mickael Istria
>> > Eclipse developer at JBoss, by Red Hat
>> > My blog - My Tweets
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "tern-dev" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> > email to tern-dev+unsubscribe at googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "tern-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to tern-dev+unsubscribe at googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> _______________________________________________
> jbosstools-dev mailing listjbosstools-dev at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20140710/2a53d2d4/attachment.html 


More information about the jbosstools-dev mailing list