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.

This tutorial is exclusive for members
Become a member too and read all tutorials, unlimited.

Already a member? login here.