Tutorial profiling code

V12.0 1
Specifications
Technical name: Tutorial profiling code
License: Other proprietary
Website: http://www.oocademy.com
Version: 12.0
Category: Tutorial
Last updated: 17-08-2019
This app is a tutorial in the form of code. The app will learn you how to inherit existing QWeb reports in Odoo.

Learn how to profile Python code

This app contains all the code you need to profile code in Odoo.
All the code is documented inline with notes and extra information to understand how the profiling tool works.

Contains

  • Two new buttons named 'Profile bad function' and 'Profile good function' on the contacts form.
  • Two new Python functions named 'find_duplicate_contacts_bad_perf' and 'find_duplicate_contacts_good_perf' to demonstrate performance difference in profilers.
  • Inherit of the model 'res.partner'
  • Inline comments explaining the profiler

Information/contact

You can see the result of these functions by opening the logfile on your server.
For example: tail -f /var/log/your_odoo.log
You will see the output from the profile functions in your logfile.

Need more information or have questions about this module? Contact us at info@oocademy.com.