Make JRuby profiler support Google Perftools output format
----------------------------------------------------------
Key: JRUBY-6094
URL: https://jira.codehaus.org/browse/JRUBY-6094
Project: JRuby
Issue Type: Improvement
Components: JRuby-extras
Reporter: Daniel Gaiottino
Priority: Minor
I was attending the last Engine Yard Jruby jam session and enquired about
getting the JRuby profiler to output the Google perftools format so that we
have an easy way of getting a graphical representation of the profiling. Seems
you thought it was a good idea so here's my feature request.
The format is
<snip>
Text mode has lines of output that look like this:
14 2.1% 17.2% 58 8.7% std::_Rb_tree::find
Here is how to interpret the columns:
Number of profiling samples in this function
Percentage of profiling samples in this function
Percentage of profiling samples in the functions printed so far
Number of profiling samples in this function and its callees
Percentage of profiling samples in this function and its callees
Function name
</snip>
You can read more on
http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html#pprof
where you can also see an example of it's graphical mode. We used it
extensively when running MRI but have since switched to JRuby.
Regards,
- Daniel
--
This message is automatically generated by JIRA.
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