At 9:05 PM +0100 12/6/07, [EMAIL PROTECTED] wrote: >I just tried nailgun for the first time, and below are my >measurements. I use Java 1.5.0_13 on MacOS 10.5.1 (i.e. Leopard). I >used the same SVN revision as you did (-r5169). First a normal run of >jruby: > >$ time ./bin/jruby -e 'print :hello' >hello 7.05 real 5.82 user 0.60 sys > >And then the nailgun runs: > >$ ./bin/jruby-ng-server & >$ while true ; do time ./bin/jruby-ng -e 'print :hello' ; sleep 10 ; done >hello 6.65 real 0.01 user 0.04 sys >hello 1.05 real 0.01 user 0.04 sys >hello 0.82 real 0.01 user 0.04 sys >hello 0.84 real 0.01 user 0.04 sys >hello 0.61 real 0.01 user 0.03 sys >hello 0.82 real 0.01 user 0.04 sys >hello 0.58 real 0.01 user 0.04 sys >hello 0.82 real 0.01 user 0.04 sys >hello 0.55 real 0.01 user 0.04 sys >hello 0.85 real 0.01 user 0.04 sys >hello 0.67 real 0.01 user 0.04 sys >hello 0.79 real 0.01 user 0.04 sys >hello 0.53 real 0.01 user 0.04 sys > >So my MacOS setup seem to work more normally than yours.
Thanks for testing Johan, It encouraged me to check out a fresh copy of JRuby and try that -- nailgun works fine: $ svn co http://svn.codehaus.org/jruby/trunk/jruby test_jruby $ cd test_jruby/ $ ant $ ant jruby-nailgun $ bin/jruby-ng-server& NGServer started on all interfaces, port 2113. $ time bin/jruby-ng -e "puts 'hello'" hello real 0m9.261s user 0m0.006s sys 0m0.023s $ time bin/jruby-ng -e "puts 'hello'" hello real 0m0.606s user 0m0.006s sys 0m0.021s $ time bin/jruby-ng -e "puts 'hello'" hello real 0m0.254s user 0m0.006s sys 0m0.021s So there is some interesting difference between the two environments which I should be able to discover. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
