mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
4955c04eb6
Using ruby-prof, I noticed that Set#add had the largest 'self time' percentage (5% of the overall time spent rendering) when benchmarking the rendering of a small cached ERB template that was 3 lines long. It turns out it was from this line. I don't believe the Set is necessary, either. Removing this line increases the rendering ips using Benchmark::ips accordingly. |
||
---|---|---|
.. | ||
action_view | ||
action_view.rb |