Profiler

< / / / / / >
Skilled
Framework
V12.0
V 12.0
+/- 4 minutes
Written by Yenthe Van Ginneken
(0)

Quick scroll

1. Introduction

One of the tools available in Odoo is the profile tool. This tool will allow you to see how code is behaving and how long every part of the code takes. This tool is especially handy if your code has to process big amounts of data or if you're facing performance issues in your code. Tip: Odoo has two functions named 'profile' in Odoo! One in odoo.tools.misc and one in odoo.tools.profiler. odoo.tools.profiler only allows logging the output in the log. The profile from odoo.tools.misc allows you to save output, blacklist, whitelist and much more.

You need an account for this tutorial
Create a free account to access the tutorial.

Already a member? login here.