diff options
| author | Loan (lse) <lse@odoo.com> | 2020-07-02 17:17:29 +0000 |
|---|---|---|
| committer | Loan (lse) <lse@odoo.com> | 2020-07-07 20:07:35 +0000 |
| commit | c13c020d8710e54c0c1f109c6291b309484175d8 (patch) | |
| tree | 1b49dc611fe3f7f145a09cafb3c9d7b094bc51e4 /addons/web/static/src/xml/debug.xml | |
| parent | 7091ad53e9f363b24a742c200841f7ed8a6e4674 (diff) | |
[FIX] website_sale: Improve shop item search performances
The idea is to avoid useless SQL request as the searching process is heavy (have to look the word in several field and can be in translation tables).
As we at some point fetch all the searched product we do it at the beginning and use its information to gain performance on other queries.
Execution time in e-shop for "test" on client database (160 000 product with 4500 published):
- Before: ~ 7 sec
- After: ~ 2 sec
OPW-2256662
closes odoo/odoo#54202
X-original-commit: ec743deb23f22a823cd0ea56eb4719209a9c4d09
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/xml/debug.xml')
0 files changed, 0 insertions, 0 deletions
