Alan Guo Xiang Tan f05f5fde0f
PERF: Preload JsLocaleHelper.load_translations for default locale. (#13041)
In production, each Unicorn child process will currently hold the
default locale in memory on first load. Instead, we should preload it in
the Unicorn master process so that the memory is immediately shared when
forking.

Also, the translations are only memoized on first load now and is
adding considerable overhead to the first few requests after a fresh
boot.
2021-05-13 16:16:01 +10:00
..
2021-03-02 17:11:14 +00:00
2020-01-15 11:27:12 +01:00
2020-04-30 16:48:53 +10:00
2020-05-05 13:46:57 +10:00
2019-05-22 17:39:44 +03:00
2020-05-05 13:46:57 +10:00
2020-07-21 15:55:03 +08:00
2020-04-30 16:48:53 +10:00