[ADD] get_profile_stats: Add script to get cProfile stats#319
[ADD] get_profile_stats: Add script to get cProfile stats#319moylop260 wants to merge 1 commit intoOCA:masterfrom
Conversation
6603cf0 to
b501470
Compare
travis/get_profile_stats.py
Outdated
| @@ -0,0 +1,79 @@ | |||
| #!/usr/bin/env python | |||
| # -*- coding: utf-8 -*- | |||
|
|
|||
a7108a0 to
abc9993
Compare
|
@dreispt I added to main description of this PR the |
abc9993 to
c8f45e8
Compare
|
@moylop260 thanks for your interest to Great idea to include it in OCA CI! |
|
I asked directly @gracinet and @jssuzanne to move odoo-profiler module under OCA! And as I was expected they are happy to share their works here. Do you want Anybox to create the PR or prefer to do it yourself? What do you think, which OCA repo will fit this module? |
|
We need that they sign the cla to include original commit and author in OCA from gtihub user. |
|
Thanks for the advice and make question to @gracinet |
|
I think they already signed the CLA but I may be wrong. |
|
I got it |
|
Could we continue the revision of this PR? |
bd52b5c to
4cad6e5
Compare
vauxoo/odoo-profilerinstead of create a newoca/odoo-profiler?after_successscript.pythonmethods and odoo original methods.Print cProfile sorted by index 0: 4068 4068 0.012947 4.983248 ${HOME}/addons-vauxoo/stock_location_code/model/stock.py:83 _name_get 1269 1269 0.005017 0.049808 ${HOME}/addons-vauxoo/sale_order_dates_max/models/sale.py:36 _get_commitment_date 633 633 0.001206 0.032492 ${HOME}/addons-yelizariev/web_debranding/models/ir_translation.py:12 _debrand 520 520 0.001079 0.162525 ${HOME}/addons-vauxoo/sale_team_warehouse/models/sales_team.py:21 default_get Print cProfile sorted by index 3: 4068 4068 0.012947 4.983248 ${HOME}/addons-vauxoo/stock_location_code/model/stock.py:83 _name_get 520 520 0.001079 0.162525 ${HOME}/addons-vauxoo/sale_team_warehouse/models/sales_team.py:21 default_get 1269 1269 0.005017 0.049808 ${HOME}/addons-vauxoo/sale_order_dates_max/models/sale.py:36 _get_commitment_date 633 633 0.001206 0.032492 ${HOME}/addons-yelizariev/web_debranding/models/ir_translation.py:12 _debrand```