The profiling tools can be useful to profile a test of some execution point but this is not convenient to identify a problem on a running instance. With this commit, an option available in the debug menu allows to add a flag on the user sessions to enable profiling of all requests. Each request will be saved in a different 'ir.profile' entry, but will be grouped under the same session. The profiling can be activated on all sessions, even for a public user, but only if profiling is enabled on the database globally. This commits also adds a speedscope view to visualize saved results in the web client. closes odoo/odoo#66590 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
7 lines
163 B
Python
7 lines
163 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import main
|
|
from . import pivot
|
|
from . import profiling
|