discourse/plugins/discourse-local-dates
Joffrey JAFFEUX d23c0c06c3
PERF: reduces rendering time of local-dates (#13931)
- prefers insertAdjacentHTML over innerHTML as it's much faster in this case (about 5x)
- memoizes tz.guess()
- memoizes list of timezones
- inlines template
- applies main element class in one pass

All in all for a very edge case of about 80 dates it should be faster of about 15/20ms.
2021-08-04 08:27:22 +02:00
..
assets PERF: reduces rendering time of local-dates (#13931) 2021-08-04 08:27:22 +02:00
config Update translations (#13898) 2021-07-30 11:30:10 +02:00
lib/discourse_local_dates DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
spec FIX: converts “ and ” to " in local dates (#10987) 2020-10-21 17:16:36 +02:00
test/javascripts FIX: Lots of plugin tests were using old, non-Ember compat CLI APIs (#13320) 2021-06-09 10:58:55 -04:00
plugin.rb REFACTOR: local dates to improve reliability with DST and recurrence (#9379) 2020-04-08 08:53:21 +02:00