def is almost 3x slower in JRuby
--------------------------------
Key: JRUBY-1854
URL: http://jira.codehaus.org/browse/JRUBY-1854
Project: JRuby
Issue Type: Bug
Components: Performance
Reporter: Marcin Mielzynski
Assignee: Thomas E Enebo
3.times do
t = Time.new
1000000.times do
def a
1+1
end
end
p Time.new - t
end
1.9:
6.105
6.871
6.003
1.8:
5.002
5.018
5.107
JRuby:
12.985
12.359
12.188
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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