1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/cache/stores
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
..
file_store_test.rb Fix: FileStoreTest#test_filename_max_size fails in Ruby 2.5.1 2018-03-31 14:40:59 +01:00
mem_cache_store_test.rb Add missing instrumentation to RedisCacheStore#read_multi 2018-02-05 11:57:14 -08:00
memory_store_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
null_store_test.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
redis_cache_store_test.rb Turn on performance based cops 2018-07-23 15:37:06 -07:00