Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #84549

Re: Benchmarking some modules - strange result

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <drsalists@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'interpreter': 0.05; 'interpreter.': 0.07; 'dan': 0.09; 'imported': 0.09; 'subject:modules': 0.09; 'yeah,': 0.09; 'cc:addr:python-list': 0.11; 'jan': 0.12; '24,': 0.16; 'cc:name:python list': 0.16; 'exiting': 0.16; 'guessing': 0.16; 'problem!': 0.16; 'simplicity,': 0.16; 'stuff.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'module': 0.19; '>>>': 0.22; 'import': 0.22; 'tests': 0.22; 'cc:addr:python.org': 0.22; 'script.': 0.24; "haven't": 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'that.': 0.31; 'too.': 0.31; '25,': 0.31; '>>>>': 0.31; 'staying': 0.31; 'subject:some': 0.31; 'probably': 0.32; 'covered': 0.32; 'stuff': 0.32; 'running': 0.33; 'beginning': 0.33; 'could': 0.34; 'created': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'next': 0.36; 'thanks': 0.36; 'should': 0.36; 'performance': 0.37; 'pm,': 0.38; 'sure': 0.39; 'easy': 0.60; 'affect': 0.61; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'within': 0.65; 'helping': 0.70; '2015': 0.84
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:to :cc:content-type; bh=0n4Vdiw4Co76pbTa8o3Gpx7aJoH7B6BAyaIEnOb8QZU=; b=fgwcTmV/s8VTZfRzM3vFCrGg96yUBPZh3dv6WqC/+GMZx8HgvwfqUgnKPatYFlskQR F0aDAop9UNHgwQdr4n7/rONKsrTH4fKL9A1SUX/SiIYialmAX4ZHpISTGohq7cBOzylN ZmUDH6lnLvEUEMJL5RFMI6acTUY9CWpM1uaUqPoWU4uD5N+kPpU1SAC0ajrzoYwlbgdP RZskrRPA4FD7LTACRwglWOAT8NigZBcKgKRzO7BXRYH0NEH1JQzi/OvsHsrGi2qAF51O GdrNz3YehmNgwHNYFYJYQzLsOeYNIAkwY7paYflwQKHWLVN8Ix5xseCSQjOPF7DNfh8T 2W7g==
MIME-Version 1.0
X-Received by 10.152.206.41 with SMTP id ll9mr14982130lac.62.1422156365146; Sat, 24 Jan 2015 19:26:05 -0800 (PST)
In-Reply-To <CAPTjJmpokq3EoAOMSKLAz7gp1kXPMon6_+TzhqetT4FoyhOGZQ@mail.gmail.com>
References <CAGGBd_rSazrC4yAt+CebeuvCJYjZWOXohoZHgTUtfGNZZtr5Ww@mail.gmail.com> <CAPTjJmr+9heLd44Ly=5oKrMcGBdBhWuDxmi_n1+izg=TxTB=sg@mail.gmail.com> <CAGGBd_q33YGH9ZwOv4oTE6LERxbf55HyOM07TpWznjMumz1yKw@mail.gmail.com> <CAPTjJmpokq3EoAOMSKLAz7gp1kXPMon6_+TzhqetT4FoyhOGZQ@mail.gmail.com>
Date Sat, 24 Jan 2015 19:26:05 -0800
Subject Re: Benchmarking some modules - strange result
From Dan Stromberg <drsalists@gmail.com>
To Chris Angelico <rosuav@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc Python List <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.18127.1422156373.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1422156373 news.xs4all.nl 2865 [2001:888:2000:d::a6]:57135
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:84549

Show key headers only | View raw


On Sat, Jan 24, 2015 at 6:37 PM, Chris Angelico <rosuav@gmail.com> wrote:
> On Sun, Jan 25, 2015 at 1:36 PM, Dan Stromberg <drsalists@gmail.com> wrote:
>> On Sat, Jan 24, 2015 at 6:24 PM, Chris Angelico <rosuav@gmail.com> wrote:
>>> On Sun, Jan 25, 2015 at 1:11 PM, Dan Stromberg <drsalists@gmail.com> wrote:
>>>> For simplicity, let's say I've been running the suite of performance
>>>> tests within a single interpreter - so I test one module thoroughly,
>>>> then move on to the next without exiting the interpreter.
>>>> [chomp more details]
>>>
>>> Do the modules import stuff that's staying imported? That could
>>> majorly affect performance. What about .pyc files?
>>
>> The modules are all imported up at the top of the script.  I haven't
>> verified this, but I'm guessing the .pyc's are created at the
>> beginning too.
>
> Yeah, so it's probably not that. I should have known you'd have
> covered the easy possibilities already :)

No problem!  Thanks for helping me make sure I covered the easy stuff.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Benchmarking some modules - strange result Dan Stromberg <drsalists@gmail.com> - 2015-01-24 19:26 -0800

csiph-web