766Re: [jslint] JSLint using Spidermonkey
- Aug 1, 2009I know this is getting a little off-topic, but I still think it's related
and relevant to JSLint. With preliminary testing, using spidermonkey
instead of Java 6 scripting (aka Rhino), I am seeing a speedup factor of
about 20x. This is really significant, because I can compress a large file
(using Dean Edwards packer) algorithm that previously took about 40 seconds,
in about 2 seconds with spidermonkey! This allows the packer compressor to
actually compress faster than the YUI compressor in some cases! I'll be
updating the compressorater to use spidermonkey soon.
On Wed, Jul 29, 2009 at 2:07 PM, Re Miya <remiya_ws@...> wrote:
> --- In firstname.lastname@example.org <jslint_com%40yahoogroups.com>, dom@...
> > On Thu, Jul 23, 2009 at 11:00:55AM -0700, re miya wrote:
> > > You don't need to use neither Rhino neither Spidermonkey.
> > >
> > > Java has scripting enabled since version 6.0, and it runs jslint just
> > >
> > > The implementation takes no more than 8 lines of code.
> > Internally, that's still calling rhino. And it doesn't mitigate the
> > startup time of the JVM.
> > -Dom
> What is worth considering here is not the JVM startup time (which actually
> is not that much), but that the implementation is OS independent. You write
> it once and it runs everywhere. And running it out of the box without using
> Rhino as a separate package, removes the limits imposed by using it.
[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>