jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JRuby
  • JRUBY-4554

Rails rake test much slower in 1.5.0.dev vs 1.4.0

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.5
  • Fix Version/s: JRuby 1.5
  • Component/s: Performance
  • Labels:
    None
  • Environment:
    Windows XP, JRuby 1.4.0 and 1.5.0.dev

Description

When running jruby -b -S rake test on a Rails app with several hundred tests it is easy to see a major performance downturn when moving from 1.4.0 to 1.5.0.dev. This can be seen at http://pastie.org/818994

The reported times by rake are close, but the runtime (from -b) is way slower in 1.5.0.dev.

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. JRUBY-3299 Unable to embed Hpricot gem in a jar file

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brandon Hauff added a comment - 11/Feb/10 12:18 PM

Found that the long pause is gone/equal to 1.4.0s if we roll back to 13993be918fb5fd68ad021e487b350298d063a29. It seems that some nested jar logic may be to blame.

Show
Brandon Hauff added a comment - 11/Feb/10 12:18 PM Found that the long pause is gone/equal to 1.4.0s if we roll back to 13993be918fb5fd68ad021e487b350298d063a29. It seems that some nested jar logic may be to blame.
Hide
Permalink
Vladimir Sizikov added a comment - 11/Feb/10 1:05 PM

Performance (esp. regression) is never a minor thing! Raising the priority.

Show
Vladimir Sizikov added a comment - 11/Feb/10 1:05 PM Performance (esp. regression) is never a minor thing! Raising the priority.
Hide
Permalink
Nick Sieger added a comment - 11/Feb/10 2:18 PM

Trunk is back to normal as of 0bef6e0, but we still need to investigate the reasons, and probably implement an index of the contents of all the jars in the JRubyClassLoader.

Show
Nick Sieger added a comment - 11/Feb/10 2:18 PM Trunk is back to normal as of 0bef6e0, but we still need to investigate the reasons, and probably implement an index of the contents of all the jars in the JRubyClassLoader.
Hide
Permalink
Nick Sieger added a comment - 16/Feb/10 1:57 PM

Fixed in e103cc0 and re-enabled.

Show
Nick Sieger added a comment - 16/Feb/10 1:57 PM Fixed in e103cc0 and re-enabled.

People

  • Assignee:
    Nick Sieger
    Reporter:
    Brandon Hauff
Vote (0)
Watch (1)

Dates

  • Created:
    11/Feb/10 10:58 AM
    Updated:
    09/Feb/11 12:21 PM
    Resolved:
    16/Feb/10 1:57 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.