alias_method_chain pattern is extremely show on jruby
-----------------------------------------------------
Key: JRUBY-2981
URL: http://jira.codehaus.org/browse/JRUBY-2981
Project: JRuby
Issue Type: Bug
Components: Interpreter
Affects Versions: JRuby 1.1.3
Reporter: Greg Fodor
Attachments: test.rb
It appears that there is significant overhead in JRuby in calling alias'ed
methods. This is extremely detrimental to performance in rails since it uses
these method aliasing tricks extensively throughout active record. Attached is
a testcase which takes approximately 100ms to run in JRuby but only 0.5-1ms to
run in matz ruby on my local machine.
--
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