Is the latest code in rubyforge what works for installing rails? I'd like to play with that a bit.
On 6/2/06, Ola Bini
<[EMAIL PROTECTED]> wrote:
Hi again.
These last days I've been busy reimplementing the RbYAML Scanner in
Java. The first implementation is very rough and unruly, but it's
finished enough so I can measure performance. (The Scanner is the most
performance intensive parts of the YAML system).
For testing, I've taken a file called gems2.yml, which is a small
extract from the full gemspec, and run this through the Scanner a 100 times.
I've done this with C Ruby for RbYAML, and Java 1.4.2 for JvYAML. The
results are very encouraging in themselves:
RbYAML:
D:\Project\rbyaml\test>ruby test_time_tokens.rb yaml/gems2.yml
loading a file 100 times took 5078.0 milli seconds or 5.078 seconds
D:\Project\jruby>java -cp lib\jruby.jar org.jvyaml.ScannerImpl
d:\project\rbyaml\test\yaml\gems2.yml
Walking through the tokens for the file:
d:\project\rbyaml\test\yaml\gems2.yml took 281ms, or 0.281 seconds
As you can see, this is almost 20 times faster, without any real
optimizing of the Java parts, and quite heavy optimizing of RbYAML.
But my plans really doesn't stop here. Actually, as I'll soon announce
in my blog, I intend to release JvYAML as it's own project too.
Regards
Ola Bini
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel
--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com
_______________________________________________ Jruby-devel mailing list Jruby-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jruby-devel