Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] GroovyServ 0.1 released

UEHARA Junji

2010-03-11

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

I've developed an open source project GroovyServ that makes the
apparent invocation speed of groovy faster by pre-invoking groovy
runtime as a TCP server. You can download it from:

http://kobo.github.com/groovyserv/

IMHO, when using groovy as a scripting purpose, the invocation speed of
script could be essential. If you are used to other scripting
language, like Ruby or Perl, Python, just two second or even one second
feels still too slow. In some environment, script invocation with GroovyServ
is more 20-80 times faster then normal groovy because that skips whole
of boot sequence of groovy runtime. (I know native Windows' native
groovy.exe and groovy 1.8 is relatively much faster but I think I can't say
those are extraordinarily effective).

Following is a comparison between GroovyServ(native client) and normal
groovy in Windows environment with micro benchmark: -e "println 'hello world' ''

Groovy(non native) 2.32 (sec)
Groovy(native exe) 0.90 (sec)
GroovyServ       0.10 (sec)

Generally, it depends on environment, the advantage of
GroovyServ is bigger in MacOS/Linux environment then Windows
environment (with JQS).

I'd be interested in any feedback. Please send it to:

http://groups.google.com/group/groovyserv

or tweet me @uehaj .

thanks,

--
UEHARA Junji

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.