summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-03-23 14:39:21 +0100
committerRaphael Collet <rco@openerp.com>2015-03-23 14:39:21 +0100
commit0ed63d73a649b7dc5469136c24f49949e7859339 (patch)
tree751d561b9b300cad1a94aea13ecca0ec79f85575 /addons/analytic_user_function/analytic_user_function_view.xml
parente3a80afbaf305b3419aafab1ffd07c241326b9ca (diff)
parent5aa23f828053d30a5f67b88272775919542ebf0d (diff)
Merge pull request #5676 from odoo-dev/8.0-memory_optimization-rco
Reduce memory footprint of server The tricks used are: - use a global LRU for `ormcache` (auto-balancing between registries); - remove unnecessary data structures (binary class hierarchy of models); - compute some data structures on demand (`_all_columns`); - optimize field attributes (empty collections may be shared); - optimize memory size of fields and columns by using slots. On a database with modules sale, purchase and stock installed, the memory footprint of the registry went from 20.3Mb to 7.4Mb (as measured with heapy). In other words, the memory footprint was reduced to 1/3 !
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions