Job Queue Profiler
by Camptocamp https://github.com/OCA/queue , Odoo Community Association (OCA) https://github.com/OCA/queue| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 3777 |
| Technical Name |
queue_job_profiler |
| License | AGPL-3 |
| Website | https://github.com/OCA/queue |
Job Queue Profiler

This addon adds profiling controls to queue job functions and wraps queue job execution in an Odoo profiler session when enabled.
When profiling is enabled for a job function and the executing user matches one of the configured profiling users (or no users are set), the queue job runner records SQL and async stack traces via odoo.tools.profiler.Profiler and saves the results into ir_profile.
Table of contents
Usage
- Open the Queue Job Functions menu.
- Open the job function you want to profile.
- In the Profiler group, enable Profiling and set the Profiling users (optional) and Profiling until.
- Run the job with the selected user (the queue job runner usually executes as the superuser).
- Inspect the generated entries in ir_profile to review the captured profiling data.
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 to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Camptocamp
Contributors
- Camptocamp:
- Simone Orsi <simone.orsi@camptocamp.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:

This module is part of the OCA/queue project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module