Charles Oliver Nutter created JRUBY-6312:
--------------------------------------------

             Summary: JRuby 1.7 non-indy constant lookup performance has 
degraded
                 Key: JRUBY-6312
                 URL: https://jira.codehaus.org/browse/JRUBY-6312
             Project: JRuby
          Issue Type: Bug
          Components: Compiler
    Affects Versions: JRuby 1.7
            Reporter: Charles Oliver Nutter


I'm not sure the reason for this, but using the benchmark from JRUBY-6276, it 
appears that non-invokedynamic constant lookup performance on Java 6 has 
degrade in JRuby 1.7. We need to look into this before release, since it 
appears to be as much as 2x slower.

JRuby 1.7 on Java 7:

{noformat}
                                   user     system      total        real
bar1 A in super:               5.473000   0.000000   5.473000 (  5.473000)
bar2 A in super:               5.363000   0.000000   5.363000 (  5.363000)
bar1 C:                        6.091000   0.000000   6.091000 (  6.091000)
bar2 C:                        5.952000   0.000000   5.952000 (  5.952000)
bar1 I:                        6.875000   0.000000   6.875000 (  6.875000)
bar2 I:                        7.184000   0.000000   7.184000 (  7.185000)
{noformat}

JRuby 1.7 on Java 6:

{noformat}
                                   user     system      total        real
bar1 A in super:               7.951000   0.000000   7.951000 (  7.951000)
bar2 A in super:               8.416000   0.000000   8.416000 (  8.416000)
bar1 C:                       11.433000   0.000000  11.433000 ( 11.433000)
bar2 C:                       12.246000   0.000000  12.246000 ( 12.246000)
bar1 I:                       22.286000   0.000000  22.286000 ( 22.286000)
bar2 I:                       23.562000   0.000000  23.562000 ( 23.562000)
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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


Reply via email to