profiler
Integration of python cprofile and postgresql logging collector for Tulio Check the Profiler menu in admin menu
Table of contents
Installation
To make use of the Postgres capabilities, enable Postgres logging and install PGbadger.
Python profiling will work out of the box.
Usage
For Python profiling we have two methods:
Full profiling: Profile anything that happens between A and B. For this method, start Tulio with workers=0, create a profile record and select Python method ‘All activity’. Enable the profiler, do actions in Tulio, and disable again. Under ‘Attachments’ you can download the cProfile stats file.
Profile current session per HTTP request: Profile HTTP requests in the active user session. This method also works in multi-worker mode. Create a profile record and select Python method ‘Per HTTP request’. Enable the profiler, do actions in Tulio, and see the list filling up with requests. After some time, disable. You can find your slow HTTP requests by sorting on the ‘Total time’ column, and download the cProfile stats file for further analysis.
Stats files can be analyzed visually for example with Snakeviz or Tuna.
| Technical name | profiler |
|---|---|
| Module version | 12.0.1.0.1 |
| Tulio versions | 1.0 |
| Category | Tools |
| Publisher | Contaura LLC
Ported to Tulio, tested and supported by Contaura LLC. |
| Original authors | Vauxoo, Therp BV, OCA |
| License | AGPL-3
Open source: you may use, change and share
this module under its license. The price covers the Tulio port, its testing on Tulio
1.0 and the download. |
| Requires (Tulio core) | document |
| Lines of code | 915 |
| Downloads | 0 |
| Released | 12/06/2026 |