Performance Analyzer
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 :
- Go to Settings > Technical > Performance> Rules menu :
- In this example we will create a rule for Administrator account in sale.order module :
We specify :
- Methods,
- Slow RPC calls - Min. duration,
- Slow SQL requests - Min. duration,
- Slow field's recomputation - Min. duration
- Profile Python methods,
- Log SQL requests
- The rule will be added to the rules :
- 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 :
- Go to Settings > Technical > Performance> Logs menu :
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.
This module is part of the odoo-addons project on GitHub.
You are welcome to contribute.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Please help me i have this problem
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)"