1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib
Luke Gruber 4955c04eb6 remove Set.new from DetailsKey::get, impacts rendering overhead performance
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.
2014-06-25 23:18:33 -04:00
..
action_view remove Set.new from DetailsKey::get, impacts rendering overhead performance 2014-06-25 23:18:33 -04:00
action_view.rb just require the template resolver 2014-01-31 12:05:50 -08:00