Skip to content

Oddly named method names, such as 0000000200639fef #40

Open

Description

@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.

Activity

  1. yob commented on May 22, 2012

    @yob

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions