Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20199
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'debug': 0.03; 'context': 0.04; 'think,': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:log': 0.09; 'debugging': 0.13; '*any*': 0.16; 'wrote:': 0.18; 'module,': 0.23; 'code': 0.26; 'function': 0.27; 'code,': 0.28; 'fixed': 0.29; 'source': 0.32; "can't": 0.33; 'header:User-Agent:1': 0.33; 'header:X-Complaints- To:1': 0.34; 'hi,': 0.34; 'to:addr:python-list': 0.35; 'received:org': 0.36; 'issue': 0.37; 'think': 0.38; 'but,': 0.39; 'to:addr:python.org': 0.40; 'your': 0.61; 'permanently': 0.64; 'saw': 0.66; 'cause': 0.67; 'header:Reply-To:1': 0.70; 'reply- to:no real name:2**0': 0.72; 'profile': 0.73; 'reply- to:addr:gmail.com': 0.76 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Kev Dwyer <kevin.p.dwyer@gmail.com> |
| Subject | Re: log and figure out what bits are slow and optimize them. |
| Date | Fri, 10 Feb 2012 22:37:18 +0000 |
| References | <a07666f2-a18b-4bf5-bbdc-8d7f74db09be@q8g2000pbb.googlegroups.com> <mailman.5654.1328877518.27778.python-list@python.org> <b0e0058a-9322-45a2-8707-c927e14ec714@u4g2000pbg.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Gmane-NNTP-Posting-Host | cpc7-hari14-2-0-cust162.20-2.cable.virginmedia.com |
| Mail-Copies-To | kevin.p.dwyer@gmail.com |
| User-Agent | KNode/4.7.2 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | kevin.p.dwyer@gmail.com |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5685.1328913452.27778.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1328913452 news.xs4all.nl 6906 [2001:888:2000:d::a6]:41836 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:20199 |
Show key headers only | View raw
sajuptpm wrote:
> Hi,
>
> Yes i saw profile module,
> I think i have to do function call via
>
> cProfile.run('foo()')
>
> I know, we can debug this way.
>
> But, i need a fixed logging system and want to use it in production.
> I think, we can't permanently include profile's debugging code
> in source code,
> will cause any performance issue ??
*Any* instrumentation code is going to affect performance.
It's a trade-off that you need to analyse and manage in the context of your
application.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
log and figure out what bits are slow and optimize them. sajuptpm <sajuptpm@gmail.com> - 2012-02-10 04:30 -0800
Re: log and figure out what bits are slow and optimize them. Arnaud Delobelle <arnodel@gmail.com> - 2012-02-10 12:38 +0000
Re: log and figure out what bits are slow and optimize them. sajuptpm <sajuptpm@gmail.com> - 2012-02-10 04:56 -0800
Re: log and figure out what bits are slow and optimize them. Kev Dwyer <kevin.p.dwyer@gmail.com> - 2012-02-10 22:37 +0000
Re: log and figure out what bits are slow and optimize them. John Gordon <gordon@panix.com> - 2012-02-10 23:06 +0000
Re: log and figure out what bits are slow and optimize them. sajuptpm <sajuptpm@gmail.com> - 2012-02-10 23:53 -0800
Re: log and figure out what bits are slow and optimize them. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-02-10 14:25 +0000
csiph-web