You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Alex Boisvert <bo...@intalio.com> on 2008/10/06 02:14:13 UTC

JRuby has come a long way...

On my laptop (Core Duo 2.0GHz, Ubuntu Hardy Heron)

*C-Ruby 1.8.6*

boisvert@boog:~/scala/simple$ time buildr _1.3.3_ clean compile
(in /home/boisvert/scala/simple, development)
Cleaning simple
Compiling simple
Compiling simple into /home/boisvert/scala/simple/target/classes
Completed in 3.022s

real    0m3.635s
user    0m4.036s
sys     0m0.376s

*JRuby 1.1.4, Java 1.6.0_07
*
boisvert@boog:~/scala/simple$ time
/opt/boisvert/jruby-1.1.4/lib/ruby/gems/1.8/gems/buildr-1.3.3-java/bin/buildr
clean compile
(in /home/boisvert/scala/simple, development)
Cleaning simple
Compiling simple
Compiling simple into /home/boisvert/scala/simple/target/classes
Completed in 3.009s

real    0m3.614s
user    0m4.072s
sys     0m0.268s

Same overall performance...

alex

Re: JRuby has come a long way...

Posted by Alex Boisvert <bo...@intalio.com>.
Ahhhwwww.... you're right  :o|

JRuby is actually 30% slower on this project:

boisvert@boog:~/scala/simple$ time jruby -S buildr clean compile
(in /home/boisvert/scala/simple, development)
Cleaning simple
Compiling simple
[Completed] Your build has completed: /home/boisvert/scala/simple
buildr clean compile
Completed in 2.914s

real    0m4.699s
user    0m4.892s
sys    0m0.272s

alex

On Mon, Oct 6, 2008 at 9:35 AM, Assaf Arkin <ar...@intalio.com> wrote:

> Apparently there's a bug in _buildr, getting fixed right now, but both
> of your tests run with Ruby.  Try again with the new _buildr.
>
> You should expect something like 1.5sec with Ruby, 6.5sec with JRuby.
>
> Assaf
>
> On Sun, Oct 5, 2008 at 5:14 PM, Alex Boisvert <bo...@intalio.com>
> wrote:
> > On my laptop (Core Duo 2.0GHz, Ubuntu Hardy Heron)
> >
> > *C-Ruby 1.8.6*
> >
> > boisvert@boog:~/scala/simple$ time buildr _1.3.3_ clean compile
> > (in /home/boisvert/scala/simple, development)
> > Cleaning simple
> > Compiling simple
> > Compiling simple into /home/boisvert/scala/simple/target/classes
> > Completed in 3.022s
> >
> > real    0m3.635s
> > user    0m4.036s
> > sys     0m0.376s
> >
> > *JRuby 1.1.4, Java 1.6.0_07
> > *
> > boisvert@boog:~/scala/simple$ time
> >
> /opt/boisvert/jruby-1.1.4/lib/ruby/gems/1.8/gems/buildr-1.3.3-java/bin/buildr
> > clean compile
> > (in /home/boisvert/scala/simple, development)
> > Cleaning simple
> > Compiling simple
> > Compiling simple into /home/boisvert/scala/simple/target/classes
> > Completed in 3.009s
> >
> > real    0m3.614s
> > user    0m4.072s
> > sys     0m0.268s
> >
> > Same overall performance...
> >
> > alex
> >
>

Re: JRuby has come a long way...

Posted by Assaf Arkin <ar...@intalio.com>.
Apparently there's a bug in _buildr, getting fixed right now, but both
of your tests run with Ruby.  Try again with the new _buildr.

You should expect something like 1.5sec with Ruby, 6.5sec with JRuby.

Assaf

On Sun, Oct 5, 2008 at 5:14 PM, Alex Boisvert <bo...@intalio.com> wrote:
> On my laptop (Core Duo 2.0GHz, Ubuntu Hardy Heron)
>
> *C-Ruby 1.8.6*
>
> boisvert@boog:~/scala/simple$ time buildr _1.3.3_ clean compile
> (in /home/boisvert/scala/simple, development)
> Cleaning simple
> Compiling simple
> Compiling simple into /home/boisvert/scala/simple/target/classes
> Completed in 3.022s
>
> real    0m3.635s
> user    0m4.036s
> sys     0m0.376s
>
> *JRuby 1.1.4, Java 1.6.0_07
> *
> boisvert@boog:~/scala/simple$ time
> /opt/boisvert/jruby-1.1.4/lib/ruby/gems/1.8/gems/buildr-1.3.3-java/bin/buildr
> clean compile
> (in /home/boisvert/scala/simple, development)
> Cleaning simple
> Compiling simple
> Compiling simple into /home/boisvert/scala/simple/target/classes
> Completed in 3.009s
>
> real    0m3.614s
> user    0m4.072s
> sys     0m0.268s
>
> Same overall performance...
>
> alex
>