Persistent and propagated view cache test

by
Odoo
v 10.0 v 11.0 v 12.0 Third Party 262
Download for v 10.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Technical Name ir_ui_view_cache_test
LicenseOPL-1
Websitehttps://www.advancedaccountancy.org
Versions 11.0 13.0 12.0 10.0 14.0
You bought this module and need support? Click here!

Persistent and propagated view cache test

This module allow you to test if you will benefit from ir_ui_view_cache module.
Simply install it and observer odoo log files

Each time you will get speed improvement - this module will write: Probably would have saved 123ms

For test environment this module produced total over 9 hours over the 2 week period.
This will wary for every other case - thats the test module is for.

INFO dbname odoo.modules.registry: Invalidating all model caches after database signaling. 
INFO dbname odoo.addons.base.models.ir_http: Generating routing map for key 1 
DEBUG dbname odoo.addons.website.models.ir_http: _generate_routing_rules for website: 1 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 23.060840ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 4.837959ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 15.005720ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 5.518526ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 5.517625ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 6.493229ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 5.487216ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 4.778898ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 65.298208ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 15.542800ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 4.772277ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 5.114042ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 28.350569ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 15.366563ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 4.442162ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 45.015890ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 26.717880ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 5.011241ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 9.260984ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 14.371570ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 4.345682ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 6.238257ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 4.353916ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 13.097418ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 20.665038ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 4.825806ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 5.804739ms 
INFO dbname odoo.addons.ir_ui_view_cache_test.models.ir_ui_view: Probably would have saved 7.069604ms 
INFO dbname odoo.modules.registry: Reloading the model registry after database signaling. 
			

In this example the /shop was requested with simple e-commerce install with demo data
Over 376ms was wasted to compile views. Now multiply this with the amount of workers you have.



If you need support: contact us at support@advancedaccountancy.org

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.