Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95351
| Path | csiph.com!news.mixmin.net!feeder1.xsusenet.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jcasale@activenetwerx.com> |
| 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; 'prototypes': 0.07; '__all__': 0.09; 'caching,': 0.09; 'imports': 0.09; 'python': 0.10; 'ctype': 0.16; 'dll.': 0.16; 'exported': 0.16; 'received:172.18.0': 0.16; 'to:name:python-list@python.org': 0.20; 'thanks,': 0.24; 'import': 0.24; 'module': 0.25; 'used,': 0.27; 'function': 0.28; 'concern': 0.29; 'classes': 0.30; 'code': 0.30; 'class': 0.33; 'this?': 0.34; 'to:addr:python-list': 0.36; 'things': 0.38; 'times.': 0.38; 'test': 0.39; 'rather': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'consumer': 0.67; 'subject:times': 0.84 |
| X-Authority-Analysis | v=2.1 cv=JPDxyZ+b c=1 sm=1 tr=0 a=g3mLq75WYuDrh3Lt0JSDww==:117 a=g3mLq75WYuDrh3Lt0JSDww==:17 a=QC7fh9NfAAAA:8 a=5pFAO2ZBLFIA:10 a=8nJEP1OIZ-IA:10 a=uRRa74qj2VoA:10 a=O8mpZzcJvbg4G_iUvBIA:9 a=wPNLvfGTeEIA:10 |
| X-Spam-Checker-Version | SpamAssassin 3.4.0 (2014-02-07) on mail.activenetwerx.com |
| X-Spam-Level | * |
| X-Spam-Status | No, score=1.3 required=5.0 tests=RDNS_NONE autolearn=no autolearn_force=no version=3.4.0 |
| From | "Joseph L. Casale" <jcasale@activenetwerx.com> |
| To | "python-list@python.org" <python-list@python.org> |
| Subject | Module load times |
| Thread-Topic | Module load times |
| Thread-Index | AQHQ1ej8wFn1zD8Vfk6np2iCbXgpwg== |
| Date | Thu, 13 Aug 2015 16:56:24 +0000 |
| Accept-Language | en-US |
| Content-Language | en-US |
| X-MS-Has-Attach | |
| X-MS-TNEF-Correlator | |
| x-ms-exchange-transport-fromentityheader | Hosted |
| x-originating-ip | [72.29.233.193] |
| Content-Type | text/plain; charset="iso-8859-1" |
| Content-Transfer-Encoding | quoted-printable |
| MIME-Version | 1.0 |
| X-CMAE-Envelope | MS4wfJXaqefz8rKeLSWmzxbedY0gwOOLfQdyycIvrdg7EfHdD5s+eQR/BQHERLXEF0VNKc8U2tGvjaSCO8cf8p4GyKq3IGDsA8P5SRgqj2sweWRj2iJC/tI58B9d1zJi/U2WVnP+Q8QllZZ5XdPQx2v/PjeukFqH7hgNcd3+XTjTIXaKFePhOq5O+HVgaYFsXO2fqA== |
| 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.172.1439485499.3627.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1439485499 news.xs4all.nl 2876 [2001:888:2000:d::a6]:52827 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:95351 |
Show key headers only | View raw
I have an auto generated module that provides functions exported from a c dll. Its rather large and we are considering some dynamic code generation and caching, however before I embark on that I want to test import times. As the module is all auto generated through XSL, things like __all__ are not used, a consumer only imports one class which has methods for their use. It is the internal supporting classes which are large such as the ctype function prototypes and structures. My concern is simply reloading this in Python 3.3+ in a timeit loop is not accurate. What is the best way to do this? Thanks, jlc
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Module load times "Joseph L. Casale" <jcasale@activenetwerx.com> - 2015-08-13 16:56 +0000
csiph-web