Performance Analyzer

by
Odoo
v 8.0 v 9.0 v 10.0 v 11.0 v 12.0 Third Party 734
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Community Apps Dependencies
Lines of code 933
Technical Name smile_perf_analyzer
LicenseAGPL-3
Versions 10.0 9.0 11.0 12.0 14.0 8.0 13.0
You bought this module and need support? Click here!

Performance Analyzer

License: AGPL-3 Smile-SA/odoo_addons

Features :

This module log in function of logging rules:

  • each JSON-RPC / XML-RPC call linked to a model: db, datetime, model, method, user, total time, db time, args, result
  • Python method profiling
  • SQL queries stats

A logging rule is defined directly via the user interface (menu: Settings > Technical > Performance > Rules) and it's applied without restarting Odoo server.

To hide the database _perf created during the installation :

  • add "dbfilter = (?!.*_perf$)" in your config file.

Table of contents

Usage

To create a rule :

  1. Go to Settings > Technical > Performance> Rules menu :
  • In this example we will create a rule for Administrator account in sale.order module :

We specify :

  1. Methods,
  2. Slow RPC calls - Min. duration,
  3. Slow SQL requests - Min. duration,
  4. Slow field's recomputation - Min. duration
  5. Profile Python methods,
  6. Log SQL requests
rule form
  1. The rule will be added to the rules :
rules
  1. Then, when the Administrator executes one of the methods declared in the created rule, Performance Analyzer will record automatically :
  • Date
  • Method
  • SQL requests time
  • SQL requests count
  • Total Time, etc

To show the Logs :

  1. Go to Settings > Technical > Performance> Logs menu :
logs

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

Do not contact contributors directly about support or help with technical issues.

GDPR / EU Privacy

This addons does not collect any data and does not set any browser cookies.

Credits

Authors

Smile SA

Contributors

  • Corentin POUHET-BRUNERIE
  • Wafaa JAOUAHAR

Maintainer

This module is maintained by the Smile SA.

Since 1991 Smile has been a pioneer of technology and also the European expert in open source solutions.

Smile SA

This module is part of the odoo-addons project on GitHub.

You are welcome to contribute.

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.
There are no ratings yet!
Please help me i have this problem
by
Volodymyr Tomchak
on 11/29/18, 5:39 PM

Successfully imported module 'smile_filtered_from_domain' Error while importing module 'smile_perf_analyzer': "Module loading smile_perf_analyzer failed: file /tmp/tmpu4w4glhj/smile_perf_analyzer/security/ir.model.access.csv could not be processed:\n No matching record found for external id 'smile_perf_analyzer.model_ir_logging_perf_rule' in field 'Object'\nNo matching record found for external id 'smile_perf_analyzer.model_ir_logging_perf_log' in field 'Object'\nMissing required value for the field 'Object' (model_id)\nMissing required value for the field 'Object' (model_id)"