![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.0.pre1 |
Assignee:
|
Unassigned |
Attachments:
|
tictactoe.rb |
Components:
|
Performance |
Created:
|
06/Jun/12 4:12 AM
|
Description:
|
Noticed that MRI & jRuby 1.6.7 are fast compared to jRuby master(1.7) while generating tictactoe game tree.
MRI: 18.83
1.6.7: 9.25
master: 23.65
#Ruby MRI
$ ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
$ ruby tictactoe.rb
18.830000 0.020000 18.850000 ( 18.910411)
#jRuby 1.6.7
$ ruby --version
jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (OpenJDK Server VM 1.7.0_03) [linux-i386-java]
$ ruby tictactoe.rb
9.258000 0.000000 9.258000 ( 9.171000)
#jRuby master(1.7.0)
$ ruby --version
jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-06-06 09e1090) (OpenJDK Server VM 1.7.0_03) [linux-i386-java]
$ruby tictactoe.rb
23.650000 0.210000 23.860000 ( 21.600000)
Maybe its not a issue with jruby & the code is written wrong but still submitting as blog post here asked to submit reports in case we notice MRI or prior version of jruby are faster than jruby 1.7
|
Environment:
|
jRuby Master: Build directly from github, last commit #09e1090
java version "1.7.0_03"
OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu3)
OpenJDK Server VM (build 22.0-b10, mixed mode)
OS: Ubuntu 12.04 LTS
|
Fix Versions:
|
JRuby 1.6.7 |
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Gaurish Sharma
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email