Skip to content

Oddly named method names, such as 0000000200639fef #40

Open
findchris opened this Issue Feb 10, 2012 · 1 comment

2 participants

@findchris

Hi there.

I'm sure there's a simple explanation: The CPU time graph I generate has useful information, but I see some method with odd hex names, such as 0000000200639fef. Unfortunately, some of these look to be slow, but I'm not sure where to look. Are these Proc identifiers?

Thanks.

@yob
yob commented May 22, 2012

I had the same issue when calling pprof.rb on the file written by rubyprof.

I solved it by running pprof.rb from within the same process like so:

require 'perftools' 
require 'pdf-reader'

PerfTools::CpuProfiler.start("/tmp/bench.tmp") do
  # expensive code here
end

`pprof.rb --text /tmp/bench.tmp > bench.txt`
`pprof.rb --pdf  /tmp/bench.tmp > bench.pdf`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.