Search 1.9 billion lines of Odoo code on GitHub

profiler

Author: Anybox, Vauxoo, Odoo Community Association (OCA)
License: AGPL-3
Branch: 8.0
Repository: 001101/server-tools
Dependencies: base, web, and website
Languages: CSS (21, 3.7%), JavaScript (102, 18.1%), LESS (23, 4.1%), PO File (28, 5.0%), Python (263, 46.7%), XML (71, 12.6%), and reStructuredText (55, 9.8%)
Other branches: 11.0
Other repositories: 020cui/server-tools, 0yik/server-tools, 111sree/server-tools, 2FM/server-tools, 3dfxmadscientist/odoo-extra-1, 50611/server-tools, 5songHb/server-tools, AITIC/server-tools, AMhadhbi/server-tools, Albin-John/server-tools, AlceConsorcio/server-tools, Alex-Woo/server-tools, Alfa-90/server-tools, App247/server-tools, ArkanSystem/server-tools, Arsalan88/openerp-extra-6.1, Artielkami/server-tools, BCDR/server-tools, Banetese/server-tools, Boudmir-Ibrahim/odoo-profiler, BradooTech/odoo-profiler, Bubbles-IT/server-tools, Burakebf/server-tools, CB-Gran-Canaria/server-tools, CGenie/server-tools, Cgruppo/server-tools, ChanFeei/server-tools, Chandresh-SerpentCS/server-tools, Change2improve/server-tools, ChinaShrimp/server-tools, CiaranCheng/server-tools, Clear-ICT/odoo-profiler, CodeFishEG/server-tools, Colorlessgold/server-tools, ComitorDevTeam/server-tools, CompassionCH/server-tools, Confidere/openerp-extra-bundle, ContrerasTorrez/server-tools, CrazyJET/server-tools, Cuackmire/openerp-extra-6.1, CustomOdoo/server-tools, DITIntl/server-tools, Danielzhulin/server-tools, DeeCorrector/odoo-extra, Dgaroc/server-tools, Digital5-Odoo/server-tools, Dike90/server-tools, Dobtor-OCA/server-tools, DucTruongKomit/server-tools, DulingLai/server-tools, EBII/server-tools, ERPLibre/server-tools, EssentNovaTeam/server-tools, FernandoCarlosGarcia/server-tools, FernandoRomera/server-tools, ForgeFlow/server-tools, GSLabIt/server-tools, Gabinete-Digital/server-tools, Gebesa-Dev/server-tools, GleydsonHudson/server-tools, GlobalManager/server-tools, Glue-Software-Engineering-AG/server-tools, Gofekra/server-tools, GreyShim/server-tools, GrupoAlvamex/server-tools, GuSWRolland/server-tools, Guillon88/odoo-profiler, Guobower/OCA-server-tools, HarshalBhoir/server-tools, Hellyna/server-tools, HomerDeoDatu/server-tools, Hothua/server-tools, Ingeos/server-tools, Intesco2-0/server-tools, Isendir/openerp-extra-6.1, IvanShirokikh/server-tools, Jagdish-Panchal/server-tools, JaimeAvellaneda/server-tools, Jarsa/server-tools, Jeisonpernia/server-tools, JibenCL/server-tools, Johnvonthegreat/server-tools, JuaniFreedoo/server-tools, JuniorKRnd/server-tools, Kayuulab/server-tools, Khanstore/odoo-extra, Kiplangatdan/server-tools, Koesj/server-tools, KonaERP/server-tools, Korynkai/server-tools, KottmannM/server-tools, LasLabs/server-tools, LlywelynLi/server-tools, LourenzoH/server-tools, Mahmoud-Alaa-Eldeen/server-tools, Manimudi/openerp-extra-6.1, Manuel-Dellisse/server-tools, MariajMesa/server-tools, MasterBlaster479/server-tools, MathBenTech/server-tools, MediaJockey/server-tools, Mefistous/server-tools, Melodivo/server-tools, MindAndGo/server-tools, MjAbuz/server-tools, MrFangD/server-tools, NGTS-AUS/server-tools, NL66278/server-tools, Nowheresly/server-tools, Numigi/server-tools, OCA-MUK/server-tools, OCA/server-tools, ORETEK/server-tools, OctoComputer/server-tools, Odoo-Italia-Associazione/server-tools, OdooBulgaria/odoo-extra-1, OdooIndonesia/server-tools, OpenPymeMx/server-tools, Othniel1796/server-tools, OutillageStEtienne/server-tools, PCatinean/server-tools, PandaRoux8/odoo-extra, PieterPaulussen/server-tools, PlanetaTIC/server-tools, Ppamungkas/server-tools, PrenorSistemas/server-tools, QubiQ/server-tools, Rad0van/server-tools, RealSolutionsLux/server-tools, Reinhard-sheng/server-tools, SanteLibre/server-tools, Sarfarazsajjad/server-tools, ScopeaFrance/server-tools, SequarSrl/server-tools, SetnoRac/openerp-extra-6.1, SilviaLeonSanchez/server-tools, SilvioGregorini/server-tools, SimoRubi/server-tools, SimoneVagile/server-tools, SokreamPhanqrl/server-tools, SportPursuit/server-tools, StefanRijnhart/server-tools, Sunnyshine008/server-tools, Syci-Consulting/server-tools, Tecnativa/server-tools, Therp/server-tools, Thorncrag/server-tools, TimLai125/odoo-profiler, TimLai125/server-tools, Tonow-c2c/server-tools, TradePilotLLC/server-tools, UakamiStudio/server-tools, UnknownInfo/server-tools, VanMoof/server-tools, VasiliyKorobatov/server-tools, Vauxoo/odoo-profiler, Vauxoo/server-tools, VisiionSolucionesTecnologicas/server-tools, Wadios/server-tools, WilldooIT/server-tools, Yaman-als/server-tools, YannickB/server-tools, YogeshMahera-SerpentCS/server-tools, a7madz90/openerp-extra-bundle, aadarsh977/server-tools, aaltinisik/server-tools, abdulhalim-cu/server-tools, abdulrhmans/server-tools, acsone/server-tools, acsonefho/server-tools, adekock11/server-tools, adriansteel/server-tools, adrienpeiffer/server-tools, agenterp/server-tools, agknz/server-tools, ahilali/server-tools, ahmed3bdelhady88/server-tools, aitorbouzas/server-tools, ajaychauhan727/server-tools, ajayjaviya/server-tools, ajefernandez/openerp-extra-6.1, ajinvn2019/server-tools, akhdaniel/server-tools, akhilpsivan01/server-tools, akretion/server-tools, alan80080/server-tools, albertvimlet/server-tools, alecvinent/server-tools, alesisjoan/server-tools, alessavindell/server-tools, alfadil/server-tools, algiopensource/server-tools, alpham/server-tools, altoch/server-tools, amcor/server-tools, amebalibre/server-tools, amendoncabh/server-tools, anasallaham/server-tools, anassahmed/server-tools, andriisem/server-tools, anhvu-sg/server-tools, anndream/odoo-extra-1, anodino-dev/server-tools, ansinaesmejor/server-tools, antilhue/server-tools, antonyrajserpentcs/server-tools, ap1689/odoo-extra, apetbiz/server-tools, arasty/odoo-extra, aravinthu/odoo-profiler, area-scm/server-tools, aremili/server-tools, aroodooteam/server-tools, artux404/server-tools, ashokjaga/openerp-extra-bundle, aurestic/server-tools, avanzosc/server-tools, averni/openerp-extra-bundle, avoinsystems/server-tools, aymanshow/server-tools, azmeuk/server-tools, bacgdev/server-tools, bacgroup/server-tools, bala07123/server-tools, bala4901/openerp-extra-bundle, bangil0/server-tools, bealdav/server-tools, beenhere4hours/server-tools, bicomm/server-tools, bishalgit/server-tools-1, bjccdsrlcr/server-tools, blooparksystems/server-tools, bmya/server-tools, bodi000/server-tools, boky1993/server-tools, borni-dhifi/odoo-profiler, boutitinizar/server-tools, brain-tec/server-tools, brainbeanapps/server-tools, bvkl/server-tools, bypazz/odoo-extra, camptocamp/server-tools, captivea-dcr/server-tools, cedvict/server-tools, cheikhousy/server-tools, chenwfal/server-tools, chianggq/server-tools, claro5/server-tools, codewareuae/server-tools, cogitoweb/server-tools, connect-to-ak/server-tools, coopiteasy/server-tools, corsojulian7/server-tools, cristinamartinrod/server-tools, crnd-inc/server-tools, cuongpk/server-tools, dalal-intellisoft/server-tools, damdam-s/server-tools, danger89/server-tools, dani-xtendoo/server-tools, daniellibonati/odoo-profiler, danimaribeiro/server-tools, daramousk/server-tools, davidwah/server-tools, ddico/server-tools, ddufresne/server-tools, delgerS/server-tools, dennybiasiolli/server-tools, dev-tanvir/server-tools, dev00007/server-tools, devang-dreambits/server-tools, devenmoga/openerp-extra-6.1, diagramsoftware/server-tools, diegobgl/server-tools, diggy128/server-tools, dipakthapaofficial/server-tools, diverfr/server-tools, dmp16/server-tools, dmsergio/server-tools, dndoanh/server-tools, dong-z/server-tools, dperaltab/server-tools, druidoo-dev/server-tools, dsonnet/server-tools, dw250100785/openerp-extra-bundle, dzikri/openerp-extra-6.1, eLBati/server-tools, ebirbe/server-tools, ecosoft-odoo/server-tools, edsersolis/server-tools, elperrofarelo/server-tools, emagdalenaC2i/server-tools, enocare/server-tools, erfanjahanshahlo/server-tools, ermannognan/server-tools, esantos-octagono/server-tools, etobella/server-tools, etorona1/openerp-extra-bundle, eversatis/server-tools, ewac-nl/server-tools, exosoftware/oca-server-tools, ezdoo/server-tools, factorlibre/openerp-extra-6.1, factorlibre/server-tools, fanha99/server-tools, fanzalika/odoo-extra, fashkl/server-tools, felixvillafranca/server-tools, ferdiansahgg/server-tools, findsomeoneyys/server-tools, flosslab/server-tools, fmarowski/odoo-extra, focusate/oca-server-tools, forkme7/server-tools, foutoucour/server-tools, gab-net/server-tools, gabrielo77/server-tools, gastonfeng/server-tools, gavindav/server-tools, gd-openfire/openerp-extra-6.1, germanponce/odoo-profiler, gitguohao/server-tools, goanzaloo/server-tools, gobluestingray/odoo-profiler, gordan-cuic/server-tools, grant-thornton/server-tools, grap/server-tools, groventure/server-tools, guandalf/server-tools, gurneyalex/server-tools, gustavovalverde/server-tools, gxbsst/server-tools, gzanelli/server-tools, habbaba/server-tools, haidd/server-tools, hashirharis/odoo-extra, haublang/server-tools, hbrunn/server-tools, hdb1234/server-tools, healperci/openerp-extra-6.1, henrryyanez/server-tools, hhgabelgaard/server-tools, hibou-io/oca-server-tools, hieulucky111/server-tools, hiisoc/server-tools, hilarak/odoo-profiler, hinfo506/server-tools, hippe-67/server-tools, hq8399/server-tools, huntergps/server-tools, hvcabaim/server-tools, i-vyshnevska/server-tools, iRichGit/server-tools, ibanh/server-tools, ideaspositivas-group/server-tools, igallart/server-tools, igor-mitin/server-tools, initOS/server-tools, insscn/server-tools, intero-chz/server-tools, invitu/server-tools, ip-candres/server-tools, itblabla/server-tools, ixor3/server-tools, izzihector/server-tools, j-zaballa/server-tools, j0rdm4n/openerp-extra-6.1, jaballate/server-tools, jackxusho/server-tools, jacky82669513/server-tools, janverb/server-tools, jaosss/server-tools, jcarlosmontoya/server-tools, jeanpaul-mupagasi/server-tools, jeffery9/odoo-profiler, jeroen7s/server-tools, jesmar81/server-tools, jimmyec/server-tools, jlzhou/odoo-profiler, jnegrete/server-tools, joaoisobr/openerp-extra-6.1, joserprieto/server-tools, joshuajan/server-tools, josueBulle/server-tools, josuf567/server-tools, jphatig/server-tools, jriveros/server-tools, jschmitt76/openerp-extra-6.1, julenalgios/server-tools, julianram/server-tools, kait-avalah/server-tools, kamilmuhammed/server-tools, kamsir/server-tools, katyukha/server-tools, kelldave/server-tools, kevin070982/server-tools, kikopeiro/server-tools, kittiu/server-tools, kmee/server-tools, kos94ok-3D/server-tools, ladada200/openerp-extra-6.1, landyorlando/odoo-extra, lasley/server-tools, leemannd/server-tools, legalsylvain/server-tools, lembregtse/server-tools, leonidasthe300/server-tools, lfreeke/server-tools, libregob/server-tools, lideritjnma/server-tools, liehu1/server-tools, lilotter45/server-tools, liweijie0812/server-tools, loftwah/server-tools, lonelyleaves/server-tools, luistorresm/server-tools, magedmnb/server-tools, magnuscolors/server-tools, mahboubilahcen/openerp-extra-6.1, maherjaballi/server-tools, mamcode/server-tools, marcelomora/server-tools, marrik76/openerp-extra-6.1, mart-e/server-tools, mbtanweer/openerp-extra-6.1, mehdi-ghezal/server-tools, melany05/openerp-extra-6.1, mga-odoo/odoo-extra, mh88/openerp-extra-6.1, michotm/server-tools, miihir9898/openerp-extra-6.1, mikevhe18/server-tools, mikolodz/server-tools, mileo/openerp-extra-6.1, mileo/server-tools, miltonlab/openerp-extra-6.1, minorisa/server-tools, mivilsoft/server-tools, mjadily/server-tools, modoolar/server-tools, mohamedhagag/server-tools, mohitg1312/openerp-extra-bundle, morpheo909/openerp-extra-6.1, mostafasayed/openerp-extra-bundle, mozaik-association/server-tools, msdeek/server-tools, msntop/odoo-profiler, mulaudzicalvin/server-tools, multidadosti-erp/server-tools, mykelu/openerp-extra-6.1, myonnet/oca-server-tools, mysticalis/server-tools, nabiforks/server-tools, nabilgeek/openerp-extra-bundle, nabima/server-tools, nadiaafa/server-tools, nebras-solutions/server-tools, necrodevz/server-tools, nehaksolves/server-tools, netoodoo/server-tools, nguyenductamlhp/server-tools, nicolasjelincic/server-tools, nilshamerlinck/server-tools, nitesh-sharma59/odoo-profiler, niulinlnc/server-tools, njeudy/odoo-profiler, nodoo/server-tools, novacode-nl/server-tools, novawish/server-tools, ntsirintanis/server-tools, odoo247/server-tools, odooerpdevelopers/server-tools, odoogap/server-tools, odoosoft/server-tools, odoospace/server-tools, omalbastin/server-tools, omarlemorac/openerp-extra-6.1, one2pret/server-tools, onesteinbv/server-tools, onurugur/server-tools, open-net-sarl/server-tools, open-synergy/server-tools, open2bizz/server-tools, osiell/server-tools, osipaas/server-tools, p-tombez/server-tools, percypalomino/server-tools, phillipstack/server-tools, phucngta/server-tools, piensom/server-tools, popcomputadores-desenv/server-tools, praxigento/oca-server-tools, presenceverte/server-tools, programadorzurita/server-tools, pscloud/server-tools, pythoner-3k/server-tools, qtheuret/server-tools, quentinDupont/server-tools, raizs/server-tools, ranimadrid/openerp-extra-6.1, ravishekharco/server-tools, raycollazo/server-tools, rdeheele/server-tools, redcor/server-tools, rellummuller/openerp-extra-6.1, repodevs/odoo-profiler, revstech/server-tools, rezaakba123/server-tools, richar-osse/server-tools, rifki/server-tools, rm-jamotion/server-tools, robertsvx27/server-tools, rogeriofalcone/openerp-1, romendil/server-tools, ronozoro/server-tools, royalline1/server-tools, rrcfesc/server-tools, rrgaona/server-tools, rschnapka/odoo-extra, rsullivan2704/server-tools, rudisulistyo/server-tools, ruifranco/server-tools, rven/server-tools, rwfnf/server-tools, rymtec/openerp-extra-6.1, sadeqamin/server-tools, sailguest/server-tools, salahable/odoo-extra, samirdouichi/openerp-extra-6.1, sandip-mangukiya/openerp-extra-bundle, sanube/server-tools, savoirfairelinux/server-tools, sc4you/odoo-profiler, scbrianti/odoo-profiler, schout-it/server-tools, scirta/odoo-extra, sebalix/server-tools, segarra89/openerp-extra-bundle, selim-b/server-tools, sergiocorato/server-tools, sewisoft/odoo-profiler, sewisoft/server-tools, sgeerish/openerp-extra-6.1, shepilov-vladislav/server-tools, simone/server-tools, sixtofarfan/openerp-extra-bundle, skmezanul/server-tools, skukered/server-tools, skyoj/server-tools, slim1616/openerp-extra-bundle, smile-888/server-tools, smurf-U/server-tools, soeethiha/server-tools, solvosci/server-tools, spacemonkeythe/server-tools, ssaid/server-tools, steingabelgaard/server-tools, sunflowerit/server-tools, sunshineLhj/server-tools, superjiel/server-tools, suprielfath/server-tools, swbs-co/server-tools, syci/openerp-extra-6.1, sylvainvh/server-tools, sysprocesarcastro/server-tools, t-np/server-tools, tafaRU/server-tools, takinobori/oca-server-tools, tansadio/server-tools, tarteo/server-tools, tegin/server-tools, tejastank/openerp-extra-6.1, thinkwelltwd/odoo-profiler, tipiv/odoo-extra, tirma-sa/server-tools, tmasson/server-tools, tongjiou/server-tools, traviswaelbro/server-tools, trevi-software/server-tools, tschanzt/server-tools, tsengeagle/server-tools, tuanna7593/server-tools, tusharkwagh99/server-tools, ugi-pci/odoo-profiler, umair-gujjar/odoo-profiler, unitek-solusi/OCA-server-tools, valenciaricardos/server-tools, valentinthirion/server-tools, valmarnet/server-tools, vauxoo-dev/odoo-profiler, vcloud9ray/server-tools, vdedyukhin/server-tools, ventor-tech/server-tools, versada/server-tools, victoralmau/server-tools, vinaybhawsar/server-tools, vincentadriaensen/odoo-profiler, vincentcd/openerp-extra-bundle, vmelnych/server-tools, vnc-biz/openerp-extra-bundle, westlyou/server-tools, wilcobergacker/server-tools, willmakenoise/server-tools, wowerliu/server-tools, wuhuizhong/server-tools, www3838438/server-tools, xAlphaOmega/server-tools, xcgd/server-tools, xhair/server-tools, xichun/server-tools, xpansa/odoo-profiler, xtjie/server-tools, xuanmu/server-tools, xwh123807/server-tools, xwh1238070/server-tools, yalabsio/server-tools, ycp1015/server-tools, ygdmxy/server-tools, yogesh-serpentcs/server-tools, yosuaalvin/openerp-extra-6.1, ypapouin/server-tools, yuniesky1986/openerp-extra-6.1, yusnel-rojas/odoo-extra, yusniermatos/server-tools, yuzhengxing/server-tools, zambee/server-tools, zamberjo/server-tools, zarumaru/server-tools, zeroincombenze/server-tools, zhaohengzeng/server-tools, zhaohuaw/server-tools, and zhujin001032/server-tools

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="profiler"></a> <h2>Profiler</h2> <p>Integration of cProfile and PgBadger.</p> <a name="installation"></a> <h3>Installation</h3> <p>To install this module, you need the following requirements:</p> <ul class="simple"> <li>Install <a class="reference external" href="http://dalibo.github.io/pgbadger/">pgbadger</a> binary package.</li> <li>Install <a class="reference external" href="https://pypi.python.org/pypi/pstats_print2list">pstats_print2list</a> python package.</li> <li>Set <cite>PG_LOG_PATH</cite> environment variable to know location of the <cite>postgresql.log</cite> file by default is <cite>/var/lib/postgresql/9.X/main/pg_log/postgresql.log</cite></li> <li>Enable postgresql logs from postgresql's configuration file (Default location for Linux Debian is <cite>/etc/postgresql/*/main/postgresql.conf</cite>) - Add the following lines at final (A postgresql restart is required <cite>/etc/init.d/postgresql restart</cite>)</li> </ul> <pre> <code lang="text">logging_collector=on log_destination='stderr' log_directory='pg_log' log_filename='postgresql.log' log_rotation_age=0 log_checkpoints=on log_hostname=on log_line_prefix='%t [%p]: [%l-1] db=%d,user=%u '</code> </pre> <a name="configuration"></a> <h3>Configuration</h3> <dl class="docutils"> <dt>By default profiler module adds two system parameters</dt> <dd><ul class="first last simple"> <li>exclude_fnames &gt; '/.repo_requirements,~/odoo-8.0,/usr/,&gt;'</li> <li>exclude_query &gt; 'ir_translation'.</li> </ul> </dd> </dl> <p>These parameters can be configurated in order to exclude some outputs from profiling stats or pgbadger output.</p> <a name="usage"></a> <h3>Usage</h3> <p>After installation, a player is add on the header bar, with following buttons:</p> <blockquote> <ul> <li><div class="first figure"> <img alt="Player to manage profiler" src="static/description/player.png" /> </div> </li> </ul> </blockquote> <ul> <li><dl class="first docutils"> <dt>Start profiling</dt> <dd><ul class="first last"> <li><div class="first figure"> <img alt="Start profiling" src="static/description/start_profiling.png" style="height: 35px;" /> </div> </li> </ul> </dd> </dl> </li> <li><dl class="first docutils"> <dt>Stop profiling</dt> <dd><ul class="first last"> <li><div class="first figure"> <img alt="Stop profiling" src="static/description/stop_profiling.png" style="height: 35px;" /> </div> </li> </ul> </dd> </dl> </li> <li><dl class="first docutils"> <dt>Download stats: download stats file</dt> <dd><ul class="first last"> <li><div class="first figure"> <img alt="Download cprofile stats file" src="static/description/dump_stats.png" style="height: 35px;" /> </div> </li> </ul> </dd> </dl> </li> <li><dl class="first docutils"> <dt>Clear stats</dt> <dd><ul class="first last"> <li><div class="first figure"> <img alt="Clear and remove stats file" src="static/description/clear_stats.png" style="height: 35px;" /> </div> </li> </ul> </dd> </dl> </li> </ul> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li><dl class="first docutils"> <dt>Georges Racinet &lt;<a class="reference external" href="mailto:gracinet&#64;anybox.fr">gracinet&#64;anybox.fr</a>&gt;</dt> <dd><ul class="first last"> <li>Remotely inspired from ZopeProfiler, although there is no online visualisation and there may never be one.</li> </ul> </dd> </dl> </li> <li>Moisés López &lt;<a class="reference external" href="mailto:moylop260&#64;vauxoo.com">moylop260&#64;vauxoo.com</a>&gt;</li> <li>Hugo Adan &lt;<a class="reference external" href="mailto:hugo&#64;vauxoo.com">hugo&#64;vauxoo.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>