Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.RC2
Assignee: Unassigned
Components: Performance
Created: 13/Nov/12 11:12 PM
Description:

JRuby::PathHelper.smart_split_command takes a non-trivial amount of time.

For example, the following code

system("true")
50.times do |i|
string = "a" * 338
JRuby::PathHelper.smart_split_command(string)
end

takes 0.229 seconds on my machine.

Environment: jruby 1.7.0.RC2 (1.9.3p203) 2012-10-09 142cc7b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_04-b21 [darwin-x86_64]
Project: JRuby
Priority: Minor Minor
Reporter: Andrew Grimm
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

Reply via email to