Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #84549
| 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 | 2015-01-24 19:26 -0800 |
| Subject | Re: Benchmarking some modules - strange result |
| From | Dan Stromberg <drsalists@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.18127.1422156373.18130.python-list@python.org> (permalink) |
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
Re: Benchmarking some modules - strange result Dan Stromberg <drsalists@gmail.com> - 2015-01-24 19:26 -0800
csiph-web