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


Groups > comp.lang.python > #95134

Re: Python speed

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'friday,': 0.07; 'pypy': 0.07; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'roger': 0.09; 'url:pypy': 0.09; 'files.': 0.13; '>on': 0.16; 'americans': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'graphing': 0.16; 'libraries?': 0.16; 'loops': 0.16; 'measuring': 0.16; 'message- id:@fido.openend.se': 0.16; 'numpy': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'unhappy': 0.16; 'url:speed': 0.16; 'wrote:': 0.16; 'laura': 0.18; '2015': 0.20; 'aug': 0.20; 'header:In-Reply-To:1': 0.24; 'compare': 0.27; 'fri,': 0.27; '-0700,': 0.29; 'awake': 0.29; 'matplotlib': 0.29; 'received:se': 0.29; 'url:mailman': 0.30; 'anyone': 0.32; 'generally': 0.32; 'run': 0.33; 'url:listinfo': 0.34; 'done': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.36; 'depends': 0.36; 'faster': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'charset:us-ascii': 0.37; 'doing': 0.38; 'no,': 0.38; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'your': 0.60; 'header:Message- Id:1': 0.61; 'discuss': 0.61; 'email addr:gmail.com': 0.62; 'day,': 0.65; 'python-list': 0.66; 'august': 0.75; 'received:89': 0.80; "'it": 0.84; 'url:scipy': 0.84; 'utc-4,': 0.84; 'results,': 0.91
To python-list@python.org
From Laura Creighton <lac@openend.se>
Subject Re: Python speed
In-Reply-To Message from beliavsky--- via Python-list <python-list@python.org> of "Fri, 07 Aug 2015 09:57:26 -0700." <04b7cdd0-1eb0-4378-9d14-38e97b4456a7@googlegroups.com>
References <2261c8c6-77ba-453d-9205-0a922fa67c81@googlegroups.com><04b7cdd0-1eb0-4378-9d14-38e97b4456a7@googlegroups.com>
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <7811.1438967857.1@fido>
Content-Transfer-Encoding quoted-printable
Date Fri, 07 Aug 2015 19:17:37 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Fri, 07 Aug 2015 19:18:20 +0200 (CEST)
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.1312.1438967902.3674.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1438967902 news.xs4all.nl 2832 [2001:888:2000:d::a6]:44802
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95134

Show key headers only | View raw


In a message of Fri, 07 Aug 2015 09:57:26 -0700, beliavsky--- via Python-list w
rites:
>On Friday, August 7, 2015 at 10:08:37 AM UTC-4, roge...@gmail.com wrote:
>> Can anyone compare PyNum calculation speed to Fortran?
>> 
>> This is for a number crunching program working with large files.
>> 
>> Roger

And for speed you may be better off with PyPy than with NumPy
http://speed.pypy.org/timeline/

but, as is always the case when measuring the speed of things,
'it all depends on what you are doing'.  Do you need to link to
existing Fortran or C libraries?  If the answer is no, and you
really only are doing crunching, and your crunching is done
in loops which run for a significant amount of time -- then PyPy
is generally faster than Fortran.

If you are spending most of your time in matplotlib graphing
your results, you will  be unhappy with PyPy performance.

pypy-dev@python.org is a better place to discuss performance of
PyPy, though while http://mail.scipy.org/mailman/listinfo/numpy-discussion
is a better place to discuss numpy.

scipy.org has been down all day, alas.  But the Americans should be
awake now and dealing with it.

Laura

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


Thread

Python speed rogerh906@gmail.com - 2015-08-07 07:08 -0700
  Re: Python speed beliavsky@aol.com - 2015-08-07 09:57 -0700
    Re: Python speed Laura Creighton <lac@openend.se> - 2015-08-07 19:17 +0200
      Re: Python speed Christian Gollwitzer <auriocus@gmx.de> - 2015-08-07 23:26 +0200
        Re: Python speed Laura Creighton <lac@openend.se> - 2015-08-08 00:01 +0200
  Re: Python speed rogerh906@gmail.com - 2015-08-07 12:30 -0700
  Re: Python speed Grant Edwards <invalid@invalid.invalid> - 2015-08-07 23:57 +0000

csiph-web