Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre1
Assignee: Thomas E Enebo
Attachments: jruby-split-perf.nps
Created: 14/Jun/12 10:11 AM
Description:

My code (a parser for the MAF file format for BioRuby) spends most of its time calling String#split. According to the JVisualVM profiler, RubyString.split19() in turn spends 60% of its time in calls to RubyBasicObject.getType() in the simple benchmark here: https://gist.github.com/2930845. In a full-up parser run, I've observed 22% of all CPU time (and 79% of time in String#split) being spent on these getType() calls. This seems like it might be worth optimizing, if possible.

I've attached a JVisualVM profiler snapshot.

Environment: Mac OS X 10.7.4 64-bit, Java 1.7.0_04-b21
Project: JRuby
Priority: Minor Minor
Reporter: Clayton Wheeler
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