1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test
Dillon Welch d108288c2f
Turn on performance based cops
Use attr_reader/attr_writer instead of methods

method is 12% slower

Use flat_map over map.flatten(1)

flatten is 66% slower

Use hash[]= instead of hash.merge! with single arguments

merge! is 166% slower

See https://github.com/rails/rails/pull/32337 for more conversation
2018-07-23 15:37:06 -07:00
..
actionpack Merge pull request #30647 from droptheplot/render-partials-string-locals 2018-04-27 19:17:36 -04:00
activerecord Only preload misses on multifetch cache 2018-03-06 14:10:45 +11:00
fixtures Fix digesting templates with mixed formats 2018-03-20 06:33:20 -04:00
lib/controller Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
template Turn on performance based cops 2018-07-23 15:37:06 -07:00
ujs Fix stoppable events in tests and docs. 2018-04-14 19:44:14 +03:00
abstract_unit.rb Include ActionDispatch::DrawOnce in ActiveSupport::TestCase 2017-09-27 08:51:37 +09:00
active_record_unit.rb Enable Layout/LeadingCommentSpace to not allow cosmetic changes in the future 2017-12-14 17:30:54 +09:00