| Age | Commit message (Collapse) | Author |
|
|
|
This section of log mentionned two profilers making think they were the
same.
The odoo/tools/misc.py `profile` logs a method calls inside a file that
can be used to generate a graph of method calls.
The odoo/tools/profiler.py `profile` logs a method lines calls, queries
and time spend inside the log.
fixes #31278
opw-2038941
closes #35074
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
|
|
Multi is the default api for methods, it is not necessary to explicitly
decorate methods with it, adds clutter and most people use it because
they see that the rest of the code uses it.
Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'`
|
|
closes odoo/odoo#29424
|
|
The built-in Odoo profiler can be used directly into the logs. This
information was not given in the documentation. This commit add it. An
example on how to use is shown as well as the produced result.
|
|
Avoids warning
|
|
* Add some missing database parameters in documentation
* Explain how to profile code
Closes #22554
|