# Measuring View Renders and Helper methods in Ruby on Rails

**URL:** <https://community.miniprofiler.com/t/measuring-view-renders-and-helper-methods-in-ruby-on-rails/52>\
**Category:** uncategorized\
**Created:** [October 18, 2012, 2:01am UTC](https://community.miniprofiler.com/t/measuring-view-renders-and-helper-methods-in-ruby-on-rails/52 "2012-10-18T02:01:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marke](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@marke](https://community.miniprofiler.com/u/marke)\
**Post date:** [October 18, 2012, 2:01am UTC](https://community.miniprofiler.com/t/measuring-view-renders-and-helper-methods-in-ruby-on-rails/52/1 "2012-10-18T02:01:49Z")

</div>

Hi,

I have a rails 3.0.11 app which works great with Miniprofiler, However I would like to measure the render times of parts of the views, as well as helper methods.

I have tried to use the same code to measure the controller functions (HAML-ized in my case) but the results did not show in the traces.

```
- Rack::MiniProfiler.step("helper method trace") do
 = calling_helper_method

```

Any ideas would be very much appreciated.

Regards

Mark

---

<div class="post-metadata">

**Author:** ![sam](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/sam/32/377_2.png) [@sam](https://community.miniprofiler.com/u/sam)\
**Post date:** [October 18, 2012, 8:39pm UTC](https://community.miniprofiler.com/t/measuring-view-renders-and-helper-methods-in-ruby-on-rails/52/2 "2012-10-18T20:39:06Z")

</div>

That should be working, I bet what is happening is that it is taking so little time it is being treated as “trivial”

Try clicking the “show trivial” button at the bottom of the page.
