summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2018-04-13 13:24:40 +0200
committerXavier Morel <xmo@odoo.com>2018-04-13 17:42:52 +0200
commit115fa8f2d72e26f2c9c0399ad9a35fea673ca9fc (patch)
tree822096356f1acf1cc6f592ea4ecfd3fc8ca9c408 /addons/web/static/src/js/views/basic
parent080094207888f4514f6a0a8f0263166d7998bbf5 (diff)
[FIX] export time regression by b5c660d8
While c059e7b93c64b9dd9bc96eeb6ee5cadf significantly lowers the cost of generating xids, a safety invalidate cache can regress cases significantly e.g. 18s -> 430s (7mn) for some recursive exports of xids as the cache would be completely cleared *after each record* requiring complete fetching & recomputation of the following records. Fix by only clearing the cache if we've actually had to create xids *and* only for ir.model.data records. It's possible that clearing the cache isn't even necessary at all (?), check with @rco-odoo OPW-1835226
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions