Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95367
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.079 |
| X-Spam-Evidence | '*H*': 0.85; '*S*': 0.00; 'startup': 0.05; 'cc:addr :python-list': 0.09; 'interpreter': 0.15; 'variables': 0.15; 'clear.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'manifest': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'command': 0.26; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; '14,': 0.27; 'cpu': 0.29; 'starts': 0.29; 'system,': 0.30; 'that.': 0.30; 'usually': 0.33; 'received:google.com': 0.35; 'fresh': 0.35; 'nothing.': 0.35; 'but': 0.36; 'there': 0.36; 'modules': 0.36; "wasn't": 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'test': 0.39; 'side': 0.62; 'wall': 0.63; "they're": 0.66; 'million': 0.74; 'chrisa': 0.84; 'etc),': 0.84; 'plugins': 0.84; 'promptly': 0.84; 'subject:times': 0.84; 'to:none': 0.91; 'processes,': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=6eD+nJ1oGQekVOdIk/QmgTIL8NGHHzhWfEhwlx9rBOQ=; b=jWqlm9JDD+YDRPw5eljO6jOPsUCbzyWcLjdiBmruI0Z6x37VBuZ0phYq4TXgg2keNe HjCSVkNwPYXNWDnBRsvQcHN0zw91Px1mr2RVLlLv0O+mnpIzLHSOngoVv+34EPMveUyN 5Ws5+SJQHRAR/qvUTkHUfN/GtEm3yX3h5nzUA6Gp6JYsJHi+bfXCWfOa6LAdxGqJ5jQa MOYraO5mhYo/nGaRrSMAm3E8n64qak0v0/vdJgEIkMBa/ZqzK97qiAYFRNd6MA4ulQqI IbKegVTDhAO4YW0S1A5K+SAcBIZ2HKeLgoY8x80Xr9VKtsfMhVEbwD9tngZD7dEcJeOK 23ng== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.12.166 with SMTP id 38mr28495302iom.157.1439519915282; Thu, 13 Aug 2015 19:38:35 -0700 (PDT) |
| In-Reply-To | <a3f1023b4c03456b9ba1cdeafdd29f8d@exch.activenetwerx.com> |
| References | <mqiq69$n8p$1@ger.gmane.org> <mailman.177.1439500385.3627.python-list@python.org> <55cd4e0c$0$1642$c3e8da3$5496439d@news.astraweb.com> <a3f1023b4c03456b9ba1cdeafdd29f8d@exch.activenetwerx.com> |
| Date | Fri, 14 Aug 2015 12:38:35 +1000 |
| Subject | Re: Module load times |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1.1439519917.4764.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1439519917 news.xs4all.nl 2906 [2001:888:2000:d::a6]:34265 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:95367 |
Show key headers only | View raw
On Fri, Aug 14, 2015 at 12:25 PM, Joseph L. Casale <jcasale@activenetwerx.com> wrote: > Yeah that wasn't clear. The plugins are invoked in fresh interpreter processes > and hence modules with import side effects or simply large modules can > manifest over time. If they're invoked in fresh processes, then you're looking at process startup time, and I would recommend using OS-level tools to play around with that. Unix-like systems will usually have a 'time' command which will tell you exactly how much wall and CPU time a process took needed; just create a system that starts up and promptly shuts down, and then you can test iterations that way. Of course, there are a million and one variables (disk caches, other activity on the system, etc), but it's better than nothing. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Module load times "Joseph L. Casale" <jcasale@activenetwerx.com> - 2015-08-13 21:12 +0000
Re: Module load times Steven D'Aprano <steve@pearwood.info> - 2015-08-14 12:10 +1000
RE: Module load times "Joseph L. Casale" <jcasale@activenetwerx.com> - 2015-08-14 02:25 +0000
Re: Module load times Chris Angelico <rosuav@gmail.com> - 2015-08-14 12:38 +1000
csiph-web