diff options
| author | Xavier Morel <xmo@odoo.com> | 2019-04-24 11:05:04 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2019-04-26 12:16:24 +0000 |
| commit | 8371f082022038dba7be2ba72335ff38feb05780 (patch) | |
| tree | 9731343faff4bec3744335271b2466bbc1c1f1b7 /addons/theme_bootswatch/data/theme_bootswatch_data.xml | |
| parent | c6f1921beb2bbc4fff16b161f5e8271203137f99 (diff) | |
[FIX] website_hr_recruitment: don't prefetch website_description
Prefetching it triggers its translation, which quickly becomes most of
the overhead of /jobs despite the field not being displayed on that
page: an empty /jobs takes ~150ms, a /jobs with 99 jobs takes ~2000ms,
>70% of which are spent in html_translate and ultimately
translate.py:process (14600 calls, 60% of runtime, 40% own).
Removing prefetching lowers the runtime to ~700ms.
closes odoo/odoo#32985
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/theme_bootswatch/data/theme_bootswatch_data.xml')
0 files changed, 0 insertions, 0 deletions
