discourse/script/benchmarks
Sam Saffron 0fb497eb23 DEV: use Discourse.cache over Rails.cache
Discourse.cache is a more consistent method to use and offers clean fallback
if you are skipping redis

This is part of a larger change that both optimizes Discoruse.cache and omits
use of setex on $redis in favor of consistently using discourse cache

Bench does reveal that use of Rails.cache and Discourse.cache is 1.25x slower
than redis.setex / get so a re-implementation will follow prior to porting
2019-11-27 12:36:19 +11:00
..
cache DEV: use Discourse.cache over Rails.cache 2019-11-27 12:36:19 +11:00
markdown DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
middleware DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
site_setting DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00