ruby-prof Questions

3

I need to profile the rake task. Cause I'm noob I know only how to profile .rb code like this: ruby -Ilib -S ruby-prof -p graph_html profile.rb > profile.html But how do I profile a specific Ra...
Mall asked 16/11, 2010 at 23:18

4

Solved

Besides ruby-prof and and the core Benchmark class, what do you use to profile your Ruby code? In particular, how do you find the bottlenecks in your code? It almost feels like I need to work on my...
Textuary asked 3/11, 2010 at 23:37

4

Solved

Question I'm debugging a memory leak in a rake task. I want to see a call stack of: Living objects What object or line originally allocated those objects Is this possible with ruby-prof? If n...
Brokaw asked 6/1, 2014 at 18:9

2

Solved

I'm using the newrelic_rpm developer mode locally in a rails 3.2 app. This is working fine. When I install ruby-prof and click "start profiling" in the newrelic local dashboard and go back to my a...
Delectate asked 19/6, 2013 at 15:31

2

I'm new to Ruby profiling, and it seems like ruby-prof is a popular choice. I just installed the gem and invoked my program: ruby-prof ./my-prog.rb However, the output is incredibly verbose, bec...
Mord asked 11/8, 2013 at 11:57

5

Solved

I'm creating a Rails Performance test, as described in the Rails Guide, and I'm having problems with ruby-prof. I'm using Ruby 1.9.2-p0 (though experienced the same issue on p320) and Rails 3.1.0....
Nagy asked 28/5, 2012 at 3:45

3

What can I use to profile code in 1.9.2? All of the versions of ruby-prof I've found segfault against 1.9.2. For instance, when I add gem "ruby-prof" to my Rails project's Gemfile and run bund...
Bradbradan asked 8/3, 2011 at 21:50

1

Solved

I ran ruby-profiler on one of my programs. I'm trying to figure out what each fields mean. I'm guessing everything is CPU time (and not wall clock time), which is fantastic. I want to understand wh...
Diplomat asked 20/3, 2011 at 3:17

2

Solved

While using ruby-prof, printed out in graph-html mode, the report for one method says (with some snipping) %Total %Self Total Self Wait Child Calls Name Line 52.85% 0.00% 51.22 0.00 0.00 51.22 1 C...
Premed asked 11/2, 2010 at 0:47
1

© 2022 - 2024 — McMap. All rights reserved.