Stephen Bannasch wrote:
At 6:39 PM -0600 12/5/07, Charles Oliver Nutter wrote:
Stephen Bannasch wrote:
There's some problem with nailgun -- it's times are much slower than I expected
-- the second request took 5s.
Nailgun tends to speed up over a few runs; the first one or two are usually
slow for me as well.
- Charlie
There's something wrong then on my system: MacOS 10.4.11, Java 1.5.0_07.
I started nailgun in another shell and then ran these tests. I don't see any
speedup after the second run:
Yes, that's very strange...here's results on my machine:
~/NetBeansProjects/jruby $ ant jruby-nailgun
Buildfile: build.xml
compile.tasks:
[copy] Copying 1 file to
/Users/headius/NetBeansProjects/jruby/build/classes/jruby
generate-method-classes:
[touch] Creating /Users/headius/NetBeansProjects/jruby/build/__empty.rb
[delete] Deleting:
/Users/headius/NetBeansProjects/jruby/build/__empty.rb
jruby-nailgun:
[mkdir] Created dir:
/Users/headius/NetBeansProjects/jruby/build/nailmain
[javac] Compiling 1 source file to
/Users/headius/NetBeansProjects/jruby/build/nailmain
[jarjar] Building jar:
/Users/headius/NetBeansProjects/jruby/tool/nailgun/jruby-nailgun.jar
BUILD SUCCESSFUL
Total time: 10 seconds
~/NetBeansProjects/jruby $ jruby-ng-server&
[1] 8179
~/NetBeansProjects/jruby $ NGServer started on all interfaces, port 2113.
~/NetBeansProjects/jruby $ time jruby-ng -e "puts 'hello'"
hello
real 0m1.516s
user 0m0.003s
sys 0m0.013s
~/NetBeansProjects/jruby $ time jruby-ng -e "puts 'hello'"
hello
real 0m0.274s
user 0m0.003s
sys 0m0.011s
~/NetBeansProjects/jruby $ time jruby-ng -e "puts 'hello'"
hello
real 0m0.225s
user 0m0.003s
sys 0m0.011s
~/NetBeansProjects/jruby $ time jruby-ng -e "puts 'hello'"
hello
real 0m0.158s
user 0m0.003s
sys 0m0.010s
~/NetBeansProjects/jruby $ time jruby-ng -e "puts 'hello'"
hello
real 0m0.289s
user 0m0.003s
sys 0m0.011s
~/NetBeansProjects/jruby $ time jruby-ng -e "puts 'hello'"
hello
real 0m0.153s
user 0m0.003s
sys 0m0.010s
~/NetBeansProjects/jruby $ time jruby-ng -e "puts 'hello'"
hello
real 0m0.197s
user 0m0.003s
sys 0m0.010s
~/NetBeansProjects/jruby $ time jruby-ng -e "puts 'hello'"
hello
real 0m0.159s
user 0m0.003s
sys 0m0.010s
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email