# Action profiling

**URL:** <https://www.ruby-forum.com/t/action-profiling/151381>\
**Category:** Rails\
**Created:** [October 20, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/action-profiling/151381 "2008-10-20T21:31:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [October 20, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/action-profiling/151381/1 "2008-10-20T21:31:22Z")

</div>

Hi,

I am currently in my benchmarking cycle. I already use rawk to spot the  
action that take the most time and could be worked on a little bit.

But inside each action, which profiling tool do you use? I watched Ryan  
Bates screencast about script/performance/request, but the info spit out  
is not very friendly and most of it is irrelevant garbage.

Is there a good tool to work with? Does someone use FiveRun’s TuneUp?

---

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [October 20, 2008, 9:44pm UTC](https://www.ruby-forum.com/t/action-profiling/151381/2 "2008-10-20T21:44:38Z")

</div>

So I gave TuneUp a try, but I quickly reached its limits. Most of the  
time, it cannot track which step is sucking all the time in my action,  
so it’s not very helpful, but the idea is very good and integration is  
excellent.

---

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [October 20, 2008, 9:57pm UTC](https://www.ruby-forum.com/t/action-profiling/151381/3 "2008-10-20T21:57:36Z")

</div>

Hmmm, I wanted to try out script/performance/request. Although I have  
installed the gem ruby-prof, it keeps asking me to install it. Anyone  
run into this issue?

---

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [October 20, 2008, 10:22pm UTC](https://www.ruby-forum.com/t/action-profiling/151381/4 "2008-10-20T22:22:43Z")

</div>

The problem is: the only package available is ruby-prof 0.6.0, but Rails  
2.1.1 requires 0.6.1 not yet packaged.

The solution: download the source from github, then build the gem  
manually and install it.

Have fun 🙂

---

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [October 25, 2008, 7:57pm UTC](https://www.ruby-forum.com/t/action-profiling/151381/5 "2008-10-25T19:57:26Z")

</div>

Nobody does any profiling at all of their apps? Os there a so obvious  
tool for that which I am not aware of?

script/performance/request outputs result which is too verbose and has  
lots of irrelevant data.
