diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-08-13 15:43:49 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-08-13 16:55:45 +0000 |
| commit | 08f3f3dffb7d0d9cfe422e2bf114f1bbafa99cb0 (patch) | |
| tree | ccfea4f140e5bea0aa01d8a5ed9ccc0da2aaa4e4 /addons/payment/data | |
| parent | 1856b895cb401d530cbc4e3ad8db725db538663d (diff) | |
[IMP] website_sale: speed up loading of attributes on shop
For 10000 templates, of which around 1000 have variants, with 100 existing
attributes and 20 values for each:
- Displaying the /shop page takes 0.55s before the commit and 0.49s after.
That's a 60ms again, around 10% faster.
- The number of queries goes from 113 to 106.
- The specific line that is changed goes from 6.3% total request time down to
2.77%, so the line becomes 2.3 times faster.
closes odoo/odoo#34213
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/payment/data')
0 files changed, 0 insertions, 0 deletions
