From: Benoit Cerrina Date: 2001-05-27T18:40:04+09:00 Subject: [ruby-talk:15796] Re: java based interpreter and regexes Hi, I did the test too both using jdk1.4 and the ruby 1.6.3 as distributed by the pragmatic programmers this is again on a P2 450mhz 256mo but using win2K I measured the time using ruby Time.times and the currentTimeMillis() from java.lang.System I get: ruby utime=3.665, stime=0.02, cutime=0.0, cstime=0.0 java 1703 ms, Also I redid the same tests but with 100000 iteration instead of 10000 and got some coherent results: ruby utime=36.662, stime=0.05, cutime=0.0, cstime=0.0 java 15072 > > I was using a PII 450 with 256 MB running Windows 98. > > >Java runtime: 14.794s (Sun's JDK 1.3 w/ Hotspot) > >Java runtime: 15.070s (IBM's JDK 1.3) > >Ruby runtime: 4.707s (Ruby 1.3) > Benoit